summaryrefslogtreecommitdiffstats
path: root/webapp/components/sidebar.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Minor fixes based on lgtm.com alerts (#6819)Alex Ford2017-07-071-4/+2
| | | | | | | | | | * Remove a couple of superfluous trailing arguments * Simplify assignment logic in a couple of places * Modify some potentially inconsistent setState calls to use the function form * Fix eslint errors
* PLT-6905 - Updating channel header design (#6789)Asaad Mahmood2017-07-061-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6905 - Updating channel header design * Updating border-radius * Updating radius for wide icons * Updating trigger for overlay * Updating UI for channel header * Updating channel header sizing * Updating channel header css * Updating sidebar css * Updating status icons * Adjusting border * Updating comment * Removing type from status icon * Fixing UI issues for the channel header/sidebar * make "Add a channel description" open the channel header modal * Updating status and opacity * Updating stauts icon positioning * Updating description and heading size * Updating UI changes * Updating UI changes * add a focused class to the parent div .search__form and then remove when hover away * Fix active state for pinned posts icon * Updating UI changes * Update channel header text
* Fix sidebar status not updating (#6752)Joram Wilander2017-06-291-2/+5
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-8/+6
|
* fix CTRL+SHIFT+K to toggle open or close when pressed (#6701)Saturnino Abril2017-06-221-1/+5
|
* Allow closing of favorited GMs (#6700)Joram Wilander2017-06-221-1/+1
|
* add more Ids for UI automation (#6673)Saturnino Abril2017-06-201-0/+3
|
* Channel switcher UI improvements (#6564)Asaad Mahmood2017-06-061-10/+17
| | | | | | | | | | | | * Channel switcher UI improvements * Reverting mattermost theme * Fixing spacing above the button * Updating switcher button * PLT-6691 - Fixing tablet header
* PLT-6705 Show partially hidden channels as 'Unread above/below' (#6580)Harrison Healey2017-06-061-2/+5
|
* Fix default text for channel switcher (#6581)Joram Wilander2017-06-061-1/+3
|
* [PLT-6697] Added CTRL/CMD+SHIFT+K shortcut to open 'more direct messages' ↵Saturnino Abril2017-06-051-4/+9
| | | | | | | | | | dialog (#6534) * add keypress shortcut to open 'more direct messages' dialog * removed duplicate e.preventDefault() * add text description to /shortcuts output
* Prevent re-rendering of sidebar when typing into channel switcher (#6547)Joram Wilander2017-06-011-4/+4
|
* PLT-5699 Improvements to channel switcher (#6486)Joram Wilander2017-05-311-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor channel switcher to not wait on server results * Change channel switcher to quick switcher and include team switching * Add sections, update ordering and add discoverability button * Fix styling error * Use CMD in text if on mac * Clean yarn cache on every install * Various UX updates per feedback * Add shortcut help text for team switcher * Couple more updates per feedback * Some minor fixes for GM and autocomplete race * Updating UI for channel switcher (#6504) * Updating channel switcher button (#6506) * Updating switcher modal on mobile (#6507) * Removed jQuery usage * Rename function to toggleQuickSwitchModal
* PLT-6651 - Overlay issue modal (#6473)Asaad Mahmood2017-05-221-1/+1
| | | | | | * PLT-6651 - Overlay issue modal * Fixing mentions badge
* PLT-6614 - Mentions badge styling and dropdown icon style (#6426)Asaad Mahmood2017-05-181-1/+1
| | | | | | * Mentions badge styling and dropdown icon style * PLT-6134 - Fixing emoji picker border in RHS
* Add an ID to the sidebar channel more (#6399)doh52017-05-151-0/+1
| | | | | | | | * Add an ID to the sidebar channel more For UI Automation * Add an ID to the Create New Channel button
* Fix DM getting marked unread from your own message (#6373)Joram Wilander2017-05-101-22/+2
|
* Fix usernames not showing in DM list on first load (#6333)Joram Wilander2017-05-041-3/+8
|
* Fix DMs not being removed until re-render (#6305)Joram Wilander2017-05-031-1/+6
|
* Minor Ui bug fixes (#6295)Asaad Mahmood2017-05-031-0/+2
| | | | | | * PLT-6435 - Adjusting tooltip for add-channel-btn * PLT-6404 - Fixing emoji reaction button on hover
* Improve perf for channel switching, fix team switching issues (#6286)Joram Wilander2017-05-021-3/+8
| | | | | | * Improve perf for channel switching, fix team switching issues * Fix last channel when switching teams
* PLT-6214 Move channel store and actions over to redux (#6235)Joram Wilander2017-04-281-1/+1
| | | | | | | | | | | | | | * Move channel store and actions over to redux * Fix style errors * Fix unit test * Various fixes * More fixes * Revert config changes
* Start moving webapp to Redux (#6140)Joram Wilander2017-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start moving webapp to Redux * Fix localforage import * Updates per feedback * Feedback udpates and a few fixes * Minor updates * Fix statuses, config not loading properly, getMe sanitizing too much * Fix preferences * Fix user autocomplete * Fix sessions and audits * Fix error handling for all redux actions * Use new directory structure for components and containers * Refresh immediately on logout instead of after timeout * Add fetch polyfill
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-5873 Renamed private groups to private channels (#5924)Harrison Healey2017-04-031-5/+5
| | | | | | * PLT-5873 Renamed private groups to private channels in web app * PLT-5873 Renamed private groups to private channels in server
* PLT-2713/PLT-6028 Added System Users list to System Console (#5882)Harrison Healey2017-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-2713 Added ability for admins to list users not in any team * Updated style of unit test * Split SearchableUserList to give better control over its properties * Added users without any teams to the user store * Added ManageUsers page * Renamed ManageUsers to SystemUsers * Added ability to search by user id in SystemUsers page * Added SystemUsersDropdown * Removed unnecessary injectIntl * Created TeamUtils * Reduced scope of system console heading CSS * Added team filter to TeamAnalytics page * Updated admin console sidebar * Removed unnecessary TODO * Removed unused reference to deleted modal * Fixed system console sidebar not scrolling on first load * Fixed TeamAnalytics page not rendering on first load * Fixed chart.js throwing an error when switching between teams * Changed TeamAnalytics header to show the team's display name * Fixed appearance of TeamAnalytics and SystemUsers on small screen widths * Fixed placement of 'No users found' message * Fixed teams not appearing in SystemUsers on first load * Updated user count text for SystemUsers * Changed search by id fallback to trigger less often * Fixed SystemUsers list items not updating when searching * Fixed localization strings for SystemUsers page
* Remove user from list when selected in DM modal (#5884)Joram Wilander2017-03-291-1/+4
|
* Sort favorite channels alphabetically regardless of type (#5739)Ryan Wang2017-03-161-6/+8
|
* Fix channel switching ALT + UP/DOWN shortcut (#5660)Joram Wilander2017-03-061-1/+1
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-31/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement server changes for group messaging * Majority of client-side implementation * Some server updates * Added new React multiselect component * Fix style issues * Add custom renderer for options * Fix model test * Update ENTER functionality for multiselect control * Remove buttons from multiselect UI control * Updating group messaging UI (#5524) * Move filter controls up a component level * Scroll with arrow keys * Updating mobile layout for multiselect (#5534) * Fix race condition when backspacing quickly * Hidden or new GMs show up for regular messages * Add overriding of number remaining text * Add UI filtering for team if config setting set * Add icon to channel switcher and class prop to status icon * Minor updates per feedback * Improving group messaging UI (#5563) * UX changes per feedback * Update email for group messages * UI fixes for group messaging (#5587) * Fix missing localization string * Add maximum users message when adding members to GM * Fix input clearing on Android * Updating group messaging UI (#5603) * Updating UI for group messaging (#5604)
* PLT-5140: Display loading screen when switching team (#5475)Mika Andrianarijaona2017-02-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: clear channel list on team change * fix committed config * fix: no need to use anothe var * fix: better channel list clearing * remove unused function * fix: display loading screen when switching team * fix: display loading screen when switching team * fix: clear channel list on team change * fix committed config * fix: no need to use anothe var * fix: better channel list clearing * remove unused function * remove duplicate EnableUserTypingMessages
* PLT-5071: Client side component of Telemetry. (#5516)George Goldberg2017-02-241-0/+9
|
* fix cloning channels (#5242)Evgeniy2017-01-311-1/+3
| | | | | | * fix cloning channels * fix code-style
* PLT-5122 - Switching to circular status icons (#5049)Asaad Mahmood2017-01-301-1/+5
| | | | | | | | | | * PLT-5122 - Switching to circular status icons * Adding profile pic crop for status indicators * Updating status indicators in LHS * Updating else statements
* PLT-4990 (WebApp): Separate channel management permissions. (#4865)George Goldberg2017-01-021-11/+5
|
* GH-4558 Mobile View: Don't close the Left Hand Sidebar after removing an ↵Nick Frazier2016-12-191-3/+9
| | | | | | | | | | open Direct Message Channel (#4776) * added fix * use class var instead of state var * removed onUpdate
* PLT-4167 Team Sidebar (#4569)enahum2016-12-191-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-4167 Team Sidebar * Address feedback from PM * change route from my_members to members * bug fixes * Updating styles for teams sidebar (#4681) * Added PM changes * Fix corner cases * Addressing feedback * use two different endpoints * Bug fixes * Rename model and client functions, using preferences to store last team and channel viewed * Fix mobile notification count and closing the team sidebar * unit test, fixed bad merge and retrieve from cached when available * bug fixes * use id for last channel in preferences, query optimization * Updating multi team css (#4830)
* PLT-4815 Refactor 'More Channels' modal into the new modal pattern (#4742)Joram Wilander2016-12-151-9/+23
| | | | | | | | * Refactor 'More Channels' modal into the new modal pattern * Fix unit test * Readded CSS changes
* PLT-4783 Fix autofocus for "Add/Manage Members" and "More public channels" ↵Nick Frazier2016-12-091-0/+6
| | | | | | | | | | | | | | | | | | | | modals (#4610) * test fix * additional test fix * removed commented line * test fix additional test fix removed commented line fixed sidebar, rolled back web_client fix * fix for more_channels input focus bug
* Add Team Description to the Team Settings (#4652)Carlos Tadeu Panato Junior2016-12-011-0/+1
| | | | | | | | | | | | | | * draft * Add Team Description to the Team Settings * add tooltips for team description * made changes per PM review * add message when there is no description set in the team * squash
* Fixing loading of team members for dm list (#4477)Christopher Speller2016-11-081-4/+0
|
* Adding favourite channels to ALT and ALT-SHIFT UP DOWN shortcuts (#4450)Christopher Speller2016-11-041-1/+1
|
* PLT-4507 Don't mount modals until opened to make resetting state automatic ↵Joram Wilander2016-11-041-4/+11
| | | | | | | | (#4358) * Don't mount modals until opened to make resetting state automatic * Move dimiss handler to be fired after modal exit animation complete
* Fix members being loaded before channel members and DM headers (#4369)Joram Wilander2016-10-281-0/+1
|
* GH-4095 Favorite/Starred Channels (#4222)Alexander Smaga2016-10-261-67/+30
|
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* PLT-4234 Sorted channels in LHS numerically, alphabetically, and based on ↵David Lu2016-10-041-2/+5
| | | | | | | | locale (#4110) * Sorted channels in LHS numerically, alphabetically, and based on locale * Choose case based on locale
* Updating ESLint (#4085)Christopher Speller2016-09-231-2/+2
|
* Fixed ALT+SHIFT+UP breaking ALT+UP (#4042)David Lu2016-09-211-1/+1
|
* Fixed number in title not appearing for direct messages (#3875)Harrison Healey2016-08-241-5/+4
|