summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* Ui improvements (#5948)Asaad Mahmood2017-04-031-0/+4
| | | | | | | | | | * PLT-5849 - Code block wrap on IOS * PLT-5972 - Comment has first line indented * PLT-6048 - Adjusting UI for link previews * PLT-5733 - Adding error text theme option
* Add reaction picker (#5904)bonespiked2017-04-011-0/+5
|
* PLT-2713/PLT-6028 Added System Users list to System Console (#5882)Harrison Healey2017-03-301-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Ui ifxes (#5890)Asaad Mahmood2017-03-291-4/+4
| | | | | | | | | | | | * PLT-5975 - Back arrow in flag list cutting off * PLT-6049 - Fixing pin icon color, and hover state * PLT-5989 - Channel member and pin icon issue * PLT-6067 - Pinned icon misaligned in firefox * PLT-5885 - Adjusting icon spacing in modal
* Fixing cancel ids for selenium (#5896)Corey Hulen2017-03-271-2/+10
| | | | | | | | * Fixing ids for selenium * Fixing ids * Fixing prop
* Fixing ids for selenium (#5874)Corey Hulen2017-03-241-1/+1
|
* Ticket 4665 - Emoji Picker (#5157)bonespiked2017-03-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #4665 Added EmojiPicker Work primarily by @broernr-de and @harrison on pre-release.mattermost.com * Final fixes to handle custom emojis from internal review and single merge error * ESLint fixes * CSS changes and other code to support emoji picker in reply window * Fix for file upload and emoji picker icon positions on post and comment. RHS emoji picker appearing see-through at this time. * Fix for two ESLint issues. * covered most of feedback: RHS emoji picker looks correct color-wise RHS emoji picker dynamically positions against height of thread size (post + reply messages) escape closes emoji window search box focused on open ESLint fixes against other files oversized emoji preview fixes * Adding in 'outside click' eventing to dismiss the emoji window * Changing some formatting to fix mismatch between my local eslant rules and jenkins. * adding alternative import method due to downstream testing errors * yet another attempt to retain functionality and pass tests - skipping import of browser store * fix for feedback items 5 and 7: * move search to float on top with stylistic changes * whitespace in the header (+1 squashed commit) Squashed commits: [6a26d32] changes that address items 1, 2, 6, 8, and 9 of latest feedback * Fix for attachment preview location on mobile * Fix for latest rounds of feedback * fixing eslint issue * making emojipicker sprite based, fixing alignments * Fix for emoji quality, fixing some behavior (hover background and cursor settings) undoing config changes * Preview feature for emojis * Adjustments to config file, and changing layout/design of attachment and emoji icon. * manual revert from master branch for config.json * reverting paperclip and fixing alignments. Additionally fixing inadvertent display of picker on mobile. * CSS changes to try to fix the hover behavior - currently working for emoji picker (when enabled), but hover for attachment isn't working * Made suggested changes by jwilander except for jQuery removal * Adding hover for both icons * removal of some usages of jQuery * Fix for two layout issues on IE11/Edge * UI improvements for emoji picker * Fix for many minor display issues * fix for additional appearance items * fix to two minor UI items * A little extra padding for IE11 * fix for IE11 scroll issue, and removing align attribute on img tag which was throwing js error * fixes some display issues on firefox * fix for uneven sides of emojis * fix for eslint issues that I didn't introduce * fix for missing bottom edge of RHS emojipicker. also fixing text overlapping icons on text area (including RHS) * Update "emoji selector" to "emoji picker" * changes for code review - removal of ..getDOMNode - use sprite imagery for emoji preview - remove lastBlurAt from state as it wasn't used * fixes for: - fake custom emoji preview in picker - RHS scrollbar on preview * fix for minor alignment of preview emoji
* Fixing issue with ids for selenium (#5859)Corey Hulen2017-03-231-0/+8
| | | | | | * Fixing issue with ids for selenium * removing comment
* Merge branch 'release-3.7' into master.George Goldberg2017-03-171-7/+7
|\
| * Ui improvements and bug fixes (#5677)Asaad Mahmood2017-03-081-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Update eslint (#5752)Christopher Speller2017-03-131-5/+5
| | | | | | | | | | | | * Updating eslint * Updating eslint-plugin-react
* | Add pinned posts (#4217)Gabin Aureche2017-03-131-2/+3
| |
* | Fix keyboard shortcuts not to trigger on AltGr key (#5566)Lauris BH2017-03-071-1/+1
|/ | | On Windows when pressing AltGr it will trigger event with same properties as left Ctrl key. Check explicitly that altKey is false otherwise on some keyboard layouts input of special characters is blocked.
* Fix desktop notification click handler for existing/new GMs (#5633)Joram Wilander2017-03-041-1/+1
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Ui improvements (#5588)Asaad Mahmood2017-03-021-2/+3
| | | | | | | | | | | | * PLT-5354 - Making statistics flow on page * PLT-5262 - Updating icon on join team page * PLT-5218 - Making menu colors consistent on mobile * PLT-5377 - Adding bg to current posts in the RHS * PLT-5645 - Adjusting spacing after/before ul/ol
* Multiple Ui improvements (#5398)Asaad Mahmood2017-02-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-5475 - Adjusting tutorials on mobile * PLT-5475 - Adjusting tutorials on mobile * PLT-5457 - Adjusting save button * PLT-5443 - Updating highllight on status compact * PLT-5413 - Team sidebar not scrolling * PLT-5358 - Maintaing aspect ratio for emojis * PLT-5411 - Removing help text from LDAP signin * PLT-5420 - Updating emoticon for headings * Updating emoji size * Updating emoji size * Removing emoticon tag * Updating emoticon sizes * Updating emoji size
* Prevent CSS stacking when changing themes (#5378)Joram Wilander2017-02-141-0/+11
|
* Add permalink to timestamp (#5206)Andrei Stanciu2017-02-101-0/+4
| | | | | | | | | | | | | | * Add permalink to timestamp * Add permalink to timestamp * Add permalink to timestamp * Add permalink to timestamp * fix error with duplicated import * underline permalink on hover
* Add webapp/utils/url.jsx (#5285)Akihiko Odaki2017-02-071-38/+0
| | | | | | | 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.
* Use consistent Display Name sorting code throughout the webapp #5159 (#5213)Saturnino Abril2017-01-311-16/+6
| | | | | | * Use consistent Display Name sorting code throughout the webapp #5159 * fixed broken sorting of teams and channels
* PLT-2555/PLT-5009/PLT-5225 Changed system messages to be rendered by the ↵Harrison Healey2017-01-301-1/+1
| | | | | | | | | | | | client (#5209) * Moved rendering of (message deleted) into PostMessageView * Added additional post types to constants on client * Changed system messages to be rendered in the client's language * Updated new system messages to have relevant usernames highlighted and have markdown rendered in header change messages
* Bug fixes (#5218)Asaad Mahmood2017-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-5319 - Fixing text alignment security modal * PLT-5280 - Fixing add comment button in RHS mobile * PLT-5397 - Fixing Floating timestamp on mobile * PLT-5129 - Hiding formatting help text * PLT-5242 - Adjusting team sidebar border on IE!! * PLT-5226 - Placing settings toggle over header * PLT-5222 - Placed team description tooltip on top * PLT-5201 - Account settings overlap on mobile * PLT-5138 - Adding bg to pending post actions * PLT-5286 - Adjusting play button on youtube videos * PLT-5313 - Adjusting space between emoji reactions * PLT-5187 - Adjusting text in channel switcher * PLT-5399 - Reverting button alignment in modal
* PLT-5122 - Switching to circular status icons (#5049)Asaad Mahmood2017-01-301-3/+1
| | | | | | | | | | * PLT-5122 - Switching to circular status icons * Adding profile pic crop for status indicators * Updating status indicators in LHS * Updating else statements
* #4257 Added functionality to create previews for post links using open ↵Debanshu Kundu2017-01-201-0/+12
| | | | graph data from those links. (#4890)
* PLT-5049 (Webapp) New Channel Members UI. (#5036)George Goldberg2017-01-151-0/+8
| | | | | | | | | | | This replaces the existing Channel Members UI with one based on the Team Members UI, so that either a button, a role or a role with a menu can be displayed. Basic logic for which actions and roles are displayed is implemented, although this doesn't change behaviour or functionality at all, as that will come in later PRs. It does, however, add code to fetch the ChannelMember objects as that is necessary to provide the full set of actions and roles as intended.
* Ui improvements (#4900)Asaad Mahmood2017-01-031-2/+2
| | | | | | | | | | | | | | | | | | | | * PLT-5091 - Updating teams sidebar style * PLT-4650 - Updating bot indicator * Removing text decoration * Fixing dropdown menu in admin console * Updating bot indicator position on desktop * Updating bot indicator on mobile * Moving bot indicator below for mobile * Adding bg to the bot indicator * Updating css for bot indicator in compact view
* PLT-3132 Add a direct message link to the contact pop-over (#4853)khawerrind2016-12-301-0/+1
| | | | | | * added DM button to the user picture and name popover * removed isRequired from status and busy properties from profile_popover.jsx
* Multiple UI improvements (#4835)Asaad Mahmood2016-12-191-2/+2
| | | | | | | | | | | | * Updating sizes for teams sidebar * PLT-4641 - Rearranging notification option * PLT-4504 - Updating styles for Oauth apps * PLT-4852 - Updating font size for lists * Fix for the unread indicator with teams sidebar
* Removed usage of removed TeamStore method (#4785)Harrison Healey2016-12-191-4/+2
|
* PLT-4167 Team Sidebar (#4569)enahum2016-12-191-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Ui improvements (#4780)Asaad Mahmood2016-12-141-3/+5
| | | | | | | | | | * PLT-4897 - Updating styles for emoji reactions * PLT-4971 - Fixing help and attachment buttons * PLT-4931 - Fixing UI for user list in system console * Fixing a bug with the new messages indicator
* Multiple Ui improvements (#4767)Asaad Mahmood2016-12-121-5/+2
| | | | | | | | | | * PLT-4911 - Adding new target for OAuth help links * PLT-4953 - Fixing styles for the unread messages indicator * PLT-4901 - Fixing header modal overlap on mobile * PLT-4916 - Swapping position of edit and delete