mattermost-mobile/app/utils
Daniel Espino García f8e67c04ad
Migrate message attachments to typescript (#5127)
* Migrate attachment_image

* Migrate action_menu

* Migrate action_button

* migrate message_attachments

* Remove unintended commited file

* Fix tsc

* Fix tsc

* Fix lint

* Update references

* Make emoji functional component and fix imports

* Use ReactNode instead of JSXElement

* Convert action menu to FC

* Remove unneeded fragments

* Remove unneded undefined check

* Use undefined instead of nil in calculateDimensions

* Make sure height is always defined

* Use is valid URL

* Add missing types

* Lint fixes and remove lodash

* Revert package.json changes

* Put back fragments since they are actually needed

* Fix test

* Fix lint

* Address feedback
2021-04-22 18:21:44 -04:00
..
bottom_sheet [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
sentry Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
apps.test.ts Feature - Cloud Apps (#5226) 2021-03-22 18:02:06 -04:00
apps.ts Feature - Cloud Apps (#5226) 2021-03-22 18:02:06 -04:00
avoid_native_bridge.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
channels.js Added "Join prompt" when sys admin clicks on perma links of private channels (#4988) 2021-02-12 09:09:34 +05:30
client_upgrade.js MM-23570 Migrate from Segment to Rudder (#4293) 2020-05-13 16:54:07 -04:00
draft.js Revert "[MM-29225] Define LSApplicationQueriesSchemes so Linking.canO… (#5067) 2021-01-06 09:11:27 -07:00
draft.test.js MM-23090 MM-26078 && MM-26876 Refactor post draft component (#4621) 2020-08-06 19:39:25 -04:00
emoji_utils.js Add eslint eol-last to require newline at end of files (#4985) 2020-11-30 21:46:05 -07:00
emoji_utils.test.js Fix soft crash for edge emoji formatting (#4705) 2020-08-20 14:48:48 -04:00
emojis.js MM-27849 render emojis with appended skin tone (#5297) 2021-04-15 11:26:03 -04:00
error_handling.js Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
file.js MM-31705 allow file local path to use multiple dots (#5109) 2021-01-11 12:53:06 -07:00
file.test.js MM-31705 allow file local path to use multiple dots (#5109) 2021-01-11 12:53:06 -07:00
general.js MM-34508 in-app browser emm configuration (#5274) 2021-04-07 14:15:19 -04:00
i18n.js Add t() translation mark to i18nable strings and update translations (#2026) 2018-09-21 11:25:38 -03:00
image_cache_manager.js Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
image_cache_manager.test.js Gallery Improvements (#4837) 2020-11-06 21:17:27 -03:00
images.test.ts Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
images.ts Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
latinise.js Port WebSocket from mm-redux and batch actions (#4060) 2020-03-26 21:23:50 -03:00
list_view.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
markdown.js [MM-22959] Use Compass icons (#4847) 2020-10-15 15:34:24 -07:00
markdown.test.js MM-26722 check for switchKeyboardForCodeBlocks only on iOS 12+ (#4537) 2020-07-07 13:01:48 -04:00
member_list.js Refactor CustomList to use Section and Flat Lists (#2332) 2018-11-13 18:16:57 -05:00
message_attachment_colors.ts Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
mix.ts Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
network.js Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
notify_props.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
opengraph.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
preferences.js Add eslint eol-last to require newline at end of files (#4985) 2020-11-30 21:46:05 -07:00
reaction.js [MM-13433] Fix unnecessary rendering for reactions component and reaction list screen (#2464) 2018-12-18 23:07:42 +08:00
reaction.test.js [MM-13433] Fix unnecessary rendering for reactions component and reaction list screen (#2464) 2018-12-18 23:07:42 +08:00
security.js Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
status.js MM-13846 Alert boxes to follow UX Guidelines (#2525) 2019-01-28 12:48:07 -03:00
supported_server.test.js MM-26744 in-prompt for end users if server is unsupported (#4565) 2020-07-15 11:17:55 -04:00
supported_server.ts Fixes for release 1.42 (#5339) 2021-04-19 08:41:27 -07:00
tap.js MM-13151 Increase double tap delay for post action buttons (#2406) 2019-04-02 10:22:31 -04:00
tap.test.js MM-22089 set default prevent double tap to 1s for ChannelInfo modal (#4133) 2020-04-27 10:04:58 -04:00
teams.js [MM-23391] Sort sidebar teams order by user preference (#4911) 2020-12-10 17:35:05 -03:00
teams.test.js [MM-23391] Sort sidebar teams order by user preference (#4911) 2020-12-10 17:35:05 -03:00
theme.js [MM-23761] [MM-25766] Add "More Messages" button (#4526) 2020-07-09 13:30:30 -07:00
theme.test.js [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
time_tracker.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
timezone.js MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
tooltip.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
url.js MM-34508 in-app browser emm configuration (#5274) 2021-04-07 14:15:19 -04:00
url.test.js Revert "[MM-29225] Define LSApplicationQueriesSchemes so Linking.canO… (#5067) 2021-01-06 09:11:27 -07:00
users.js Port WebSocket from mm-redux and batch actions (#4060) 2020-03-26 21:23:50 -03:00
why_did_you_update.js Fix Posts cutoff (#2071) 2018-09-04 11:53:15 -03:00
wrap_context_provider.js [MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components (#2920) 2019-07-08 10:03:31 -07:00