Eric Bailey
cb54082eda
[APP-1310] Button refresh ( #8758 )
...
* Rm gradient buttons from Storybook
* TEMP move storybook button section
* Remove gradient_sky
* Remove actual defs for gradient_sky and gradient_primary
* Remove other gradient defs
* Remove gradient support entirely
* Deprecate 'variant' in favor of 'color'
* Fork base styles codepath to make variant deprecation more obvious
* Remove text styles for when no color is set, never been used
* Fork text styles codepath to make variant deprecation more obvious
* Revert temp storybook commit, remove deprecated values
* Replace remaining gradient button usage
* Update Buttons storybook section
* Update tiny styles
* Update small styles
* Update large sizes
* Ensure proper alignment of buttons in storybook
* Update button colors
* Rename negative_secondary to negative_subtle
* Remove unnecessary select()
* Update icon size and gap
* Update negative_subtle styles
* Custom button colors
* Add borderCurve
2025-08-07 11:08:31 -05:00
Eric Bailey
328aa2be94
[APP-1356] Policy update dialog ( #8782 )
...
* Add blocking announcement dialog feature
* WIP custom dialog
* Rework dialog and add native FocusScope
* Lock scroll on web, fix backdrop
* Add web FocusScope
* Create custom Outlet for these announcements
* Clean up FocusScope native impl
* Comments
* Some styling fixes
* Handle screen reader specifically
* Clean up state, remove Portal edits
* Reorg, rename
* Add syncing, tests
* Revert dialog updates
* Revert formatting
* Delete unused file
* Format
* Add FullWindowOverlay
* remove mmkv storage in debug btn
* Add debug code
* fix taps passing through on iOS
* Reorg
* Reorg, rename everything
* Complete policy update after signup
* Add logger
* Move context around, unmount portals on native
* Move a11y prop into FocusScope
* Remove useMemo
* Update dates
* Move debug to dev settings
* Unmount web portals until policy update completed
* UPdate dates
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2025-08-06 15:15:52 -05:00
Samuel Newman
f4724e378d
Don't animate images that will be posted as JPGs ( #8760 )
...
* don't play gifs that'll be png'd
* add media inset border
* fix unnecessary typecast
* Revert "fix unnecessary typecast"
This reverts commit 3a8bcc9277 .
2025-07-31 09:47:22 -07:00
Eric Bailey
e87555c481
[APP-1310] Button cleanup ( #8754 )
...
* Rm gradient buttons from Storybook
* TEMP move storybook button section
* Remove gradient_sky
* Remove actual defs for gradient_sky and gradient_primary
* Remove other gradient defs
* Remove gradient support entirely
* Deprecate 'variant' in favor of 'color'
* Fork base styles codepath to make variant deprecation more obvious
* Remove text styles for when no color is set, never been used
* Fork text styles codepath to make variant deprecation more obvious
* Revert temp storybook commit, remove deprecated values
* Replace remaining gradient button usage
2025-07-31 10:32:16 -05:00
Eric Bailey
3bcfcba6d8
Some toasts cleanup and reorg ( #8748 )
...
* Reorg
* Move animation into css file
* Update style comment
* Extract core component, use platform-specific wrappers
* Pull out platform specific styles
* Just move styles into Toast component itself
* Rename cleanup
* Update API
* Add duration optional prop
* Add some type docs
* add exp eased slide aniamtions
* Make toasts full width on mobile web
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2025-07-31 10:15:35 -05:00
Samuel Newman
25e60548c4
Mark old components as deprecated ( #8747 )
...
* mark a bunch of stuff as deprecated
* mark s as deprecated (serverence reference????)
* rm type import
2025-07-30 11:05:45 -07:00
Samuel Newman
db7bdae51a
Convert old toast types to new ones, mark as deprecated ( #8746 )
...
* convert old types to new types
* add depreciation warning for old warnings
* rm as consts
2025-07-30 08:18:36 -07:00
Samuel Newman
ee7f508717
Fix dataSet for noFeedback links ( #8745 )
...
* fix dataSet for noFeedback links
* rm memo
* rm useless spread
2025-07-30 08:17:57 -07:00
jim
7caf2922dd
Merge pull request #8744 from internet-development/@APiligrim/update-toast
...
hot fix: imports for toast and alignment
2025-07-30 01:17:59 -07:00
Ana
18add1cff9
update type errors
2025-07-30 01:08:14 -07:00
Ana
d141921abf
add: prettier formating
2025-07-30 00:48:56 -07:00
Ana
315e7341bf
update: lint fixes for toast.tsx
2025-07-30 00:40:34 -07:00
Ana
f8781270e5
update: toast style after lint
2025-07-30 00:36:14 -07:00
Ana
f472c7f540
update sorting
2025-07-30 00:25:17 -07:00
Ana
67ba92fa62
update: imports for toast
2025-07-30 00:02:03 -07:00
jim
c2b8bdb33c
Merge pull request #8743 from internet-development/@APiligrim/update-toast
...
[APP-1345] Hot fix: add toast.style file
2025-07-29 23:35:38 -07:00
Ana
61969e8dfa
add: Toast.style
2025-07-29 23:28:10 -07:00
jim
658dd448d5
Merge pull request #8734 from internet-development/@APiligrim/update-toast
...
[APP-1345] Update Toast UI on the web and add to storybook
2025-07-29 22:51:16 -07:00
Ana
34ea6e8f34
update: toast styles that reuse consistent style
2025-07-29 22:12:36 -07:00
Ana
890dee3eef
update: web toast
2025-07-28 22:07:28 -07:00
Ana
c13b1374d7
add: toasts to storybook
2025-07-28 20:24:57 -07:00
Chenyu Huang
ead6862fc6
fix some auto complete issues
2025-07-24 15:58:24 -07:00
Elijah Seed-Arita
dff0332dd0
fix: general profile component layout fixes, and ability to disable the inset border for UserAvatar ( #8711 )
2025-07-24 11:22:19 -07:00
Chenyu
fc4bf4e919
add margin between messages in the composer thread ( #8691 )
2025-07-21 19:49:59 -07:00
Eric Bailey
7635a49001
introduce context for "Following" as a feed name. ( #8262 ) ( #8690 )
...
"Following" has different translations as a name of a feed and the state of following someone in other languages like Turkish. This allows "Following" as a feed name translated correctly.
(cherry picked from commit d92a7f163ed9e28ee4ebab230758b1f00bdd9966)
Co-authored-by: Sedat Kapanoğlu <sedat@kapanoglu.com >
2025-07-21 20:49:49 -05:00
Samuel Newman
9ebfbd0e40
Nicer error message for backend video too large error ( #8596 )
...
* nicer error message for backend video too large
* use same string for same error
2025-07-21 09:34:58 -05:00
Eric Bailey
964eed54ea
Age assurance fast-follows ( #8656 )
...
* Add feed banner
* Comment
* Update nux name
* Handle did error
* Hide mod settings if underage or age restricted
* Add metrics
* Remove DEV override
* Copy suggestion
* Small copy edits
* useState
* Fix bug
* Update src/components/ageAssurance/useAgeAssuranceCopy.ts
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Get rid of debug button
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
2025-07-17 14:32:58 -05:00
Samuel Newman
2e16ef4384
fix whitespace collapse ( #8659 )
2025-07-17 21:17:57 +03:00
Eric Bailey
1dbc331314
UI for age assurance compliance ( #8652 )
...
* Add geo prop
* Add prelim fetch
* Add geo debug
* Pass in assurance state to notifications registration
* Comments
* Bump git index
* Add some component utils, no design, gate chat
* Disable mod prefs buttons, does not yet edit mod prefs
* Add initial prompt component
* Refine logic for showing prompt
* Add send email dialog
* Hook up dialog to fake mutation
* Fix geo debug bug
* Move provider inside query provider
* Slightly better screen gater
* Ok decent fallback with isExempt
* Reorg
* Wrap prompt in new logic
* Override mod prefs
* Use real endpoints, optimistic state
* Add persistent card, add time-ago, warning to dialog
* Add comment
* No undefined query values
* Fix case in import
* Wait for AA to load before registering push
* Override prefs in all locations
* Small refactor of notifications registration
* Register push after aa state
* Add retries
* Update blocked screens UI
* Strengthen email validation
* Add intent dialog
* Do service auth for init
* Rug refreshJwt
* Update copy
* Some mobile styles, add dev mode option
* Fix links on native
* Clean up intent dialog on native
* Don't mutate existing session, only copy
* Handle email validation error from server
* Clarity is better
* Moar clear
* Fixes
* Tweaks
* Add country code
* Gate it
* Refresh state after redirect
* Re-check on window focus
* Remove todo
* Enable in dev
* Check for did match on redirect
* Add blocked state
* Add appeal dialog
* Copy tweaks
* Inset in blue well
* Nux the prompt
* Copy updates
* Refetch just in case
* Uppercase country code
* Align copy, add notice to chat screens
* Tweak copy
* Add test code
* Add debug code
* Refactor AccountCard
* Big refactor
* Delay post-feed queries instead
* Debug code
* Clean up state
* Reorg
* Clean up copy
* Comments
* Reorg
* UPdate URL
* Cleanup
* Remove todo
* Update debug code
* revert unneeded changes
* UPdate nux name
* Revert unneeded change
* Updaet storage schema
* Checkpoint: cleanup
* Checkpoint: almost there
* isLoaded -> isReady
* Rename useAgeAssurance
* isUnderage -> isDeclaredUnderage
* Decompose, add docblocks
* Refactor
* UPdate debug
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Drop including Bluesky
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Remove todo
* Gate debug
* Revert unneeded change
* Fail closed
* Comments
* Comment
* Comment
* fix prettier
* rm viewheader
* bump sdk
* prevent overlap in admonition
* add age assurance intent route
* Just meow
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
* Nix callback
* Fix spelling of dismissible lol
* Don't compare translated string
* Better KWS link labels
* Hide DMs send options in menu
* Add button
* Fix order
* Use only supported languages
* Rm button
* best-effort language mapping
* improve typing
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2025-07-16 13:58:07 -05:00
Samuel Newman
60c0689236
Fix navigation ( #8648 )
2025-07-15 15:53:52 +03:00
Samuel Newman
4ccbae7c30
Fix perf issue on web - restore pop behaviour to tabs ( #8620 )
2025-07-15 07:48:24 +03:00
Samuel Newman
ff57e75b12
fix mention tab flicker ( #8640 )
2025-07-12 20:50:04 +03:00
Samuel Newman
07b028ee66
Fix quote+list card padding ( #8623 )
...
* fix quote padding not being pressable
* fix list padding not being pressable
* Fix unnecessary loading of feeds (#8578 )
* stop layout shifts in feed loading
* don't load feed data if we already have it
* adjust styles, alf stuff
* remove unused button, massively simplify
* fix layout shifting in notifs
* use feedcard for feed post embeds
* use bold text to match other style
* use Link component rather than jank Pressable
* prevent nested anchors in notifs
* match following text size
* add space between content hider
* Better dead feed handling (#8579 )
* add space between content hider
* add handling for feeds that fail to load
* cleanError, in case of network funkiness
* handle deleted lists
* split out missingfeed
2025-07-09 00:14:30 -07:00
Samuel Newman
9adcf5a12e
specify autocap ( #8619 )
2025-07-08 05:35:46 -07:00
Paul Frazee
9d44673acb
Release 1.104.0 ( #8595 )
...
* Fix to navigation action after saving feeds
* Test updates
* Intl pull
2025-07-01 17:56:27 -07:00
Samuel Newman
bc072570d2
Activity notification settings ( #8485 )
...
Co-authored-by: Eric Bailey <git@esb.lol >
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
Co-authored-by: hailey <me@haileyok.com >
2025-07-01 14:36:04 -07:00
Samuel Newman
8f9a8ddce0
enforce border radius on default avatar ( #8577 )
2025-07-01 13:24:20 -07:00
Samuel Newman
9fdd98d8b4
Improve post spacing ( #8589 )
2025-07-01 13:24:03 -07:00
Samuel Newman
5e20d5ffab
Reduce composer font size ( #8591 )
2025-06-30 19:13:14 +03:00
surfdude29
7837c8f07d
tweak string in ContentLanguagesSettings.tsx ( #8582 )
2025-06-28 10:35:14 -05:00
Samuel Newman
bde3fdaa42
Fix video aspect ratio error - "Record/embed/aspectRatio/width cannot be less than 1" ( #8571 )
2025-06-28 00:02:59 +03:00
Samuel Newman
c634cd9071
Upgrade prettier to 3.6 ( #8558 )
...
* upgrade prettier
* run prettier
* more files
2025-06-23 07:44:40 -07:00
Samuel Newman
25baf1f661
Allow disabling replies ( #8537 )
2025-06-20 22:44:53 +03:00
Eric Bailey
04a2a227fc
Revert "Move dialog outputs inside navigation context ( #8511 )" ( #8531 )
2025-06-18 13:39:58 -07:00
Samuel Newman
eb18b6a49a
add scrollbars back on android ( #8529 )
2025-06-18 21:37:04 +03:00
Eric Bailey
f83335f110
Move dialog outputs inside navigation context ( #8511 )
...
* Move all dialogs within NavigationContent on native
* Ok leave old ModalsContainer alone for now
* Do the same on web
* Gate browser consent dialog just to be clear
2025-06-18 09:53:34 -05:00
Samuel Newman
4da86e5864
Modernise link warning dialog ( #8243 )
...
* add link warning dialog
* add copy for if sharing
* delete old modal
* get web working
2025-06-18 06:17:54 -07:00
Eric Bailey
619fa0d0bb
Delete some old dialogs ( #8512 )
...
* Delete old EditProfile dialog
* Delete old email verification dialogs
2025-06-17 18:12:37 -05:00
Samuel Newman
21989b558b
Granular notification settings ( #8484 )
...
* add mockup screen
* add notification index screen
* add redirect screen
* upgrade sdk
* new icons
* add new screens
* make router typesafe, finish adding screens
* add routes to go server
* load settings
* push notif settings
* improve web
* fix lockfile lint
* no $type on preferences
* prompt to enable push notifications
* fix reply prefs
* space out options
* fix copy error
* Update RepostsOnRepostsNotificationSettings.tsx
* only send minimal diff to putPrefs
* fix yarn.lock
* Update Navigation.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update src/screens/Settings/NotificationSettings/index.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* add description to `syncOthers`
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
2025-06-17 02:37:14 -07:00
Samuel Newman
5c50e10205
Align avatar in reply prompt ( #8501 )
...
* align avi in reply prompt
* update skellie
2025-06-16 08:20:17 -07:00