summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Minor bug fixes (#7305)Asaad Mahmood2017-08-301-3/+3
| | | | | | | | | | | | * PLT-7063 - Changing search bar bg and color * PLT-7064 - Adjusting info popover styling * PLT-7124 - Fixing sidebar with webrtc call ongoing * PLT-7400 - Fixing semi transparent options list * PLT-7491 - Showing send button on mobile
* PLT-6403: Interactive messages (#7274)Chris2017-08-291-2/+4
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* PLT-7224 - Updating post textbox UI (#7153)Asaad Mahmood2017-08-251-3/+3
| | | | | | | | * PLT-7224 - Updating post textbox UI * Updating post textbox spacing * Updating emoji icon
* Fixing logging errors for Franz (#7273)Corey Hulen2017-08-221-24/+26
|
* PLT-5747: Fixed inconsistent on-hover, tooltip, and active states for ↵Sudheer2017-08-211-2/+4
| | | | | | | | | | | buttons. (#7174) * Fixed LHS Team Sidebar on hover highlight. * Fixed LHS Main Menu on hover tooltip to show "Main menu". * Added On-hover highlight for Favorite button in channel heading. * Added active state for channel members icon. * Added active class based on internal react state with new changeCss rule. * Changed cursor to pointer on hovering a theme. * Fixed Invite New Member Add Button to have text-underline on hover.
* PLT-7397 Added loadImage function instead of Image.prototype.load (#7184)Harrison Healey2017-08-181-23/+13
|
* [PLT-3377] Open up a shortcuts dialog instead of printing help text (#7064)Saturnino Abril2017-08-181-3/+3
| | | | | | | | | | | | | | | | | | * open up a shortcuts dialog instead of printing help text * Updating UI for keyboard shortcuts modal * update PR per PLT-7284 * fix typo error * fix mixed up shortcut keys * move to client side * fix shortcuts list, remove unused function and revert server side code for autocompletion * remove quick team switcher
* Merge branch 'release-4.1'Christopher Speller2017-08-171-1/+1
|\
| * PLT-7323/PLT-7334 CSS fixes (#7155)Asaad Mahmood2017-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | * PLT-7334 - Channel header cuts off list * PLT-7323 - Fixing alignment for attachments * PLT-7323 - Fixing close button for attachments * Changed header description to use margin instead of padding
* | Minor UI improvements (#7137)Asaad Mahmood2017-08-171-8/+10
|/ | | | | | | | | | | | * PLT-7303 - Fixing manage members button * Revert "PLT-7303 - Fixing manage members button" This reverts commit 7dcb68a8e333a2c95444d417ed9a244c9c30aa99. * PLT-7303 - Redesigning channel members popover * Updating font size and positioning
* [PLT-2407] Improve ordering of uploaded attachments (#7022)Saturnino Abril2017-08-041-0/+5
| | | | | | * improve ordering of uploaded attachments * use LocalizationStore.getLocale() when comparing file names
* PLT-6823 Removes option to set notification sound in Edge (#6883)Alex White2017-08-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | * Remove sound notification support for Edge * Move the sound test to utils and also stop the dings for Edge along with firefox * Fix some styling issues * Remove sound notification support for Edge Move the sound test to utils and also stop the dings for Edge along with firefox Fix some styling issues * Reversing soundOptions util method. Fixing some string IDs for clarity * Fixing a syntax error * Restructure HasSoundOptions blocks to not begin with negative statement * Fixing paranthesis
* [PLT-1249] Add close button 'x' to the right of a link preview (#7017)Saturnino Abril2017-08-031-0/+2
| | | | | | | | | | | | | | | | | | | | * add close button 'x' to the right of a link preview * Updating webhook UI * UI improvements for close button * Adding hover state * Making the close button visible on mobile * previews are permanently disabled/closed for that link * make post as required props * fix JS error of undefined * fix update issue both at center and RHS view
* PLT-6987 User access token UI (#7007)Joram Wilander2017-08-011-2/+2
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* Multiple Ui improvements (#7029)Asaad Mahmood2017-07-311-2/+3
| | | | | | | | | | | | | | | | * PLT-7119 - Updating headings on compact view * PLT-7103 - Removing line below channel intro * PLT-7112 - Fixing system console banner * PLT-7144 - Adding ellipsis to system console boxes * PLT-7181 - Changing channel header opacity * PLT-6899 - Updating unread bar * Updating margin for new messages indicator
* PLT-3470: Changed all instances of user list to show full name, username, ↵Jonathan2017-07-241-0/+35
| | | | and nickname (#6994)
* PLT-6689: fix user image requests (#6946)Chris2017-07-191-0/+11
| | | | | | * fix user image requests * fix eslint errors and a few more cache busters
* Merge branch 'release-4.0'Christopher Speller2017-07-181-8/+5
|\
| * PLT-7025: Fix Slack Import API. (#6905)George Goldberg2017-07-121-1/+1
| |
| * [PLT-7021] Add missing borders of emoji picker (#6897)Saturnino Abril2017-07-121-5/+2
| | | | | | | | | | | | * add missing borders of emoji picker * set input class `emoji-picker__search` border-width to zero
| * UI changes (#6876)Asaad Mahmood2017-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * PLT-7011 - Long channel name truncation * PLT-7013 - Fixing channel header mobile * PLT-7012 - Updating quick switch modal on mobile * PLT-7008 - Channel preferences mobile fix * PLT-7014 - Increasing tap area for channel desc
* | Minor fixes based on lgtm.com alerts (#6819)Alex Ford2017-07-071-2/+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-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fixing JS error (#6813)Corey Hulen2017-06-301-1/+1
| | | | | | * Fixing JS error * Fixing js error and storing issue
* remove font setting and default to Open Sans (#6643)Saturnino Abril2017-06-301-16/+0
|
* [PLT-5864] Move teammate name display setting to the System Console (#6681)Saturnino Abril2017-06-301-11/+9
| | | | | | | | | | * move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-7/+2
|
* PLT-4457 Added AtMention component to better render at mentions (#6563)Harrison Healey2017-06-201-14/+10
| | | | | | | | | | | | | | * Moved Utils.searchForTerm into an action * Added easier importing of index.jsx files * PLT-4457 Added AtMention component to better render at mentions * Fixed client unit tests * Fixed merge conflict * Fixed merge conflicts
* [PLT-6548] Mobile Web View: Add "Leave Team" option to main menu (#6472)Carlos Tadeu Panato Junior2017-06-191-1/+2
| | | | | | * PLT-6548 - Mobile Web View: Add "Leave Team" option to main menu * Updating leave team icon color
* PLT-6215 Major post list refactor (#6501)Joram Wilander2017-06-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Major post list refactor * Fix post and thread deletion * Fix preferences not selecting correctly * Fix military time displaying * Fix UP key for editing posts * Fix ESLint error * Various fixes and updates per feedback * Fix for permalink view * Revert to old scrolling method and various fixes * Add floating timestamp, new message indicator, scroll arrows * Update post loading for focus mode and add visibility limit * Fix pinning posts and a react warning * Add loading UI updates from Asaad * Fix refreshing loop * Temporarily bump post visibility limit * Update infinite scrolling * Remove infinite scrolling
* Ui improvements (#6651)Asaad Mahmood2017-06-151-2/+4
| | | | | | | | | | | | * PLT-6691 - Centering emoji in post view * PLT-6737 - FIxing on hover style for heade icons * PLT-6768 - Fixing error on profile picture * PLT-6792 - Fixing link preview image not resizing * PLT-6793 - User popover position on mobile
* Merge release-3.10 into master (#6654)Joram Wilander2017-06-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6787 Fixed being able to send a post before files finished uploading (#6617) * Fix quick switcher for channels/users not stored locally (#6610) * Fix button text on confirm mention modal (#6609) * fix post delete permission of channel admin (#6608) * open comment thread for the most recent reply-able message (#6605) * Use mutex flag with yarn to prevent concurrent builds interfering (#6619) * Use mutex flag with yarn to prevent concurrent builds interfering * Remove yarn mutex file with clean * Minor bug fixes (#6615) * PLT-6774 - Fixing color for offline icon * PLT-6784 - Fixing status icon * Fixing icon margin * Updating caret position * PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620) * Fixing JS error (#6623) * Minor bug fixes (#6622) * PLT-6808 - Updating channel switcher on mobile * PLT-6743 - Updating scrollbar styling * Login instead of failing if user exists in OAuth sign-up flow (#6627) * PLT-6802 Disable team switcher (#6626) * Disable team switcher * Fix ESLint errors * PLT-6807 Ensured select teams page can scroll on iOS (#6630) * Do not redirect from account switch pages on 401 (#6631) * Fixing loadtest command and renaming to /test (#6624) * PLT-6820 Update mattermost-redux dependency (#6632) * translations PR 20170612 (#6629) * Bump HTTP client timeout to 30 seconds (#6633) * For team unreads return empty array instead of null (#6636) * PLT-6831 Fix status modal localization IDs (#6637) * Fix status modal localization IDs * Update test snapshot
* PLT-6481 Create platform route and logic to be able to DM a user by email or ↵David Meza2017-06-151-1/+6
| | | | | | | | | | | | | | username (#6310) * Add logic to be able to DM a user by email or username * PLT-6481 update DM url to be in the format https://servername.com/teamname/messages/xxxxxxxx * PLT-6481 Adding logic to get user by full email * PLT-6481 logic for routes /messages/user_id and /messages/id1_id2 to redirect to /messages/@username * PLT-6481 logic for GM route /messages/generated_id
* PLT-6127/PLT-6135/PLT-6137 Added EmojiPickerOverlay component to better ↵Harrison Healey2017-06-131-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | position emoji picker (#6352) * Cleaned up emoji picker CSS * Fixed border of emoji picker when reacting to comments in the RHS * PLT-6135 Made EmojiPicker automatically position itself above/below the [...] menu * PLT-6135 Changed post textbox emoji picker to use a RootCloseWrapper * PLT-6135 Changed comment textbox emoji picker to use a RootCloseWrapper * PLT-6135 Changed RHS post components to use EmojiPickerOverlay * Removed react-outside-event package * Fixed merge conflict * Fixed emoji picker position on posts in RHS * Removed unused CSS classes * Fixed not being able to react to posts with emoji picker
* Channel switcher UI improvements (#6564)Asaad Mahmood2017-06-061-4/+4
| | | | | | | | | | | | * Channel switcher UI improvements * Reverting mattermost theme * Fixing spacing above the button * Updating switcher button * PLT-6691 - Fixing tablet header
* PLT 6416 Add StatusDropdown to profile picture in top left (#6327) (#6418)David Rojas Camaggi2017-06-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | * PLT-6416 the profile picture is always shown in the top left (#6327) * PLT-6416 Add status icon to profile picture in left sidebar (#6327) * PLT-6416 Add StatusDropdown to profile picture in top left (#6327) * Fixing theme stuff for status picker * PLT-6416 Automatically close status dropdown after selection (#6327) * PLT-6416 Avoid render status dropdown in sidebar if isMobile (#6327) * PLT-6416 Change icon for status change to caret-down (#6327) * PLT-6416 Update visibility of status dropdown after window size (#6327) * PLT-6416 Refactor status dropdown for better mouse usability (#6327) * PLT-6416 Change status dropdown to the redux way (#6327) * PLT-6416 Fix header style of admin sidebar (#6327)
* PLT-6724 Hide options relating to channel admin when not licensed (#6583)Harrison Healey2017-06-051-0/+4
|
* PLT-3466 E10: Add announcement bar feature (#6509)Joram Wilander2017-06-051-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | * E10 - Add announcement bar feature * Updates per feedback * Add component tests and snapshots * Update snapshots * Updating color picker UI (#6543) * Add class to body tag when banner is not dismissable and clean up localstorage items when banner changes * Fixing links (#6544) * Updating UI for fixed error bar (#6552) * Truncating text on fixed banner (#6561) * Plt 3466 - Error bar link states (#6577) * Updating error bar hover state * Updating error bar link states
* Multiple Ui improvements (#6553)Asaad Mahmood2017-06-021-2/+2
| | | | | | | | * PLT-6729 - Fixing close button * PLT-5216 - Updating mattermost theme * PLT-6679 - Fixing styling for active state
* PLT-5699 Improvements to channel switcher (#6486)Joram Wilander2017-05-311-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-4/+4
| | | | | | * PLT-6651 - Overlay issue modal * Fixing mentions badge
* PLT-6614 - Mentions badge styling and dropdown icon style (#6426)Asaad Mahmood2017-05-181-6/+6
| | | | | | * Mentions badge styling and dropdown icon style * PLT-6134 - Fixing emoji picker border in RHS
* Fixes for RC1 (#6376)Asaad Mahmood2017-05-101-2/+2
| | | | | | | | | | | | | | * PLT-6505 - Fixing z-index for post control menu * PLT-6507 - Channel header icons not aligned * PLT-6508 - Options popover issue on android * PLT-6528 - Removing cross contamination on badge * PLT-6535 - Aligning content in SSO buttons * PLT-6509 - Aligning dropdown close icon
* PLT-6297 - Pinned label overlapping on heading (#6324)Asaad Mahmood2017-05-041-4/+4
| | | | | | * PLT-6297 - Pinned label overlapping on heading * PLT-6500 - Fixing mention badge styling
* Revert "[GH-5915] Clicking on @mention of a user in a post shows the profile ↵Harrison Healey2017-05-011-10/+6
| | | | | popover (#6129)" (#6289) This reverts commit 83f819451a80a767170b927eb2f0d5ed63f03239.
* [GH-5915] Clicking on @mention of a user in a post shows the profile popover ↵Saturnino Abril2017-05-011-6/+10
| | | | | | | | | | | | | | | | (#6129) * post message at-mention profile pop-over * remove hover effect to special mentions * make non-clickable the non-existing at-mention username * fix "video call" position * use usernameMap instead of initially defined liteUsernameMap * update per comments
* Ui improvements (#6198)Asaad Mahmood2017-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | * PLT-6306 - Post alignment in compact view * PLT-6266 - Adjusting spacing for files (compact) * PLT-6302 - Margins not equal for paragraphs in post * PLT-6332 - FIxing inline images * PLT-6134 - Fixing border on emoji picker * PLT-6323 - Fixing UI for system console user list * PLT-6375 - Updating emoji picker * PLT-6327 - Updating more channel/user list * PLT-6241 - Adding IE detection * PLT-6332- Fixing inline markdown images
* PLT-5897: Respect intrinsic ratio of img in emoji picker (#5987)VeraLyu2017-04-251-1/+1
| | | Changed style of img emoji picker, also fixed preview of emoji.
* Update error message when password is too long (#6001)Ryan Wang2017-04-161-3/+4
|
* svg preview (#6045)Yusuke Nemoto2017-04-121-1/+5
|