Граф коммитов

172 Коммитов

Автор SHA1 Сообщение Дата
Joram Wilander
458d7d0021 Fix JS error from null posts (#6722) 2017-06-23 16:21:52 -04:00
Joram Wilander
ca8d57c4db PLT-6890 Fix various scrolling issues (#6727)
* Fix various scrolling issues

* Move reaction scrolling to reaction list

* Handle scrolling when RHS opens

* Only run scroll update code when posts change
2017-06-23 12:09:56 -04:00
Harrison Healey
ac4e9909fa Fixed incorrect formatting of numbers and plural words (#6696)
* Fixed incorrect formatting of numbers and plural words

* Removed unused i18n strings

* Fixed eslint errors
2017-06-22 11:30:03 +01:00
Joram Wilander
6bfb7ea3a9 Fix JS error when hovering over reactions (#6710)
* Fix JS error when hovering over reactions

* Fix autocomplete for custom emojis

* Update to latest mattermost-redux
2017-06-21 10:38:19 -04:00
Saturnino Abril
6e2e1c3bbb fix /expand and /collapse for link previews (#6676)
* fix /expand and /collapse for link previews

* make props.openGraphData not required for PostAttachmentOpenGraph component
2017-06-20 17:08:09 -04:00
Harrison Healey
68ea0abfa6 PLT-4457 Added AtMention component to better render at mentions (#6563)
* 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
2017-06-20 15:22:46 -04:00
Carlos Tadeu Panato Junior
270fc41c0f [PLT-3379] "Commented on" username should respect the teammate name display (#6684)
* PLT-3379 -  "Commented on" username should respect the teammate name display

* update per review
2017-06-21 00:23:12 +08:00
Joram Wilander
414b208100 PLT-6885/PLT-6888 Fix custom emojis (#6694)
* Fix custom emojis

* Fix custom emoji reactions
2017-06-20 11:47:53 -04:00
Joram Wilander
ab67f6e257 PLT-6215 Major post list refactor (#6501)
* 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
2017-06-18 14:42:32 -04:00
VeraLyu
5158d3a446 Remove fake img preview before loaded (#5854)
Remove fake img preview and collapse toggle before it is loaded,
only show img and toggle after it is fully loaded.
Fix markdown img size and add scroll down behaviour.
2017-06-16 13:12:22 -04:00
Joram Wilander
528f2dc6c3 Merge release-3.10 into master (#6654)
* 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
2017-06-15 11:05:43 -04:00
Saturnino Abril
0e89d9be1d create DotMenu components and add dotmenu IDs to posts at center and RHS (#6642) 2017-06-14 19:45:46 -04:00
Harrison Healey
40efd8367a PLT-6127/PLT-6135/PLT-6137 Added EmojiPickerOverlay component to better 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
2017-06-13 11:35:45 -07:00
Saturnino Abril
b0f32e3c19 fix JS error and incorrect comment thread for SHIFT+UP (#6574) 2017-06-05 11:09:43 -04:00
Asaad Mahmood
b2453735b2 Minor Ui improvements (#6515)
* PLT-6645 - Improving copy pasting behaviour

* PLT-6149 - Fixing edited indicator in search
2017-05-30 08:19:29 -07:00
Joram Wilander
14684ae785 Fix JS error when switching teams (#6484) 2017-05-24 09:16:27 -04:00
Harrison Healey
69f3f2fdce PLT-6282 Make post list stay visible when post textbox height changes (#6323)
* PLT-6282 Changed post drafts to use an action when being stored

* PLT-6282 Triggered post list to update scroll position when post draft changes

* PLT-6282 Changed SuggestionBox to complete suggestions without an event
2017-05-23 10:17:06 -04:00
Christopher Speller
2bbedd9def Updating client dependencies. Switching to yarn. (#6433)
* 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
2017-05-18 09:28:18 -04:00
Saturnino Abril
81b2fd9982 add IDs for reply arrows at center and RHS (#6311) 2017-05-11 08:12:33 -04:00
Saturnino Abril
f88769d1f2 [PLT-6363-1] Create PostFlagIcon component and add flag IDs to posts (#6271)
* [UI-AUTO] add IDs to last 10 posts' text

* create FlagPost component and add flag IDs for posts at center, RHS and
 search results
2017-05-09 07:54:45 -05:00
Saturnino Abril
882172b298 [UI-AUTO] add IDs to last 10 posts' text (#6257) 2017-05-09 07:53:59 -05:00
Harrison Healey
aa65478445 PLT-6297 Added post--pinned CSS class to pinned posts (#6303) 2017-05-03 08:54:32 -07:00
VeraLyu
ad7f8eda7e PLT-6211: Close emoji picker right away after react (#6275)
Close emoji picker before adding emoji to recent used.
2017-05-03 08:51:33 -07:00
Harrison Healey
581bd8637f Revert "[GH-5915] Clicking on @mention of a user in a post shows the profile popover (#6129)" (#6289)
This reverts commit 83f819451a.
2017-05-01 17:40:54 -04:00
Saturnino Abril
83f819451a [GH-5915] Clicking on @mention of a user in a post shows the profile popover (#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
2017-05-01 10:08:54 -04:00
Joram Wilander
96906482ce PLT-6214 Move channel store and actions over to redux (#6235)
* Move channel store and actions over to redux

* Fix style errors

* Fix unit test

* Various fixes

* More fixes

* Revert config changes
2017-04-28 13:16:03 -04:00
Christopher Speller
92d8fa4aa8 Merge branch 'release-3.8' 2017-04-17 15:08:56 -04:00
Joram Wilander
9b9788cf11 Prevent multiple clicks on post retry (#6055) 2017-04-12 14:25:00 -07:00
Harrison Healey
f961378600 PLT-6099 Added keys to contents of PostBodyAdditionalContent (#6059) 2017-04-12 14:24:43 -07:00
Harrison Healey
fb6f2a123c PLT-5860 Updated copyright date (#6058)
* 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
2017-04-12 08:27:57 -04:00
Harrison Healey
5d145d72c8 PLT-6294 Fixed iOS not scrolling to bottom of post list (#6077) 2017-04-12 10:40:21 +01:00
Harrison Healey
b3305d82eb PLT-6300 Fixed flag icons not appearing (#6078) 2017-04-12 10:39:49 +01:00
Harrison Healey
63c122bc02 PLT-6201/PLT-6220 Don't show pin or reaction options for system messages (#6010)
* PLT-6220 Removed ability to react to system messages

* PLT-6201 Removed ability to pin system messages
2017-04-07 19:21:58 +01:00
Harrison Healey
5cd0d5b87e Fixed console error thrown by PostList when switching teams (#5960) 2017-04-03 21:21:47 -07:00
Harrison Healey
63cdb89144 PLT-6147 Fixed reactions not rendering properly while loading (#5958) 2017-04-03 21:21:15 -07:00
bonespiked
c3d095b465 Add reaction picker (#5904) 2017-04-01 17:00:30 -04:00
Harrison Healey
ee3b983a63 PLT-5035 Added loading of missing profiles when hovering over reactions (#5887) 2017-03-30 09:49:22 -04:00
Ryan Wang
31830ffc7b Add extra check before rendering emojis (#5879) 2017-03-29 09:43:08 -04:00
Corey Hulen
37c41a26c9 Adding a last message id for selenium testing (#5840) 2017-03-23 19:11:15 +00:00
Harrison Healey
8866218243 Revert "PLT-3181 Added crossorigin='anonymous' to all external images (#5774)" (#5815)
This reverts commit 24848f9d6a.
2017-03-20 16:58:09 -04: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
Harrison Healey
24848f9d6a PLT-3181 Added crossorigin='anonymous' to all external images (#5774)
* PLT-3181 Added crossorigin='anonymous' to all external images

* Fixed image unit tests

* Added crossorigin='anonymous' to a few more places
2017-03-16 11:59:00 -07:00
Mika Andrianarijaona
a1994cf7ce PLT-4606: Date separator in RHS (#5606) 2017-03-14 15:41:27 +00:00
Harrison Healey
e8a81db968 PLT-3483 Added date tooltip to post timestamps (#5688) 2017-03-13 12:27:06 +00:00
Gabin Aureche
fe38d6d5bb Add pinned posts (#4217) 2017-03-13 12:25:08 +00:00
Harrison Healey
89d0087ea4 PLT-5792 Fixed all ephemeral posts using system message icons (#5709) 2017-03-10 10:19:07 +00:00
Harrison Healey
ca4181b5fe PLT-5484 Reduced scope of CSS rules for (edited) tag (#5599)
* PLT-5484 Reduced scope of CSS rules for (edited) tag

* Reverted accidental change from div tags to spans
2017-03-03 07:49:54 -05:00
Debanshu Kundu
47114a18e3 PLT-5380 Moved link preview image to top right corner of preview area (#5212)
* PLT-5380 Moved link preview image to top right corner of preview area for smaller images, larger and wide images are still shown below the text.

Also added logic to hide image area if image loading fails.

* Updating link previews css
2017-03-02 14:47:27 -03:00
Joram Wilander
d945393403 Fix blank DMs on page refresh (#5593) 2017-03-02 09:10:53 -05:00