mattermost-mobile-upstream/app
vish9812 3aa965d914
add opt-in narrow relative dates and accessibility props to shared components
Two additive changes to shared components, both needed by the playbooks task
activity chip and neither specific to it.

getFriendlyDate gains a `style` parameter. The default stays 'long' so every
existing caller renders exactly as before; 'narrow' switches to always-numeric,
abbreviated output ("4h ago", "38m ago", "3d ago") for callers that have to fit
a relative time into a chip rather than a sentence.

PressableOpacity forwards accessibilityLabel and accessibilityRole. Without
them a caller has to wrap the pressable in an `accessible` View, which collapses
the subtree and hides the interactive element from screen readers. Both props
are optional, so existing callers are unaffected.
2026-10-28 11:42:01 +05:30
..
actions [MM-70605][MM-70607] Scope pre-auth secret storage per server (#10149) 2026-10-23 12:02:41 +02:00
client [MM-70605][MM-70607] Scope pre-auth secret storage per server (#10149) 2026-10-23 12:02:41 +02:00
components add opt-in narrow relative dates and accessibility props to shared components 2026-10-28 11:42:01 +05:30
constants Add collapsible sections to mobile (#10189) 2026-10-23 09:11:52 -07:00
context Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
database Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
helpers Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
hooks Add collapsible sections to mobile (#10189) 2026-10-23 09:11:52 -07:00
i18n Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
init [MM-70605][MM-70607] Scope pre-auth secret storage per server (#10149) 2026-10-23 12:02:41 +02:00
keyboard Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
managers Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
products Calls dm v2 (#10225) 2026-10-22 12:24:07 +02:00
queries [MM-70605][MM-70607] Scope pre-auth secret storage per server (#10149) 2026-10-23 12:02:41 +02:00
routes MM-69627: Add playbook task requirements support on mobile (#10035) 2026-10-07 13:24:21 +05:00
screens Escape % in route params so Expo Router's repeated decoding can't alter values (#10245) 2026-10-23 20:46:22 +03:00
store [MM-70605][MM-70607] Scope pre-auth secret storage per server (#10149) 2026-10-23 12:02:41 +02:00
utils Add collapsible sections to mobile (#10189) 2026-10-23 09:11:52 -07:00