* Fix headers for ESR 5.9
* check if reactions is defined to avoid a crash with servers without metadata
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM-19837 Remove Opacity from AtMention Markdown
Removed the opacity that was set on the base text style for the markdown on AtMention for system messages.
* MM-19837 Updated opacity for AtMention
The baseTextStyle being used to set the opacity is used across the entire text format, so for this change where an AtMention is used, I added a new opacity to overwrite the on applied by the baseTextStyle.
* MM-19834 Fixed direct mentions highlight color
Updated the AtMention to check if it will be highlighted before applying it's color. The highlight function was applying it's color before the AtMention color, so it was being overwritten.
* MM-19834 Start Unit Test
* MM-19834 Added Unit Tests
Added unit tests for the rendering of highlighted/non-highlighted displayname.
* Preview markdown table as 5x5 max
* Make linter happy
* Determine max columns from device width
* Add snapshot test
* Use Dimensions and update unit tests
* Remove async
* MM-17838 Wrap reactions when they exceed screen size
* Hide add reaction button after 40 reactions
* Hide add reaction button after 40 reactions
* Fix tests
* Fix crash when post has no reactions and convert to factory
* Create constant and use a separate prop for allowing more reactions
* Archived channels dropdown in more channels modal
* Rename redux actions for archived channels
* Fixed tests and updated snapshots
* Unit test for search in more_channels
* Use translation for dropdown label
* Minimum server requirement for dropdown
* Use BottomSheet instead of Picker component
* loadPublicAndArchivedChannels action instead of separate channel get actions
* Add styles to StyleSheet
* Update mattermost-redux hash
* Update mattermost-redux hash
* Default case for switching channels dropdown
* Improve imports in more_channels.js component
* Fix typo in import
* Add padding to dropdown if landscape
* Update snapshot
* Page counter for public and archive channels
* Updated mattermost-redux commit hash
* Bottom sheet title for ios
* i18n-extract for new showArchived and showPublic strings
* Update mattermost-redux commit hash to latest master
* MM-19037 Updated Progressive Image Loader
Set the return for the listener to return a null for hte loader images, stopping the component from thinking it had a loaded image on a failure.
Also enabled the thumbnail to make an additional attempt to load when it receives the null response.
* MM-19037 Updated Eslint
Eslint issue resolved
* MM-19037 Add Unit Tests
Added Unit tests
* empty commit
* [MM-16593] [MM-17175] [MM-17164] [MM-17189] [MM-17181] Android - Upgrade to RN 0.60 (#3145)
* Upgrade to react-native 0.60
* Use @sentry/react-native
* Manually link @sentry/react-native
* Address review comments
* Jetify after install
* Call jetify from node_modules
* Run npm install react-native-fast-image --save
* Link react-native-fast-image for Android
* Link react-native-fast-image to iOS Pod
* Replace Image with FastImage in emoji.js and remove redundant caching
* Remove duplicate sentry gradle
* Feedback review
* Remove FastImage and Sentry from the Podfile
* MM-18054 Checked for prev post comment line
Added check for prev post to stop the "Commented on" line when in same thread.
* MM-18054 Added Unit Tests
Added Unit Tests
* MM-18054 Update props
Updated the prop for isFirstReply
* [MM-10813] Design update for Post attachments
Fixes https://github.com/mattermost/mattermost-server/issues/12841
* Updated visual treatment for Post attachments (images, documents, videos)
* Grouped image attachments, expanding to fit Post width dimension
* Itemized listing of non-image attachments
* Special handling of "small" image attachments (<48 point width/height)
* Set attachment post width to max width of portrait orientation
Accounts for post display offset and extra spacing used for rendering post replies.
* Use available Post real estate: flex: 1 instead of width 100%
* Image spacing responsibility: AttachmentList -> AttachmentImage
* Fit download progress circle correctly over new attachment icons
* Layers progress circle over the icon, rather than under.
* Uses offset constant as far as possible, rather than fixed point spaces.
* Refactor props and 'more' counting for image file attachment(s)
* Implement conditional gutter between image attachments
Flex's `justifyContent: space-between` won't work in this case because of the use of `absoluteFill` and `paddingBottom: 100%` in the box placeholder for an image attachment to auto-fill *all* available flex space.
* Additional snapshots for Post file attachment scenarios
* Use new 'text' icon for text files (.txt, .rtf)
Depends on https://github.com/mattermost/mattermost-redux/pull/979
Even without the change to mattermost-redux above, text files will default to pre-existing "code" icon.
* Set file attachment icon background to theme
Default to transparent. Override if explicitly specified.
* Treat animated GIFs as images when auto-adjusting attachment width
* Fix images layout, progressive image margins, and gallery for images and videos
* fix on iPad (splitview, permanent sidebar) card types and image sizes
* Add all files back to the gallery
* MM-18934 Fix padding on image attachment border
Removed padding from image padding as it was pushing the images outside of the box.
* MM-18934 Add spacing between border and image
Added a margin to progressive image to allow for a spacing with the absolutefill
* MM-18934 Fixed eslint
Fixed eslint issues
* MM-19733 fix posts getting behing post text box in thread screen
* Update app/components/safe_area_view/safe_area_view.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/safe_area_view/safe_area_view.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Small refactor
* Fix snapshot test after merge
* MM-19308 Fixed date wrapping
Updated the displayName to check for the reply button and bot tag. If seen the displayName container is set from 60% to 55% to allow for the extra space.
* MM-19308 Updated logic and added tests
Updated logic based on feedback.
Added Jest/Snapshots
* MM-19308 Apply change to other sections
Applied the change to autoresponder/webhook section.
* Fix iOS crash when pasting large images and included other file types
* Rename pasteImages to pasteFiles and fix copying heic images
* remove comment
* Feedback review
* MM-18054:
Added a check for previousPost to use in validating new messages in thread to check if we should display Commented On message.
* MM-18054 Updated
Updated the check for Commented line to validate the previous thread was one that the post user commente on.
* MM-18054 Fixed Eslint Issues
Fixed Eslint Issues
* MM-18054 Fixed Eslint Issues
Missed a space...
* MM-18054 Cleanup
Cleaned up some code from suggestions