Commit Graph

56 Commits

Author SHA1 Message Date
Asaad Mahmood
1eed253fc2 Channel switcher UI improvements (#6564)
* Channel switcher UI improvements

* Reverting mattermost theme

* Fixing spacing above the button

* Updating switcher button

* PLT-6691 - Fixing tablet header
2017-06-06 17:24:23 -04:00
Asaad Mahmood
2f88bcb223 Multiple Ui improvements (#6553)
* PLT-6729 - Fixing close button

* PLT-5216 - Updating mattermost theme

* PLT-6679 - Fixing styling for active state
2017-06-02 08:46:54 -07:00
Joram Wilander
5aaedb9663 PLT-5699 Improvements to channel switcher (#6486)
* 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
2017-05-31 16:51:42 -04:00
Asaad Mahmood
52f73c30ca PLT-6651 - Overlay issue modal (#6473)
* PLT-6651 - Overlay issue modal

* Fixing mentions badge
2017-05-22 11:17:29 -07:00
Asaad Mahmood
c998fd4f52 Bug fixes (#6439)
* PLT-5863 - Fixing overflow in modals

* PLT-6545 - Fix for Code block tag on mobile

* PLT-6549 - Fixing integrations UI

* PLT-6506 - Large embedded images producting scroll
2017-05-19 09:34:27 -04:00
Asaad Mahmood
5ab7726c1e Multiple Ui fixes (#6272)
* PLT-6453 - Improving headings in the web app

* PLT-6414 - Fixing view members modal issue

* PLT-5863 - Fixing alignment in new channel menu

* PLT-6391 - Fixing code block overlay
2017-05-01 00:18:21 -04:00
Harrison Healey
689cac535e PLT-2713/PLT-6028 Added System Users list to System Console (#5882)
* 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
2017-03-30 09:46:47 -07:00
George Goldberg
7f266c1951 Merge branch 'release-3.7' into master. 2017-03-17 16:29:26 +00:00
Asaad Mahmood
bfae88e60c Ui improvements (#5755)
* 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
2017-03-17 08:19:54 -04:00
Asaad Mahmood
f3a266ee5d Ui improvements and bug fixes (#5677)
* PLT-5565 - Fixing theme colors not updating

* PLT-4721 - Removing status ind for system messages

* PLT-5735 - Fixing ellipsis in firefox

* PLT-5010 - Removing extra space in channel modal

* PLT-5584 - Inline image overrning edit textarea

* PLT-5475  - Fixing tutorials on mobile

* PLT-5142 - Disabling poitner events for status

* PLT-5728 - Fixing emoji highlight on hover
2017-03-08 09:13:50 +00:00
Joram Wilander
3a91d4e5e4 PLT-3077 Add group messaging (#5489)
* 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)
2017-03-02 17:48:56 -05:00
Asaad Mahmood
83ead5cac7 PLT-5122 - Switching to circular status icons (#5049)
* PLT-5122 - Switching to circular status icons

* Adding profile pic crop for status indicators

* Updating status indicators in LHS

* Updating else statements
2017-01-30 09:38:06 -05:00
Asaad Mahmood
056be669fc PLT-5191 - Filter box overlapping fix for IE (#5034)
* PLT-5191 - Filter box overlapping fix for IE

* Updating flex value for direct divs
2017-01-10 11:36:43 -05:00
Asaad Mahmood
93a526f7ed PLT-5179 - Fixing modal overflow for autocomplete (#5002)
* PLT-5179 - Fixing modal overflow for autocomplete

* PLT-5171 - Fixing search bar popover behaviour
2017-01-09 09:32:27 -05:00
Asaad Mahmood
28d07758fc Bug fixes for search and direct messages (#4986)
* PLT-5145 - Fixing search popover on mobile

* PLT-5093 - Fixing direct messages list height
2017-01-06 09:04:11 -05:00
Joram Wilander
eae6b13fca Revert "Ui fixes" (#4963) 2017-01-04 14:12:35 -05:00
Harrison Healey
b3f2ab654e Made Edit Post Modal autocomplete always attach to the bottom of the textarea (#4956) 2017-01-04 14:11:37 -05:00
Asaad Mahmood
7a14a05a9c Ui fixes (#4917)
* PLT-5089 - Updating modal buttons

* PLT-5090 - Full name and position overflow

* PLT-5093 - Updating modal lists
2016-12-30 13:40:55 -03:00
Nick Frazier
26e43c671c PLT-4943: Warn when editing a message > 4000 chars (#4789)
* added basic functionality

* css fixes

* css fixes part II: electric boogaloo

* removed css interference with theme changes, for this and post length error
2016-12-21 11:37:07 -03:00
Joram Wilander
7f48a7fc9d PLT-4815 Refactor 'More Channels' modal into the new modal pattern (#4742)
* Refactor 'More Channels' modal into the new modal pattern

* Fix unit test

* Readded CSS changes
2016-12-15 13:40:46 -03:00
Asaad Mahmood
7d68434e8c Multiple UI fixes and improvements (#4572)
Reverting switch teams code

Fixing change css function
2016-11-17 12:27:39 -08:00
Asaad Mahmood
29efeff095 PLT-4609 - Fixing list modals on mobile (#4536)
* PLT-4609 - Fixing list modals on mobile

* PLT-4609 - Adjust more modal height
2016-11-11 14:54:53 -05:00
Harrison Healey
e63e80dee0 PLT-4404/PLT-4578/PLT-4541/PLT-4542 Replaced third party autosizing textarea with a custom one (#4442)
* PLT-4578 Replaced third party autosizing textarea with a custom one

* Fix Textbox.handleHeightChange not being called

* Removed unused CSS

* PLT-4541 Force EditPostModal to resize upon opening

* Removed usage of jquery from AutosizeTextarea

* Reverted changes made for PLT-4580 as they're no longer needed
2016-11-04 12:35:38 -04:00
Asaad Mahmood
cd687aa3df Minor UI improvements (#4431) 2016-11-02 14:33:39 -07:00
Asaad Mahmood
b8fcc0a5c4 Multiple UI Improvements (#4420) 2016-11-02 07:50:50 -07:00
Asaad Mahmood
fcf7d185f6 Minor UI fixes (#4372) 2016-10-28 09:41:05 -07:00
Asaad Mahmood
c5a0ac8c6a Shift UI changes (#4353)
* Shift UI changes

* Reverting config.json
2016-10-27 16:49:32 -04:00
Asaad Mahmood
14ce471311 Updating shift UI changes (#4326)
* Updating shift UI changes

* Adding border to last account settings item

* Fixing modals
2016-10-27 09:10:05 -04:00
Joram Wilander
365b8b465e Merging performance branch into master (#4268)
* 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
2016-10-19 14:49:25 -04:00
Asaad Mahmood
39eee5e4ec Multiple UI Improvements (#4200)
* Multiple UI Improvements

* Adjusting return to call position on mobile
2016-10-12 09:58:09 -04:00
Asaad Mahmood
d42eb46133 Multiple UI Improvements (#4117) 2016-09-29 12:58:14 -04:00
enahum
2659d19d05 PLT-3455 More channels filter (#4022) 2016-09-15 08:53:21 -04:00
Joram Wilander
c3c62ad2ad PLT-3982 Add statuses to profile pictures in the RHS and popover member list (#3845)
* Added status indicator back to popover member list

* Updating positions of status indicator (#3844)

* Fixed squishy profile pictures and added statuses to RHS pics
2016-08-22 16:35:28 -08:00
Joram Wilander
dad764088e PLT-1831 Add statuses to centre channel profile pictures (#3826)
* Created profile picture componenet and added statuses to pictures in center channel

* PLT-3899 - Updating UI for status indicators (#3823)

* PLT-3899 - Updating UI for status indicators

* Updating position of timestamps for compact layout
2016-08-19 10:06:16 -04:00
phrix32
1dc0996b89 PLT-3838 Remove close button shadow in modals (#3809) 2016-08-17 11:50:47 -04:00
Asaad Mahmood
9a59b7912a PLT-3817 - Updating flag icon (#3750)
* Updating flag icon

* Updating padding for user list

* Removing stroke from hover

* PLT-3794 - Fixing integrations css
2016-08-08 14:30:19 -05:00
samogot
748fdef1fb Online status in all modals (#3617)
* add wrapper to modal avatar image which show small round indicator of online/away status of member in all modals

* add offline indicator

* the color of the status indicators follow the theme
2016-07-29 14:54:42 -04:00
Harrison Healey
4c8ba1f5a2 Change view image modal loading text to be visible (#3581) 2016-07-14 08:17:09 -04:00
Asaad Mahmood
f91b9d4a65 PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI Improvements (#3449)
Improving help text margins

Updating changes for get link and create post files

Fixing icon for select team screen

Fixing styles for select team button

Adding improvements to posts UI

Adding improvement to post layout

Updating changes for post controls

Updating z-index for sidebar--right

Updating help text position

Fixing code for posts

Fixing css for post view

Pushing improvements for posts view

Updating changes for post view

Updating post layout

Fixing system time css

Updating header for system posts

Updating post css

Removing opacity and changing color for system messages

Simplifying root post and system post behaviour

Removing images from compact view

Updating help text for display

Updating embed preview text for advanced option

PLT-3490 - Fixing RHS issue on Edge
2016-07-05 15:46:36 -04:00
Asaad Mahmood
4e38796e69 Improving about modal and colon issue with webhooks (#3343)
Updating word break

Updating improvements for about modal
2016-06-16 08:42:38 -04:00
Asaad Mahmood
f6b4a611d0 Multiple UI improvements (#3317)
Removing break all

Replacing jquery selectors and some other UI improvements

Removing jquery selector
2016-06-14 13:53:47 -04:00
Asaad Mahmood
353216e05c PLT-3182 - Improving switch channels modal and some minor UI improvements (#3238)
* PLT-3182 - Improving switch channels modal and some minor UI improvements

Enabling link previews

Adding compact layout to RHS

Improving timestamps

* Adding update code for RHS components
2016-06-06 08:46:03 -04:00
Asaad Mahmood
0258fcfa5c Adding compact layout (#2991)
* Adding compact layout

* Fixing ESLint error
2016-05-16 08:06:26 -04:00
Asaad Mahmood
64b6d8cde5 DM and Modal changes (#2927)
* DM and Modal changes

* Fixing image previews
2016-05-09 08:14:43 -04:00
Corey Hulen
6611229cd7 PLT-2707 Adding option to show DM list from all of server (#2871)
* PLT-2707 Adding option to show DM list from all of server

* Fixing loc
2016-05-04 09:31:42 -04:00
Asaad Mahmood
ec5ac746f0 Fixing icon on invite members modal (#2720) 2016-04-14 20:04:26 -07:00
Asaad Mahmood
c3c49e49b4 Minor Ui Improvements (#2713) 2016-04-14 09:24:58 -04:00
Asaad Mahmood
eff252062a Multiple UI changes (#2699)
* Adding the sidebar fix

* Fixing inner-wrap before outside the app

* PLT-2560 - Fixing userlist in system console

* Removing sidebar stuff
2016-04-13 11:11:50 -04:00
Harrison Healey
af6c85cb62 Added min/max height to edit post modal and allowed suggestion list to overflow (#2674) 2016-04-11 10:43:07 -07:00
Asaad Mahmood
5cf982e021 PLT-2549 - Improvements to theme stuff (#2657) 2016-04-07 11:37:50 -07:00