Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

ABC-79: populate channel autocomplete results with local data immediately #639

Merged
merged 2 commits into from
Jan 24, 2018

Conversation

ccbrown
Copy link
Contributor

@ccbrown ccbrown commented Jan 22, 2018

Summary

This populates channel autocomplete results with local data immediately. When more channels are returned from the server, they will be added to the results. In addition to improving usability on large servers, this ensures that joined channels are always shown in the autocomplete results.

Discussion: https://pre-release.mattermost.com/core/pl/3nzompitxpfi8do54r1xtb7ooa

Ticket Link

https://mattermost.atlassian.net/browse/ABC-79

Checklist

  • Ran make check-style to check for style errors (required for all pull requests)

@ccbrown ccbrown added 1: PM Review Requires review by a product manager 2: Dev Review Requires review by a core commiter labels Jan 22, 2018
@jasonblais jasonblais self-assigned this Jan 22, 2018
@jasonblais jasonblais added the Setup Old Test Server Triggers the creation of a test server label Jan 22, 2018
@jasonblais
Copy link
Contributor

@ccbrown

  1. Is there a way to add a loading indicator of some kind when server-side results are retrieved?
    image
    image

Perhaps something similar to the channel switcher
image

  1. From usability point of view, I worry the autocomplete feels very "jumpy". Once client-side results are loaded and you've focused on a channel you want to select, the autocomplete suddenly changes after server-side results are in.

I'll think about this more and perhaps bring up in UX channel, but I'm a little worried about that.

@ccbrown
Copy link
Contributor Author

ccbrown commented Jan 22, 2018

@jasonblais

  1. Sure.
  2. If the focus is actually changing, I’d say that’s simply a bug. I didn’t notice anything like that, but I can look into it more if needed I guess.

@jwilander jwilander removed the 2: Dev Review Requires review by a core commiter label Jan 22, 2018
@ccbrown
Copy link
Contributor Author

ccbrown commented Jan 22, 2018

@jasonblais Added the loading indicator. I'd say that's definitely an improvement. Still not sure about the jumpiness though. Seems fine to me and I confirmed that focus is preserved when server-provided results are added.

@mattermost mattermost deleted a comment from mattermod Jan 23, 2018
@mattermost mattermost deleted a comment from mattermod Jan 23, 2018
@jasonblais jasonblais added Setup Old Test Server Triggers the creation of a test server and removed Setup Old Test Server Triggers the creation of a test server labels Jan 23, 2018
@jasonblais
Copy link
Contributor

Functionally it works. Posted in the UX design channel and asked people to test + share feedback about the jumpiness https://pre-release.mattermost.com/core/pl/3jzb3ccs4f81xfdyraurodbz7r

@jasonblais
Copy link
Contributor

@ccbrown Got initial approval for UX, just getting Shift's feedback as well.

Copy link
Contributor

@jasonblais jasonblais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shift gave a +1 too.

@jasonblais jasonblais removed their assignment Jan 24, 2018
@jasonblais jasonblais added 4: Reviews Complete All reviewers have approved the pull request and removed 1: PM Review Requires review by a product manager Setup Old Test Server Triggers the creation of a test server labels Jan 24, 2018
@mattermost mattermost deleted a comment from mattermod Jan 24, 2018
@mattermost mattermost deleted a comment from mattermod Jan 24, 2018
@mattermost mattermost deleted a comment from mattermod Jan 24, 2018
@jasonblais
Copy link
Contributor

@ccbrown Just needs a rebase and this is good to merge.

@ccbrown ccbrown merged commit 47597e5 into mattermost:master Jan 24, 2018
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Feb 2, 2018
@lindalumitchell lindalumitchell added the Tests/Not Needed Does not require new release tests label Feb 2, 2018
hmhealey pushed a commit that referenced this pull request Aug 28, 2020
* Fix package.json problems

- remove whitespace from license field
- correctly link to the github repo

* Add link to issue tracker
hmhealey pushed a commit that referenced this pull request Mar 17, 2021
* Fix package.json problems

- remove whitespace from license field
- correctly link to the github repo

* Add link to issue tracker
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation Tests/Not Needed Does not require new release tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants