* feat: add basic visual feedback on Button interaction
* Use a more efficient approach to providing visual feedback
* Fix some lint issues left over from another PR
---------
Co-authored-by: Simek <gosimek@gmail.com>
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
* Use dropdown for web reposting and quote posting
* Remove collateral damage
* Tune the repost dropdown positioning
* Move postctrls into their own folder
* Factor out repost button into native/web build
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* reporting: new anti-social post report option
* reporting: alarm emoji on urgent report option
* reporting: appease 'make lint'
I originally had text on a separate line, but that failed, so I put
text+tags on a line and thought that worked, but failed again? Seems
inconsistent, but trying again.
* Remove emojis and increase report post height
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* 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
* added ios scheme and intentFilters for deep linking
* added intentFilters for android deep linking
* add .env files to .gitignore
* add autoVerify for android deep links
* Make leftnav elements act as anchor tags (bonus feature in this pr)
* Add screen reset behavior to the desktop left nav
* Move the leftnav link into the text
* Replace the long press on the lightbox with footer controls
* Remove long-press from images in the feed
* Tune the lightbox footer control ui
* Replace the AltImageRead modal with the ability to view all alt text in the lightbox footer
* Tune lightbox footer for iOS
* Add alt text to the web lightbox
* Fix lint
* a11y slight changes
---------
Co-authored-by: renahlee <renahlee@outlook.com>
* 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
* Add keyboard shortcuts: new, escape, and hard break
* Add preferences modal
* Remove code accidentally re-added due to rebase
* Fix incorrect copy and lint
* Put stuff back so diffs are clearer
* Re-add invite codes to settings
* Address comments
* Tune the copy
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* 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
* Prevent keyboard from blocking alt image modal
* Tune padding of altimage modal on desktop web
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Switch android to use slide left/right animations on navigation
* Bump the repost icon down by a pixel
* Tune theme colors for contrast and darker bg on darkmode
* Move back handler to a point in the init flow that leads to more consistent capture of events
* Fix image share flow on android
* Fix lint
* Add todo about sharing not available
* Drop the android slide animation because it's too slow
* Fix 'flashes of white' in dark mode android
* create and delete app passwords
* add randomly generated name
* Tweak copy and layout of app passwords
* Improve app passwords on desktop web
* Rearrange settings
* Change app-passwords route and add to backend
* Fix link
* Fix some more desktop web
* Remove log
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add alt text support and rework image layout
* Add additional BottomSheet implementation to account for nested Composer modal
* Use mobile gallery layout on mobile web
* Missing key
* Fix lint
* Move altimage modal into the standard modal system
* Fix overflow wrapping of images
* Fixes to the alt-image modal
* Remove unnecessary switch
* Restore old imagelayoutgrid code
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Refresh or sync notifications when the tab is navigated to
* Fix to bad textnode render
* Speed up initial session load
* Fix lint
* Restore updateSessionState() on session resumption
* Reduce frequency of the notifications sync
* Reduce frequency of home feed polling
* Ensure loading spinner is visible in notifications
* Render notifications loading spinner in the flatlist
* Fixes and performance improvements to notifications
* Render 30+ on notifications if at max
* Fix issue with repeating posts in home feed
* Dont check for unread notifs if we're already at max
* Add cursor to clickable elements
* Add cursor to clickable elements
* Update per comments
* Fix word wrap in notifications
* Center the web login-load screen
* Add hover states on web
* Fix lint
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* add isLikedPressed flag to disallow like counter out of sync
* create revertible helper for updateDataOptimistically
* test implementation
* Update updateDataOptimistically() and apply to reposts
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* add prebuild command to package.json
* add ProfileTab navigator and screen
* add prop to remove back button from profile
* fix MyProfileTabNavigatorParams type
* fix dep array for rendering ProfileHeader
* just added ts-ignore
* enable opening drawer in profile tab
* clean up useNavigationTabState
* clean up code
* fix hideBackButton code flow
* Split image cropping into secondary step
* Use ImageModel and GalleryModel
* Add fix for pasting image URLs
* Move models to state folder
* Fix things that broke after rebase
* Latest -- has image display bug
* Remove contentFit
* Fix iOS display in gallery
* Tuneup the api signatures and implement compress/resize on web
* Fix await
* Lint fix and remove unused function
* Fix android image pathing
* Fix external embed x button on android
* Remove min-height from composer (no longer useful and was mispositioning the composer on android)
* Fix e2e picker
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix web home feed sizing (close#432)
* Fix lint
* Fix positioning of profile not found error
* Fix load latest on mobile
* Fix overflow issues on mobile web (visible in postthread)
* Fix bottom pad on mobile web
* Remove old comment
* Change dark mode borders to be slightly lighter than the bg rather than slightly darker
* Add dark mode styling to web composer
* Fix editprofile darkmode
* add ThemeProvider to App.web.tsx
* make FlatNavigator use themed color
* fix extra padding on top in web
* add observer to App.web.tsx to make it react to theme changes
* fix TS for useColorSchemeStyle
* add dark mode toggle button to web LeftNav
* fix index.web.tsx border colors for web
* Move the darkmode desktop web toggle to the right nav column
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* WIP
* WIP
* Fix header offset on web
* Remove debug
* Fix web mobile feed and FAB layout
* Fix modals on mobile web
* Remove dead code
* Remove ios config that shouldnt be committed now
* Move bottom bar into its own folder
* Fix web drawer navigation and state behaviors
* Remove dark mode toggle from web drawer for now
* Fix search on mobile web
* Fix the logged out splash screen on mobile web
* Fixes to detox simulator
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Rework notifications to sync locally in full and give users better control
* Fix positioning of load more btn on web
* Improve behavior of load more notifications btn
* Fix to post rendering
* Fix notification fetch abort condition
* Add start of post-hiding by labels
* Create a standard postcontainer and improve show/hide UI on posts
* Add content hiding to expanded post form
* Improve label rendering to give more context to users when appropriate
* Fix rendering bug
* Add user/profile labeling
* Implement content filtering preferences
* Filter notifications by content prefs
* Update test-pds config
* Bump deps
* add android & ios folders to .gitignore
* delete android and ios dirs
* fix android build errors
* fix status bar color
* fix top cutoff on composer in android
* fix weird whitespace issue in post
* fix greyed out header android
* fix main feed getting cut off android
* fix swiping on main feed
* fix profile tabs switching on android
* A few app.json config items for iOS
* Update app.json for bgfetch
* make swiping work on android
* make splash screen cover
* add eas.json
* fix image container on android
* fix android status bar color
* use expo-splash-screen instead of react-native-splash-screen
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add mobile UIs for invite codes
* Update invite code UIs for web
* Finish implementing invite code behaviors (including notifications of invited users)
* Bump deps
* Update web right nav to use real data; also fix lint
* Add explicit load-more error handling to posts feed
* Add explicit load-more error handling to notifications feed
* Properly set hasMore to false after an error
* Fix click targets for post controls (#332)
* Add padding to the right side of the post controls
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix: handle validation failures correctly in feed-view
* Fix: convert the off-spec feed view to lex objects
* Fix to fetching all follows during init
* Bump @atproto/api@0.2.1
* Fix: properly group together like notifications
* 1.12
* Remove the hackcheck for upgrades
* Rename the PostEmbeds folder to match the codebase style
* Updates to latest lex refactor
* Update to use new bsky agent
* Update to use api package's richtext library
* Switch to upsertProfile
* Add TextEncoder/TextDecoder polyfill
* Add Intl.Segmenter polyfill
* Update composer to calculate lengths by grapheme
* Fix detox
* Fix login in e2e
* Create account e2e passing
* Implement an e2e mocking framework
* Don't use private methods on mobx models as mobx can't track them
* Add tooling for e2e-specific builds and add e2e media-picker mock
* Add some tests and fix some bugs around profile editing
* Add shell tests
* Add home screen tests
* Add thread screen tests
* Add tests for other user profile screens
* Add search screen tests
* Implement profile imagery change tools and tests
* Update to new embed behaviors
* Add post tests
* Fix to profile-screen test
* Fix session resumption
* Update web composer to new api
* 1.11.0
* Fix pagination cursor parameters
* Add quote posts to notifications
* Fix embed layouts
* Remove youtube inline player and improve tap handling on link cards
* Reset minimal shell mode on all screen loads and feed swipes (close#299)
* Update podfile.lock
* Improve post notfound UI (close#366)
* Bump atproto packages
* Rework feed polling to correctly detect when new content is available (close#344)
* Tweak how the tuner works for consistency
* Improve the feed-update behavior after posting
* Load latest notifications when opening the tab
* Refactor mobile search screen
* Remove 'staleness' fetch trigger on search
* Implement a temporary fulltext search solution
* Add missing key from profile search result
* A few UI & UX improvements to the search suggestions
* Update web search suggestions
* Implement search in web build