* Improve a11y on ios
* Format
* Remove android
* Fix android
* ALF confirmation dialog
* Use ALF for Delete Post confirmation
organize
diff
fix text
minimize
change copy
alternative confirm prompt
revert type changes
add ButtonColor param
* small adjustment to buttons in prompt
* full width below gtmobile
* update hide post dialog
* space out dialogs
* update dialogs for lists
* add example
* add to app passwords
* Revert some changes
* use sharedvalue for `importantForAccessibility`
* add back `isOpen`
* fix some more types
* small adjustment to buttons in prompt
* full width below gtmobile
* update the rest of the prompts
rm old confirm modal
rm update prompt
feed error prompt
feed source card and profile block/unblock
composer discard
* Update src/view/screens/AppPasswords.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* lint
* How about a default
* Reverse reverse
* Port over confirm dialogs
* Add some comments
* Remove unused file
* complete merge
* add testID where needed
---------
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* use new menu on profile
* organize imports
* fix testID
* add person icons
* use `style` prop for minWidth
* use new icons
* rm circleban
* Add unfollow option if account is blocked/blocking
* use `StyleProp` 🤯
* ts after merge
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Fix alignment of MutedWords close button
* Add cancel button to dropdowns
* Revert "Add cancel button to dropdowns"
This reverts commit b8f5ddce924311e439aeaa844a80d38f6e7da051.
* Combine actions, convert to new menu
* remove about tab and move content to header
* Tweak alignment
* fix missing rkey
* hog the like button
* Add a little more whitespace
* Improve a11y
* Yeah toast
* Update usage
* Pin to Home
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* convert profile edit dropdown menu to new menu
fix banner text
add `showCancel` prop to menu outer
banner dropdown to menu
add Cancel button to menu
replace user avatar dropdown with menu
add StreamingLive icon
add camera icon
* remove export
* use new camera icon
* adjust icon color
* save images to media library when taken from camera
* ensure we have access to media library
* `canAskAgain`
* just use MediaLibrary directly to avoid duplication
* Fix button widths in the Settings on Web
Had to set `box-sizing: content-box` because
in certain translations the buttons would
become multiline.
Fixes#3060.
* you know what. whatever. i didn't want to be able to change box-sizing anyways. i'm perfectly happy with this workaround.
* ...
* flex-grow: 1
* Improve a11y on ios
* Format
* Remove android
* Fix android
* small adjustment to buttons in prompt
* full width below gtmobile
* Revert some changes
* use sharedvalue for `importantForAccessibility`
* add back `isOpen`
* fix some more types
* small adjustment to buttons in prompt
* full width below gtmobile
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* Improve a11y on ios
* Format
* Remove android
* Fix android
* Revert some changes
* use sharedvalue for `importantForAccessibility`
* add back `isOpen`
* fix some more types
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* Add statsig dependency
* Add SDK provider
* Move to separate file, add tier and hashing
* Disable local storage for now
* Add initial gate testing fixture
* Fork for web just in case
* More WIP
* wip
* Rm test gate
* Add shim on native
* Clarify
* Improve contrast using existing scale
* Make it mathy
* Tweaks
* Adjust noty
* Remove console
* Cleanup
* Match saturation
* Replace usages of tokens with correct palette
(cherry picked from commit 1d9c7079dc25dfa492bd482c1c7661ea2e822d68)
* Replace other colors, tweak usages
(cherry picked from commit df97f249b2f140bbc010449fddb011a31795919a)
* Last couple things
(cherry picked from commit 3b5cee131f68ea8f4125f2c32b9a4b20f5b91086)
* fix "Users" being the wrong color on user list about
---------
Co-authored-by: Hailey <me@haileyok.com>
* share button only on native
* update gttablet to be 1300px
* improve web layout
* change re-layout to mobile breakpoint
* adjustable not found reason
* don't show the borders on mobile web
* slight padding for the spinner
* create dedicated hashtag "search" screen
clarify loading component name
more adjustments
rework `ViewHeader` to keep chevron centered w/ first line
adjustments
adjustments
use `author` instead of `handle` in route
add web route for url
add web route for url
Add desktop list header
support web
keep header lowercase
add optional subtitle to view header
correct isFetching logic
oops
use `isFetching` for clarity in footer
combine logic
update bskyweb
finish screen
style, add footer, add spinner, etc
add list
add header, params
create a screen
* add variable to server path
* localize `By`
* add empty state
* more adjustments
* sanitize author
* fix web
* add custom message for hashtag not found error
* ellipsis in middle
* fix
* fix trans
* account for multiple #
* encode #
* replaceall
* Use sanitized tag
* don't call function in lingui
* add share button
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* fix problems where www.bsky.app shows as a potential danger
* never default to disabling warning
* remove more defaults
* update storybook cases
* oops
* reverse
* add native ios code outside of ios project
* helper script
* going to be a lot of these commits to squash...backing up
* save
* start of an expo plugin
* create info.plist
* copy the view controller
* maybe working
* working
* wait working now
* working plugin
* use current scheme
* update intent path
* use better params
* support text in uri
* build
* use better encoding
* handle images
* cleanup ios plugin
* android
* move bash script to /scripts
* handle cases where loaded data is uiimage rather than uri
* remove unnecessary logic, allow more than 4 images and just take first 4
* android build plugin
* limit images to four on android
* use js for plugins, no need to build
* revert changes to app config
* use correct scheme on android
* android readme
* move ios extension to /modules
* remove unnecessary event
* revert typo
* plugin readme
* scripts readme
* add configurable scheme to .env, default to `bluesky`
* remove debug
* revert .gitignore change
* add comment about updating .env to app.config.js for those modifying scheme
* modify .env
* update android module to use the proper url
* update ios extension
* remove comment
* parse and validate incoming image uris
* fix types
* rm oops
* fix a few typos
* Show tabbar on desktop
* Make bottom border always 1px
* Don't hide/show navbar when switching tabs
* two rows WIP
* Top bar tweaks
* Make scroll adjustement native-only
* Add new web scroll behavior
* Fix translations
* Handle loooong words
* Truncate on desktop web, revert mobile changes
* Break the words
* Small enough for mobile web
* Fix alignment on mobile web
* Clarify
* Handle URL params
* Add resources
* Add other params
* refactor for scope
* modify the pr to support intents rather than utm
remove linebreak
remove linebreak
handle web
adjust path check to work on web
add a short delay for opening the composer
setup compose intent, move to `intents` directory
fix intent logic
ignore incoming intents in the navigation router
* refactor
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* Add bare minimum hashtags support (#2804)
* Add bare minimum hashtags support
As atproto/api already parses hashtags, this is as simple as hooking it
up like link segments.
This is "bare minimum" because:
- Opening hashtag "#foo" is actually just a search for "foo" right now
to work around #2491.
- There is no integration in the composer. This hasn't stopped people
from using hashtags already, and can be added later.
- This change itself only had to hook things up - thank you for having
already put the hashtag parsing in place.
* Remove workaround for hash search not working now that it's fixed
* Add RichTextTag and TagMenu
* Sketch
* Remove hackfix
* Some cleanup
* Sketch web
* Mobile design
* Mobile handling of tags search
* Web only
* Fix navigation woes
* Use new callback
* Hook it up
* Integrate muted tags
* Fix dropdown styles
* Type error
* Use close callback
* Fix styles
* Cleanup, install latest sdk
* Quick muted words screen
* Targets
* Dir structure
* Icons, list view
* Move to dialog
* Add removal confirmation
* Swap copy
* Improve checkboxees
* Update matching, add tests
* Moderate embeds
* Create global dialogs concept again to prevent flashing
* Add access from moderation screen
* Highlight tags on native
* Add web highlighting
* Add close to web modal
* Adjust close color
* Rename toggles and adjust logic
* Icon update
* Load states
* Improve regex
* Improve regex
* Improve regex
* Revert link test
* Hyphenated words
* Improve matching
* Enhance
* Some tweaks
* Muted words modal changes
* Handle invalid handles, handle long tags
* Remove main regex
* Better test
* Space/punct check drop to includes
* Lowercase post text before comparison
* Add better real world test case
---------
Co-authored-by: Kisaragi Hiu <mail@kisaragi-hiu.com>
* Make dim color scheme dim
* Tweaks
* Overall tweaks
* We have to go darker
* Tweak saturation of blues in dim
* Increase contrast on dark-dark mode
* adjust dim
---------
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Co-authored-by: Hailey <me@haileyok.com>
* show uiState errors in the box as well
simplify copy
update ui for only letters and numbers
add ui validation to handle selection
* simplify names
* Fix accidental text-node render
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix: normalize relative date
* chore: add comments
* refactor: skip flooring normalized diff
* refactor: let -> const
* fix: get own copy of date to prevent mutating
* refactor: rounding does the same trick
* Move home-related files to view/com/home
* Add HomeHeader in front of FeedTabBar
* Move isDekstop check outside FeedsTabBar
* Remove PWI logic from tabbar
* Separate platform-specific layout from shared logic
* Revert "Prefer post over quote when finding cached post (#2935)"
This reverts commit da62a77f05.
* Prefer full posts for post thread placeholder
* Clarify with a comment
* Switch to new RT
* Allow early exit from links
* Build in tracking to text atoms
* Clean up FeedSourceCard
* Clean up leading after new default
* Add deprecated notice
* Add theme-color meta tag and apply selection of theme
* update logic for retrieving current theme color
* add ts-ignore
* fix ts error
---------
Co-authored-by: Hailey <me@haileyok.com>
* web height adjustment
border radius incase of dark/dim mismatch
rm country codes
adjust height
general form refactor
more form refactor
refactor form submission
activity indicator after finished
remove remaining phone stuff
adjust captcha height
adjust state to reflect switch
move handle to the second step
pass color scheme param
ts
ts
update state when captcha is complete
web views and callbacks
remove old state
allow specified hosts
replace phone verification with a webview
* remove log
* height adjustment
* few changes
* use the correct url
* remove some debug
* validate handle before continuing
* explicitly check if there is a did, dont rely on error
* rm throw
* update allowed hosts
* update redirect host for webview
* fix handle
* fix handle check
* adjust height for full challenge
* Reveal parents in chunks to fix scroll jumps
Co-authored-by: Hailey <me@haileyok.com>
* Prevent layout jump when navigating to QT due to missing metrics
---------
Co-authored-by: Hailey <me@haileyok.com>
* Split skeleton gen into replies and parents
Co-authored-by: Hailey <me@haileyok.com>
* Move REPLY_PROMPT out of the generator
* Move the rest of visual logic out of gen
---------
Co-authored-by: Hailey <me@haileyok.com>
* move `IconCircle` to `components` for reuse
* add copy to feeds page
* start of a header
* saveit
* add lg size
* add your feeds
* don't show Your Feeds if you don't have any
* Minor ui tweaks
* cleanup
* remove unused activity indicator
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* basic export repository link in settings
Absolutely no prior React experience, and limited TypeScript, so
probably doing all kinds of things wrong!
I tried to make it a download button instead of link but that didn't
work.
There is probably a safer way to construct the URL string.
I think having the download open in the browser is reasonable, as
opposed to an in-app save flow in mobile. But i'm not sure.
* Remove appview proxy toggle
* Move Settings screen to a subfolder
* Add support for the download attribute on links in web
* Rewrite ExportRepository modal using ALF
* Mobile ui tweaks
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Replace the ServerInput modal with a new dialog based on alf that remembers your server address history and doesnt put staging and localdev in the options
* Update the server selector during account creation
* dont apply capitalization, use url keyboard
* Apply insets to dialog top
* Improve padding of dialogs on native
* Fix race condition in dialog close; also fix fire of the onClose event in dialogs
---------
Co-authored-by: Hailey <me@haileyok.com>
* add user-minus icon
* add follow button to highlighted post
* web hack for animations
* adjustments
* remove static string width, use flexbox
* Revert "add user-minus icon"
This reverts commit f1aafb3e39dce131b729864924d63a22368f9187.
* better displaying of display name
* Update translations and fix wording
* Update translation for Bluesky client service provider
* Update Chinese translation for "Logged-out visibility" message
* Update Chinese translation for password prompt
* Update Chinese translations for invite codes
* Update translations for Chinese locale
* Update blogpost link to bsky.social and remove unnecessary localisation params at end of Play Store URL in README.md
* Update privacy policy link to bsky.social in PrivacyPolicy.tsx
* Update TOS link to bsky.social in TermsOfService.tsx
* Update links to bsky.social in Links.tsx
* Update links to bsky.social in SplashScreen.web.tsx
* Update link to bsky.social in base.html
* Update links to bsky.social in HomeLoggedOutCTA.tsx
* Update links to bsky.social in RightNav.tsx
* Update links to bsky.social in Drawer.tsx
* Update DMCA link to bsky.social in Modal.tsx
* Update link to copyright policy on bsky.social in CopyrightPolicy.tsx
* Update link to bsky.social in CommunityGuidelines.tsx
* Update links to bsky.social in Settings.tsx
* Update to bsky.social in Typography.tsx