Matheus Cardoso
26b999e885
MM-17759 Add code highlighting ( #3072 )
...
* Add code highlighting
* Fix code style
* Add unit tests
* Some layout adjustments and code style fixes
* Fix failing test
* Fix typo
* Fixed import style
* Update snapshot
* Fix test
* Remove comment
* Add react-native-syntax-highlighter to NOTICE.txt
* Remove duplicated key
* Fix color issue on Android
* Remove unnecessary style
* Fix top spacing on Android
* Add missing trailing comma
* Revert highlighting in Android full-screen code
* Fix margins on android full-screen code
* Fix top padding on Android full-screen code
* Fix font size on Android full-screen code
* Improve top spacing on iOS full-screen code
* Update package-lock.json
* Update package-lock.json
* Update react-native-syntax-highlighter
* Revert away code highlighting on Android code block
2019-09-30 22:52:45 +08:00
Miguel Alatzar
459801d10b
[MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal ( #3298 )
...
* Patch react-native-navigation
* Make navigation actions regular functions
* Fix unhandled promise rejection warning
* Missing semicolons
* Mock navigation actions
* Add unit tests for navigation actions
* Place all patches in patches directory
* Fix channel_info snapshot test
2019-09-25 15:23:45 -07:00
Elias Nahum
9975a19b91
MM-18236 Prevent the post menu from triggering when using the back gesture ( #3319 )
...
* MM-18236 Prevent the post menu from triggering when using the back gesture in the thread screen
* Update snapshots
* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/post/post.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js
* Fix eslint
2019-09-26 00:19:49 +03:00
Miguel Alatzar
150253d392
[MM-16012] [MM-16084] Update screens related to settings sidebar + update SearchResultPost screen and its children ( #2913 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Check-style fix
* Address review comments
2019-06-24 12:52:08 -07:00
Elias Nahum
a16c98b34e
MM-15428 Return empty object for native managed configuration when not set ( #2770 )
2019-05-06 09:20:08 -07:00
Elias Nahum
6eeb830662
Use of cached managed config in components ( #2758 )
2019-05-01 18:34:09 -04:00
Elias Nahum
ae629a455c
Update UX for post long press menu ( #2325 )
...
* Update UX for post long press menu
* Post menu feedback review
2018-11-14 17:29:09 -03:00
Saturnino Abril
dd506d4c9f
fix issue that blocks adding test for thread screen ( #2221 )
2018-10-05 14:46:21 +08:00
Jesse Hallam
8372e95d4a
add eslint-plugin-header, and --fix all ( #1726 )
2018-06-19 19:14:50 -04:00
Harrison Healey
80c09b588d
MM-9647 Replaced usage of preventDoubleTap with wrapWithPreventDoubleTap ( #1471 )
...
* MM-9467 Replaced usage of preventDoubleTap with wrapWithPreventDoubleTap
* MM-9467 Renamed wrapWithPreventDoubleTap to preventDoubleTap
2018-03-02 11:22:37 +00:00
Jesse Hallam
58b72302d6
update eslint's comma-dangle rule to always-multiline ( #1457 )
...
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
Harrison Healey
ede4d22f75
ICU-624 Added markdown tables ( #1434 )
...
* ICU-624 Added initial table rendering support
* ICU-624 Added full table view
* Added proper pluralization to +X more lines in code blocks
* ICU-624 Added support for images in tables
* Stopped using injectIntl for tables
* ICU-624 Updated commonmark-react-renderer
* ICU-624 Hid scroll indicator in collapsed table view
* Addressed feedback
2018-02-16 19:31:14 -03:00
enahum
c69bf5a950
Remove unneded ownProps ( #1177 )
2017-11-21 12:35:03 -03:00
Chris Duarte
2f5201bac9
Add copy post/url/mention/code to tooltip menu ( #1069 )
...
* Add copy post/url/mention/code to tooltip menu
* Check for managedConfig.copyAndPasteProtection
* Reorder copy options
2017-10-31 13:42:56 -03:00
Harrison Healey
a9489dcc5f
Replace getTheme selector with one from mattermost-redux ( #1013 )
2017-10-12 08:45:17 -07:00
enahum
97969717fa
Release 1.2 ( #883 )
...
* RN-73 Fixed code block text colour being incorrect (#868 )
* RN-220 Add "in:" and "from:" search modifiers (#869 )
* Fix search and search preview
* Add "in:" and "from:" search modifiers
* Version Bump to 49 (#875 )
* Version Bump to 49 (#876 )
* Update minimum server version (#878 )
* translations PR 20170905 (#882 )
2017-09-05 16:13:33 -03:00
Harrison Healey
a291fdc933
RN-74 Added updated markdown code block view ( #855 )
...
* RN-74 Added updated markdown code block view
* Set default channelIsLoading prop to PostList
* RN-74 Fixed uneven line numbers on Android
* RN-74 Prevented double tapping on markdown code blocks
2017-08-21 11:40:42 -03:00