mattermost-mobile/app/screens
Amit Uttam 66a6e5c932 [MM-10813] Design update for Post attachments (#3511)
* [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
2019-11-15 22:41:09 -05:00
..
about MM-19759 - Added TOS and Privacy Policy default links in About… (#3491) 2019-10-30 14:11:14 -04:00
add_reaction MM-18762 Remove some usage of deprecated lifecycle methods (#3299) 2019-09-27 09:16:21 -04:00
channel Ensure setNavigatorStyles is called with Channel componentId (#3515) 2019-11-03 12:04:05 -07:00
channel_add_members [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
channel_info [MM-18768] Remove deprecated lifecycle methods from channel info (#3377) 2019-11-04 09:49:14 -05:00
channel_members [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
channel_peek [MM-16136] Update channel related screens (#2915) 2019-06-26 16:46:05 -04:00
client_upgrade MM-18762 Remove some usage of deprecated lifecycle methods (#3299) 2019-09-27 09:16:21 -04:00
code [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
create_channel [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
edit_channel [MM-18768] Remove deprecated lifecycle methods from channel info (#3377) 2019-11-04 09:49:14 -05:00
edit_post MM-13842 Add Autocomplete to post edit screen (#3295) 2019-10-26 13:53:17 +03:00
edit_profile [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
error_teams_list [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
expanded_announcement_banner [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
flagged_posts [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
forgot_password MM-19696 Added font color for GlobalStyle Input (#3536) 2019-11-15 17:25:25 +08:00
image_preview [MM-10813] Design update for Post attachments (#3511) 2019-11-15 22:41:09 -05:00
interactive_dialog Reverted mention color to user linkColor (#3472) 2019-10-31 08:27:16 -07:00
login [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
login_options [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
long_post [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
mfa MM-18762 Remove some usage of deprecated lifecycle methods (#3299) 2019-09-27 09:16:21 -04:00
more_channels [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
more_dms [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
notification [MM-19968] Ensure SELECT_CHANNEL_WITH_MEMBER is dispatched when app opened from a push notification (#3533) 2019-11-12 17:45:11 -05:00
options_modal [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
permalink [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
pinned_posts [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
post_options [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
reaction_list [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
recent_mentions [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
root add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
search [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
select_server MM-19853 Fix iOS SafeAreaView for Server URL screen (#3513) 2019-11-04 14:59:23 -07:00
select_team [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
selector_screen [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
settings MM-19966 Fixed Notification Settings (#3535) 2019-11-12 17:48:14 -05:00
sso MM-18935 (#3346) 2019-10-12 01:34:28 -04:00
table MM-11232 Fix table column width to better support wide tables (#2467) 2019-01-07 13:53:04 -05:00
table_image MM-18762 Remove some usage of deprecated lifecycle methods (#3299) 2019-09-27 09:16:21 -04:00
terms_of_service Reverted mention color to user linkColor (#3472) 2019-10-31 08:27:16 -07:00
text_preview MM-18762 Remove some usage of deprecated lifecycle methods (#3299) 2019-09-27 09:16:21 -04:00
thread MM-19733 fix posts getting behing post text box in thread screen (#3480) 2019-10-30 11:37:26 +01:00
user_profile [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
index.js Various fixes (#3078) 2019-08-08 22:28:07 +08:00