about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* Added blur to search's onPressMenu (#6017)brian2024-10-301-0/+1
|
* Sort imports (#6009)dan2024-10-2959-188/+208
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* Add subtle web hover to interactive rows (#5989)dan2024-10-296-43/+101
| | | | | | | * Add subtle web hover to interactive rows * Adjust numbers * Ignore touch devices
* Settings revamp (#5745)Samuel Newman2024-10-297-11/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * start building storybook * add title * add some styles * try out new icons * more settings list component parts * make text do the spacing * clean up storybook * gated new settings screen * switch account * add current profile * use Layout.Screen * Layout.Header and Layout.Content * translate helpdesk text thanks @surfdude29! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add account settings * undo changes to export car dialog * privacy and security screen * Translate protect account stuff Thanks @surfdude29! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * content and media settings * about settings * 2fa copy Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * a11y and appearance * use new components for appearance settings * redesign accessibility settings * Update ContentAndMediaSettings.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add divider * remove a11y and appearance middleman screen * fix web settingslist styles * new SettingsList.Group component * explain how portal magic works * hide pwioptout in old location * Update Settings.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * replace gate with `IS_INTERNAL` * add IS_INTERNAL to app-info.web * fix profile area growing * add close button to switch account --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Show almost-instant preview when opening lightbox (#6000)dan2024-10-298-78/+55
| | | | | | | | | | | * Plumb thumbUri down to the lightbox * Remove onLoad tracking from lightbox * Hook up placeholder URI to the image * Fix NaN causing crash on double tap while offline * Protect against NaNs in the future
* Refactor lightbox model to plain object (#5999)dan2024-10-294-33/+32
| | | | | * Refactor lightbox model to plain object * Rename name to type
* temp revert to old modal (#6005)Samuel Newman2024-10-293-2/+319
|
* Extend composer checks to all posts in a thread (#5955)dan2024-10-291-50/+65
| | | | | * Check all posts in a thread * Use thread for more checks
* Remove indirection when rendering composer state (#5954)dan2024-10-292-66/+40
| | | | | | | * Simplify onPressCancel dismiss condition * Remove alias variables * Move grapheme length calculation to reducer
* Refactor composer state for threads (#5945)dan2024-10-293-49/+112
| | | | | | | * Refactor composer state for threads * Remove unnecessary default case TS can see it's exhaustive.
* Disable Post button when empty (#5953)dan2024-10-291-32/+19
| | | | | | | * Disable Post button when empty * Use regular disabled button * Disable post on video error until cleared
* fix splash screen (#5997)Samuel Newman2024-10-291-0/+1
|
* Fix video quality for short videos (#5996)Samuel Newman2024-10-292-13/+36
| | | | | * remove auto level capping * flush first fragment on loop
* Fix drawer icon alignment (#5991)Eric Bailey2024-10-281-0/+1
|
* fix alt position (#5985)Samuel Newman2024-10-282-2/+2
|
* hailey/filter dupe labels (#5984)Hailey2024-10-281-2/+6
|
* More e2e test fixes (#5982)Hailey2024-10-281-4/+8
| | | | | | | | | | | | | | | | | | | * fix feed reorder test * fix feed reorder test pt 2 * fix edit profile test * fix mod list test * fix fab * add assert * one more assertVisible * fix search test * tap now now if it shows up
* Fix E2E tests (#5980)Hailey2024-10-284-15/+19
|
* One more haptic tweak (#5979)Samuel Newman2024-10-283-13/+4
| | | | | | | * remove 10ms delay and make light * make like haptic light * same for PostThreadComposePrompt
* Tweak haptics, add to post controls (#5977)Samuel Newman2024-10-284-11/+23
| | | | | | | * change timing to 10ms, make ios only * add haptics to post controls * rm from like button
* Make composer min height conditional and align attachments (#5976)dan2024-10-283-4/+18
| | | | | | | * Make web composer min height condiitonal * Fix alignment * Fix alignment on mobile
* FAB - delay followup haptic (#5974)Samuel Newman2024-10-282-24/+19
|
* Don't render `ComposerPills` when unnecessary (#5975)Hailey2024-10-281-0/+6
|
* drawer border (#5893)Samuel Newman2024-10-281-1/+3
|
* Fix clipping issue with 2 image grid (#5744)Samuel Newman2024-10-281-12/+1
| | | | | * don't set aspect ratio for 2 images * let -> const
* Fix missing style (#5944)dan2024-10-251-1/+1
|
* Conditionally render labels button when media exists in post (#5942)Hailey2024-10-253-139/+120
| | | | | | | * conditionally render button * update labels on remove * tweak
* Split composer into smaller components (#5941)dan2024-10-253-357/+521
| | | | | | | | | | | | | | | * Extract ComposerTopBar * Rename state variables to align with props * Extract ComposerEmbeds * Extract ComposerPills * Extract ComposerFooter * Tweak condition to be simpler * Extract ComposerPost
* Display non-post embeds in composer preview (#5647)dan2024-10-244-51/+54
| | | | | | | | | | | | | * Display non-post embeds in composer preview * Remove starter pack special case from ExternalLinkEmbed This should not be needed because starter pack composer preview now goes through the record preview codepath, just like in the feed/post view. * Hide record ext links if quote is present * Align remove buttons Remove the implicit top padding in record embeds and make it conditional, which is similar to how we treat external link embeds. This makes the X button appear in the same place for record embeds as with links.
* Include hydrated responses for other records (#5646)dan2024-10-242-7/+23
| | | | | | | * Include hydrated responses for other records * Rename meta -> view This is actually all it is now.
* Refactor post meta to return PostView (#5645)dan2024-10-247-77/+30
|
* Put ExternalEmbedRemoveBtn on top (#5887)Eric Bailey2024-10-241-1/+1
|
* tweak hover state (#5892)Samuel Newman2024-10-211-109/+104
|
* double haptic (#5886)Samuel Newman2024-10-211-6/+6
|
* Fix NavSignupCard on web (#5813)Eric Bailey2024-10-212-3/+3
|
* Add back borders to feed liked-by screen (#5811)Eric Bailey2024-10-211-2/+5
|
* Disable feed debug gate due to EME (#5815)Hailey2024-10-171-3/+2
|
* Move self-label button (#5780)Hailey2024-10-173-95/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * move self label button? * rm * make sure its usable on large font sizes * tweak wording * update icon * tweaks * change button label and change opacity when no media (#5794) * Tweak it moar (#5807) * Tweak it moar * Pluralize * Labels --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Fix PageWithHeader header leaking into safe area (#5792)Samuel Newman2024-10-171-3/+3
| | | | | * fix header leaking out of safe area * make fix native-only
* Logged out improvments (#5771)Samuel Newman2024-10-176-110/+47
| | | | | | | | | | | | | | | | | * fetch all accounts in one go * delete unused component * add safeareaview to logged out layout * add safe area insets to LoggedOut view * add safe area insets to the error boundary * sanitize displaynames/handles * use button for X * increase spacing
* Fix up drawer background (#5785)Eric Bailey2024-10-173-8/+27
|
* Remove double `an` from error message strings (#5782)surfdude292024-10-173-9/+9
| | | | | | | | | * Update ProfileHeaderLabeler.tsx * Update FeedErrorMessage.tsx * Update FeedShutdownMsg.tsx * Update ProfileFeed.tsx
* Unified 'Chats' in drawers into 'Chat' (#5790)Frudrax Cheng2024-10-171-2/+2
|
* Mark "Logo by ..." in RightNav translatable like it in Drawer (#5788)Takayuki KUSANO2024-10-171-14/+16
|
* Add graphic media self label (#5758)Hailey2024-10-162-119/+174
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Clean up drawer (#5761)Samuel Newman2024-10-163-346/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clean up drawer * add a lil bit of padding * Drawer nits (#5778) * Avi stuff * Rm SafeAreaView, not working on Android * Dividers and spacing * Fix count on android, ended up refactoring the whole MenuItem * Litttttle more space * Improve NavSignupCard * format nit --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Composer - Self label dialog ALF rewrite (#4354)Samuel Newman2024-10-166-268/+180
|
* Edit profile dialog ALF refresh (#5633)Samuel Newman2024-10-153-319/+2
|
* Support params-only searches (#5767)Eric Bailey2024-10-151-6/+10
|
* translate video state strings (#5762)surfdude292024-10-151-5/+5
|