summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_header.jsx
Commit message (Collapse)AuthorAgeFilesLines
* fix "@" mention doesn't open recent mentions search results if RHS is closed ↵Saturnino Abril2017-07-081-1/+4
| | | | (#6872)
* PLT-6905 - Updating channel header design (#6789)Asaad Mahmood2017-07-061-72/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [PLT-6838] Restrict channel delete option per permission policy even for ↵Saturnino Abril2017-07-051-5/+1
| | | | | | | | | | last channel member (#6706) * channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page * apply to public channel only and add restriction to API layer * updated channel deletion
* PLT-6759 Show deactivated users in GMs (#6703)Joram Wilander2017-06-221-2/+2
| | | | | | * Show deactivated users in GMs * Fix runtime error when DMing deactivated user
* PLT-4257 Add pop-up asking if user wants to reset status (#6526)Joram Wilander2017-06-061-1/+1
| | | | | | | | | | | | * Add pop-up asking if user wants to reset status * Update test snapshot * Update prop name for old uses of confirm modal * Updating checkbox (#6586) * Updating style for checkbox (#6596)
* Update channel_header.jsx (#6470)doh52017-05-241-15/+15
|
* Updating client dependencies. Switching to yarn. (#6433)Christopher Speller2017-05-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Updating client dependancies. Switching to using yarn. * Updating React * Moving pure components to using function syntax (performance gains with newer react version) * Updating client dependancies. * Ignore .yarninstall * Enabling pre-lockfile because it's the entire point of using yarn. * Removing old webpack config * Moving to new prop-types * Fixing ESLint Errors * Updating jest snapshots. * Cleaning up package.json
* Add confirm dialog before leaving private channel (#6206)Ryan Wang2017-04-251-2/+63
|
* Start moving webapp to Redux (#6140)Joram Wilander2017-04-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add modified view members modal to Town Square (#5695)Ryan Wang2017-04-201-1/+22
|
* 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-6139 (WebApp): Manage Private Channel Members (#5947)George Goldberg2017-04-041-35/+57
| | | | Honour the policy setting for add/remove members from private channels in the WebApp UI.
* PLT-5873 Renamed private groups to private channels (#5924)Harrison Healey2017-04-031-35/+5
| | | | | | * PLT-5873 Renamed private groups to private channels in web app * PLT-5873 Renamed private groups to private channels in server
* PLT-5910: Fix Channel header menu in Town Square. (#5831)George Goldberg2017-03-241-21/+21
|
* Add IDs to Team Settings, Channel Settings, Account Settings (Display & ↵Eric Sethna2017-03-211-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Advanced) (#5823) * Add IDs to Channel Notification Preferences * Add IDs to Display Settings * Add ID to language dropdown * Add Ids * Add ids * Add Ids * Add Ids * Add Ids * Add Id * Add Ids * Add Ids * Fix duplicate Id
* Ui improvements (#5755)Asaad Mahmood2017-03-171-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-5816 - Flagged posts tooltip fix * PLT-5766 - Link previews appearing outside the box * PLT-5795 - Fixing alignment user list in channel * PLT-5818 - Reset password error not aligned * PLT-5837 - Adjusting image preview max height * PLT-5778 - Updating word break for paragraphs * PLT-5848 - Updating label for file error * PLT-5846 - Markdown tables extra border on mobile * PLT-5662 - Pinned post UI improvement * Fixing eslint error * Updating tooltip eslint issue * PLT-5832 - Removing error styling on labels
* Update eslint (#5752)Christopher Speller2017-03-131-4/+4
| | | | | | * Updating eslint * Updating eslint-plugin-react
* Add pinned posts (#4217)Gabin Aureche2017-03-131-2/+25
|
* Mobile Web: Auto-focus cursor in the search box (#5284)Saturnino Abril2017-03-031-1/+6
| | | | | | | | | | | | | | * Mobile Web: Auto-focus cursor in the search box and open keyboard when the search icon is tapped * fixed issue with safari mobile view * added isFocus props to search_bar.jsx component * used 'x' and fixed spacing * changed 'x' icon and fixed css * added aria-hidden='true'
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-2/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Update channel notifications default properly when changing account settings ↵Joram Wilander2017-02-281-0/+2
| | | | (#5559)
* PLT-5080 (WebApp): Channel Admin permission level. (#5047)George Goldberg2017-02-231-2/+3
| | | | | | | | | | * PLT-5080 (WebApp): Channel Admin permission level. For channel management and channel deletion. * Fix some incorrect showing/hiding of options. * Remove incorrect client calls that was overwriting my channel members.
* Add webapp/utils/url.jsx (#5285)Akihiko Odaki2017-02-071-1/+2
| | | | | | | webapp/utils/utils.jsx got big and that caused a potential circular dependency with webapp/stores/team_store.jsx. This change solves the issue by introducing webapp/utils/url.jsx and moving URL-related functions, which is not likely to depend on actions and stores, from webapp/utils/utils.jsx.
* Update chanel_header.addMembers --> channel_header.addMembers (#5144)Jason Blais2017-01-201-1/+1
| | | | | | * Update channel_header.jsx * Update en.json
* Move instances of Client.leaveChannel() in components to an action (#5131)Carlos Tadeu Panato Junior2017-01-201-18/+1
| | | | | | * Move instances of Client.leaveChannel() in components to an action * create isFavoriteChannelId
* Remove TODO (#4965)Christopher Speller2017-01-041-5/+0
|
* PLT-4990 (WebApp): Separate channel management permissions. (#4865)George Goldberg2017-01-021-25/+3
|
* PLT-3782 Do not move the "@" sign and flag icon to the left of search bar ↵khawerrind2016-12-221-4/+4
| | | | | | | | | | | | | | when opening the right hand sidebar (#4850) * do not move the mention & flag button to the left of the search box when in search mode * fixed the margin & padding issues of the search box * fixed the member icon positioning issue and the expanded sidebar toggle issue * fixed remaining bugs when sidebar is in expanded mode * changed propTypes from func to bool
* Prevent accidental removal of user from town square (#4842)Joram Wilander2016-12-201-1/+1
|
* Allow any user in a channel to remove other users (#4806)Joram Wilander2016-12-151-37/+16
|
* Fix some react natives warning messages (#4653)enahum2016-11-281-3/+12
|
* Merge branch 'release-3.5'Christopher Speller2016-11-241-5/+13
|\
| * Fixed error being thrown by ChannelHeader when switching teams (#4619)Harrison Healey2016-11-211-1/+1
| | | | | | | | | | | | * Fixed error being thrown by ChannelHeader when switching teams * Close SidebarHeaderDropdown after switching teams
| * Hotfix: PLT-4779 Fixing scrolling on loading a channel and missing DM ↵Harrison Healey2016-11-211-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | channel headers (#4584) * Added all parameters to call tracker ids when getting profiles * Changed channel header rendering to not depend on knowing all users in a DM channel * Added comment about a race condition in UserActions.populateDMChannelsWithProfiles * Added a fixed-height placeholder for the ChannelHeader when its state isn't valid for rendering
* | Updating eslint (#4573)Christopher Speller2016-11-171-4/+4
| |
* | PLT-4316 - Webrtc improvements (#4525)Asaad Mahmood2016-11-111-20/+21
|/
* PLT-4550 move webrtc to TE (#4440)enahum2016-11-041-2/+1
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* PLT-4507 Don't mount modals until opened to make resetting state automatic ↵Joram Wilander2016-11-041-11/+25
| | | | | | | | (#4358) * Don't mount modals until opened to make resetting state automatic * Move dimiss handler to be fired after modal exit animation complete
* Minor UI improvements (#4431)Asaad Mahmood2016-11-021-24/+36
|
* Avoiding javascript error when webrtc is enabled. (#4425)Christopher Speller2016-11-021-0/+1
|
* Plt-4483 Removed unnecessary events from ChannelStore (#4407)Harrison Healey2016-11-011-7/+1
| | | | | | * PLT-4483 Removed MoreChange listener from ChannelStore * PLT-4483 Removed LeaveChannel listener from ChannelStore
* GH-4095 Favorite/Starred Channels (#4222)Alexander Smaga2016-10-261-7/+56
|
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-20/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix shortcut for selecting text with CMD/CTRL + SHIFT (#4213)Joram Wilander2016-10-131-1/+1
|
* First commit for toggling mentions using shortcut and button (#4169)Pepijn2016-10-111-29/+23
| | | | | Also did some refactoring and moved code to actions Fixed coding style errors
* Updating ESLint (#4085)Christopher Speller2016-09-231-1/+1
|
* Webrtc client side (#4026)enahum2016-09-161-4/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WebRTC Server side * WebRTC client side * Bug fixes and improvements * Pushing UI improvements for webrtc (#3728) * Pushing UI improvements for webrtc * Updating webrtc css * PLT-3943 WebRTC P1: bug fixes and improvements * Video resolution set to std, reduce volume of ringtone and flip video horizontally * Fix calling a user B while WebRTC RHS is still opened * Leave RHS opened when call ends, Fix isBusy on popover and channel_header * Fix pre-release feature, RHS & System Console * PLT-3945 - Updating UI for webrtc (#3908) * PLT-3943 Webrtc p1 * Add ongoing call indicator when RHS is opened * UI updates to to webrtc notifcation (#3959)
* Allowed post formatting to be disabled regardless of whether EnableDeveloper ↵Harrison Healey2016-09-061-4/+11
| | | | is set (#3975)
* Add statuses to profiles pictures and remove from header in DMs (#3940)Joram Wilander2016-09-061-20/+1
|
* PLT-1752/PLT-3567/PLT-3998 Highlighting links in search, unit tests for ↵Harrison Healey2016-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | autolinking (#3865) * Added highlighting to links when their URL includes the search term * Decoupling UserStore from react-router to allow for unit tests involving it * PLT-3998 Added SiteURL as an option to be passed into the text formatting code * Removed reference to PreferenceStore and window from TextFormatting * Refactored TextFormatting to remove remaining browser-only code * Updated ChannelHeader and MessageWrapper to match the changes to TextFormatting * Increased max listeners for Preference and Emoji stores * PLT-3832 Added automated unit tests for autolinking * PLT-3567 Rerender posts when mention keywords change * Updated RHS and search to match the changes to TextFormatting * Broke TextFormatting's dependency on the UserStore