For any `Screen` that shows on desktop, `title` is "(1) ... - Bluesky"
where "(1)" is the unread notification count.
The titles are unlocalized and the string "Bluesky" is hardcoded,
following the pattern of the rest of the app.
Display names and post content are loaded into the title as effects.
Tested:
* all screens
* screen changes / component mounts/unmounts
* long posts with links and images
* display name set/unset
* spamming myself with notifications, clearing notifications
* /profile/did:... links
* lint (only my changed files), jest, e2e.
New utilities: `useUnreadCountLabel`, `bskyTitle`,
`combinedDisplayName`, `useSetTitle`.
resolves: #626#599
* Add lists and profilelist screens
* Implement lists screen and lists-list in profiles
* Add empty states to the lists screen
* Switch (mostly) from blocklists to mutelists
* Rework: create a new moderation screen and move everything related under it
* Fix moderation screen on desktop web
* Tune the empty state code
* Change content moderation modal to content filtering
* Add CreateMuteList modal
* Implement mutelist creation
* Add lists listings
* Add the ability to create new mutelists
* Add 'add to list' tool
* Satisfy the hashtag hyphen haters
* Add update/delete/subscribe/unsubscribe to lists
* Show which list caused a mute
* Add list un/subscribe
* Add the mute override when viewing a profile's posts
* Update to latest backend
* Add simulation tests and tune some behaviors
* Fix lint
* Bump deps
* Fix list refresh after creation
* Mute list subscriptions -> Mute lists
* labels: fix 'consentual' typo
This label has never been applied, so safe to just change it.
* labels: new 'nsfl' label, under both porn and gore categories
* labels: new account-security label (always warn)
* labling: re-word spam subtitle
* Identify adult content labels and handle them more specifically
* Change adult content defaults to more conservative settings
* Add an adultcontentenabled override that prohibits access on iOS
* Improve usability of the content hider
* Fix lint
* Add a content-language preference control
* Update whats hot to only show the selected languages and to refresh on lang pref changes
* Fix lint
* Fix tests
* Add missing accessibility role
* Tune the language filter to accept posts when a determination cant be made
* use j instead of i since i has been declared in upper scope
* use j instead of i since i has been declared in upper scope
* Pass the j man
---------
Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* React Native accessibility
* First round of changes
* Latest update
* Checkpoint
* Wrap up
* Lint
* Remove unhelpful image hints
* Fix navigation
* Fix rebase and lint
* Mitigate an known issue with the password entry in login
* Fix composer dismiss
* Remove focus on input elements for web
* Remove i and npm
* pls work
* Remove stray declaration
* Regenerate yarn.lock
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* setup sentry
* add sentry to transformIgnorePatterns to fix jest issues
* update README with sourcemap instructions
* only enable integrations on native
* fix sentry web
* remove testing code
* fix sentry authToken
* Switch over to paul's auth tokens temporarily (lol)
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Quick fix to prompt
* Add blocked accounts screen
* Add blocking tools to profile
* Blur avis/banners of blocked users
* Factor blocking state into moderation dsl
* Filter post slices from the feed if any are hidden
* Handle various block UIs
* Filter in the client on blockedBy
* Implement block list
* Fix some copy
* Bump deps
* Fix lint
* Add ScreenHider component
* Add blur attribute to UserAvatar and UserBanner
* Remove dead suggested posts component and model
* Bump @atproto/api@0.2.10
* Rework moderation tooling to give a more precise DSL
* Add label mocks
* Apply finer grained moderation controls
* Refactor ProfileCard to just take the profile object
* Apply moderation to user listings and banner
* Apply moderation to notifications
* Fix lint
* Tune avatar & banner blur settings per platform
* 1.24