Commit Graph

5146 Commits

Author SHA1 Message Date
Eric Bailey 1269a55958 Fix some logic 2024-12-08 18:29:51 -06:00
Eric Bailey be2606ea9d Some design 2024-12-08 18:20:18 -06:00
Eric Bailey 9e65f7151c Move some things around 2024-12-08 16:28:30 -06:00
Eric Bailey c916b57e8d Port over gutters fix 2024-12-08 15:18:13 -06:00
Eric Bailey 62ddf1b2f8 WIP full-bleed header 2024-12-08 14:56:54 -06:00
Eric Bailey 0422071844 Add no padding Screen option 2024-12-08 14:48:50 -06:00
Eric Bailey 36b01417c2 Temp port gutter util 2024-12-08 14:48:33 -06:00
Eric Bailey 280c044231 Comments 2024-12-08 14:33:56 -06:00
Eric Bailey dd66944777 WIP 2024-12-08 12:41:04 -06:00
Eric Bailey fea90b72f9 Gradients storybook 2024-12-08 12:25:52 -06:00
Eric Bailey 2ddeb9b15f Add to ios workflow 2024-12-08 12:13:50 -06:00
Eric Bailey 7d8ac45e90 Add back install 2024-12-08 12:10:53 -06:00
Eric Bailey c9b5c2457f Layout header 2024-12-08 12:00:48 -06:00
Eric Bailey cf281a2c43 Placeholder 2024-12-08 12:00:17 -06:00
Eric Bailey cd870d2485 Merge remote-tracking branch 'origin/main' into subs/base
* origin/main:
  Revert "[Video] Revert safari hackfix (#5367)" (#7001)
  Fix squashed content on mod screens (#7004)
  [ELI5] Change feed page     copy (#6932)
  Immediately parse pre-filled links in composer state (#6974)
  Add useFormatCurrency hook (#6978)
  Update view shot (#6995)
  Remove icon (#6994)
  clean rn 0.76 upgrade (#6887)
  Trim back prefs exposure in NUXs, make naming more friendly (#6980)
  [Layout] Base (#6907)
  Add some icons (#6976)
2024-12-08 11:55:35 -06:00
dan ea6ac25684 Revert "[Video] Revert safari hackfix (#5367)" (#7001)
This reverts commit 94e7bfbe40.
2024-12-07 17:10:13 +00:00
Eric Bailey 296aab4736 Fix squashed content on mod screens (#7004)
* Fix squashed content on mod screens

* Fix lint
2024-12-07 17:09:46 +00:00
Samuel Newman 5297973f68 [ELI5] Change feed page copy (#6932) 2024-12-07 11:50:50 +00:00
Eric Bailey d05217e560 Immediately parse pre-filled links in composer state (#6974)
* Immediately parse pre-filled links in composer state

* Add hack to fix PasteInput height bug

* Parse out ext links separately from post links
2024-12-06 22:43:49 +00:00
Eric Bailey 8c68093d24 Add useFormatCurrency hook (#6978) 2024-12-06 16:29:34 -06:00
dan cd4c14e8db Update view shot (#6995) 2024-12-06 22:14:05 +00:00
dan d7b492e89a Remove icon (#6994)
Co-authored-by: Eric Bailey <git@esb.lol>
2024-12-06 20:37:46 +00:00
Hailey 1f6acc11ab clean rn 0.76 upgrade (#6887)
* package upgrades

* upgrade system ui

* update patches

* rename patch

* rm

* use .set/.set

* resolve yarnlock

* fix accidentally removed package

* fix use permissions hook

* fix some type errors

* type fixes

* more tweaking

* clean

* Discard changes to src/screens/Onboarding/StepProfile/index.tsx

* oops

* fix splash

* use ios/android in config

* Fix tests

* add back patch

* add to rn patch

* fullscreen?

* Revert "add to rn patch"

This reverts commit 4716d2c643.

* try this

* test with revert

* test

* maybe this

* fix config

* Bump @react-native-picker/picker

* Bump some packages

* Rm unused

* Update lockfile

* Rename expo-notifications+0.29.8.patch.md to expo-notifications+0.29.10.patch.md

* Update react-native+0.76.3.patch.md

* Update react-native+0.76.3.patch.md

* Inline splash configs

Jumping around the file is annoying and makes it harder to understand how this is structured.

* Start fixing Android splash

* Downgrade compressor

This version isn't building for me due to https://github.com/numandev1/react-native-compressor/issues/322.

* Make Android splash empty for now

* Work around a bug

* Bump the compressor

* Bump again

* Include splash fixes

* Try updating

* No custom Android splash

* Revert to using icons

* welp

* Fix sizes

* Make sizing work

* Bump size

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-12-06 17:52:08 +00:00
Eric Bailey 3ab6c435df Trim back prefs exposure in NUXs, make naming more friendly (#6980) 2024-12-06 09:42:42 -06:00
Eric Bailey 143e2c802d [Layout] Base (#6907)
* Add common gutter styles as hook

* Add computed scrollbar gutter CSS vars

* Add new layout components

* Replace layout components in settings screens

* Remove old back button

* Invert web border logic for easier migration

* Clean up Slot API

* Port over FF handling of scrollbar offset

* Trade boilerplate for ease of use

* Limit to one line

* Allow two lines, fix wrapping

* Fix alignment

* sticky headers

* set max with on header and center

* [Layout] Notifications Header (#6910)

* Replace notifications screen header

* fix cropped indicator

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>

* Replace Hashtag header (#6928)

* [Layout] ChatList header (#6929)

* Replace ChatList header

* update chat settings as well

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>

* Add web borders to Chat settings

* Remove unused var

* Move ChatList header outside center

* Replace empty chat layout

* fix breakpoints

* [Layout] Scrollbar gutters (#6908)

* Fix sidebar alignment

* Make sure scrollbars don't hide

* Gift left nav more space

* Use stable one-edge, update logic in RightNav

* Ope

* Increase width

* Reset

* Add transform to sidebars

* Remove bg in sidebars

* Handle shifts in layout components

* Replace scroll-removal handling

* Make react-remove-scroll an explicit dep

* Remove unused script

* use correct scroll insets (#6950)

* [Layout] Feeds headers (#6913)

* Replace ViewHeader internals, duplicate old ViewHeader

* Replace Feeds header

* Replace SavedFeeds header

* Visual alignment

* Uglier but clear

* Use old ViewHeader for SavedFeeds

* use Layout.Center instead of Layout.Content

* use left-aligned header for feed edit

* delete unused old view header

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>

* [Layout] Every other screen (#6953)

* attempt to fix double borders on every other screen

* delete ListHeaderDesktop

* delete `SimpleViewHeader` and fix screens (#6956)

* Make Layout.Center not full height

* Refactor List to use Layout.Center, remove built-in borders

* Fix Home screen

* Refactor PagerWithHeader to use Layout components

* Replace components in ProfileFeed and ProfileList

* Borders on Profile

* Search screen replacements

* use new header for profile subpage header (#6958)

* Search AutocompleteResults

* use new header for starter pack wizard (#6957)

* Fix post thread

* Enable borders by default

* Moderation muted and blocked accounts

* Fix scrollbar offset on Labeler

* Remove ScrollView from Moderation

* Remove ScrollView from Deactivated

* Remove ScrollView from onboarding

* Remove ScrollView from SignupQueued

* Mark deprecations

* fix lint

* Fix double borders on profile load

* Remove unneeded CenteredView from noty Feed

* Remove double Center layout on Notifications screen

* Remove double Center layout on ChatList screen

* Handle scrollbar offset in chat

* Use new atom for other scrollbar offsets

* Remove borders from old views

* Better doc

* Remove temp migration prop

* Fix new atom usage on native

* Clean up Hashtag screen

* Layout docs

* Clarify usage in Pager

* Handle nested offset contexts

* Clean up Layout

* fix feeds page

* asymmetric header on native (#6969)

* Reusable header const

* Fix up home header

* Add back button to convo

* Add hitslop to header buttons

* Comment

* Better handling on native for new atom

* Format

* Fix nested flatlist on mod screens

* Use react-remove-scroll-bar directly

* Fix notification count overflow on web

* Clarify doc

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2024-12-05 18:59:26 -06:00
Eric Bailey 8467dfd452 Add some icons (#6976) 2024-12-05 18:15:30 -06:00
Eric Bailey dcad549eb5 Show error 2024-12-05 14:54:15 -06:00
Eric Bailey 036f0e2a68 Export env 2024-12-05 14:54:15 -06:00
Eric Bailey b9ee26ab3c Design 2024-12-05 14:54:15 -06:00
Eric Bailey 1e7eaf0ee6 Verify email handling 2024-12-05 14:54:15 -06:00
Eric Bailey 533ebf5daa Rename 2024-12-05 14:54:15 -06:00
Eric Bailey 33181ab8ce Add PTR 2024-12-05 14:54:15 -06:00
Eric Bailey 011ef85230 Smooth out purchase 2024-12-05 14:54:15 -06:00
Eric Bailey 6e79fec72d Tweak colors 2024-12-05 14:54:15 -06:00
Eric Bailey 2e2b650209 Bop it 2024-12-05 14:54:15 -06:00
Eric Bailey 0cf44f7749 Some design 2024-12-05 14:54:15 -06:00
Eric Bailey 91568cc574 Vary dialog by screen active 2024-12-05 14:54:15 -06:00
Eric Bailey 3445363031 NUX right nav, fix SVGs 2024-12-05 14:54:15 -06:00
Eric Bailey 7e0e0a2900 Fix global usage 2024-12-05 14:54:15 -06:00
Eric Bailey 69f761dcc2 Remove unused code 2024-12-05 14:54:15 -06:00
Eric Bailey d8e8f398c4 Remove cruft from NUXs 2024-12-05 14:54:15 -06:00
Eric Bailey 769917e4ca Add Apple and Android logo 2024-12-05 14:54:15 -06:00
Eric Bailey 54f655d256 Fix restriction check 2024-12-05 14:54:15 -06:00
Eric Bailey a39c51490d Cleanup 2024-12-05 14:54:15 -06:00
Eric Bailey 8857758789 WIP 2024-12-05 14:54:15 -06:00
Eric Bailey 262651f966 Improve right nav, add EULA 2024-12-05 14:54:15 -06:00
Eric Bailey b63cb9bf5d Simplify the dialog 2024-12-05 14:54:15 -06:00
Eric Bailey 4db49edca6 Show state, add mgmt url 2024-12-05 14:54:15 -06:00
Eric Bailey 5e4bf58811 Hook up native 2024-12-05 14:54:15 -06:00
Eric Bailey df9101774c Update queries 2024-12-05 14:54:15 -06:00