* 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
* Don't reset the tree when profile loads fully
* Give avatars a background color like placeholders
* Prevent jumps due to rich text resolving
* Rm log
* Rm unused
* skeleton for caching
* modify some existing logic
* refactor uri resolution query
* add precache feed posts
* adjustments
* remove prefetch on hover (maybe revert, just example)
* fix
* change arg name to match what we want
* optional infinite stale time
* use `ProfileViewDetailed`
* Revert "remove prefetch on hover (maybe revert, just example)"
This reverts commit 08609deb0defa7cea040438bc37dd3488ddc56f4.
* add warning comment back for stale time
* remove comment
* store profile with both the handle and did for query key
* remove extra block from revert
* clarify argument name
* remove QT cache
* structure queries the same (put `enabled` at bottom)
* use both `ProfileViewDetailed` and `ProfileView` for the query return type
* placeholder profile header
* remove logs
* remove a few other things we don't need
* add placeholder
* refactor
* refactor
* we don't need this height adjustment now
* use gray banner while loading
* set background color of image to the loading placeholder color
* reorg imports
* add border to header on loading
* Fix style
* Rm radius
* oops
* Undo edit
* Back out type changes
* Tighten some types and moderate shadow
* Move precaching fns to profile where the cache is
* Rename functions to match what they do now
* Remove anys
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* remove unnecessary `<CenterView>`
* show back header on profile error
* use `Not Found` instead of `Oops` for account errors
* use `Not Found` instead of `Oops` for account errors
* add dark theme selection to settings/schema
* use `useThemePrefs` where needed
* adjust theme providers to support various themes
* update storybook
* handle web themes
* better themeing for web
* dont show dark theme prefs when color mode is light
* drop the inverted text change on oled theme
* get the color mode inside of `useColorModeTheme`
* use `ThemeName` type everywhere
* typo
* use dim/dark instead of dark/oled
* prevent any fickers on web
* fix styles
* use `dim` for dark default
* more cleanup
* 🤔
* set system background color
* ts
* Chinese localization
* fixed languages.ts typo
* crosscheck with proofreading of translation
* fixed messages.po string styles
* a minor adjustment
* Update Chinese localization
* fixed a typo & modify the translation of handle
* based on the latest messages.po translation
* removed unused strings
* based on the latest messages.po translation
A cleanup PR that removes strings from hi/messages.po that have been superseded and are no longer used.
I also matched some of the superseded strings that had already been translated to their new equivalents.
* create separate label group arrays
* render adult and other label groups separately
* animate in/out the additional settings
* improve toggle logic
* support animations on all platforms
* remove debug
* update notice, prevent running animations on mount
* reorg imports
* Mark read on first notifs page fetch always; this is less optimal but it fixes a case where when the first full page's unreads are all filtered out
* Use the pre-filter indexedAt for updateSeen
* check if a thread is muted before incrementing notif badge
* some filtering for quotes and reposts
* move logic to util
* change logic
* revert always fetching
* logic for cases when we don't have a subject (count)
* unneeded change
* check subject embed in `isThreadMuted`
* remove todo
* Quick fix to mobile
* Enlarge tap targets in account creation
* Improve keyboard behaviors during account creation
* Improve autocompletion behaviors during account creation
* Use the logo in the Deactivated screen
* Add deactivated-account tracking
* Center button text
* Add Deactivated screen
* Add icon to Deactivated screen
* Abort session resumption if the session is deactivated
* Implement deactivated screen status checks
* Bump api@0.9.5
* Use new typo-fixed scope
* UI refinements
* Correct a typing error in `FeedItem.tsx` and replace the middle dot in `Drawer.tsx` with a bullet.
* Bullet to middle dot
* `liked your custom feed{0}` to `liked your custom feed {0}`
* Revert "`liked your custom feed{0}` to `liked your custom feed {0}`"
This reverts commit 43ae67bd03abad59b15dceb12a54255d7ad302e9.
* Update FeedItem.tsx
* Update country-codes.ts
* Update Japanese localization based on the latest codebase
* Improve translations based on suggestions in reviews
Co-authored-by: oboenikui <3191462+oboenikui@users.noreply.github.com>
* Update messages.po
Co-authored-by: Noritada Kobayashi <noritada.kobayashi@gmail.com>
* Make corrections and improvements suggested
Co-authored-by: L-tan <3786294+dolciss@users.noreply.github.com>
* Translate 9 new messages
* Improve a translation
* Translate 23 new messages
---------
Co-authored-by: oboenikui <3191462+oboenikui@users.noreply.github.com>
Co-authored-by: Hima <131072934+Hima-Zinn@users.noreply.github.com>
Co-authored-by: L-tan <3786294+dolciss@users.noreply.github.com>
* Rip out virtualization on the web
* Screw around with layout
* onEndReached
* scrollToOffset
* Fix background
* onScroll
* Shell bars
* More scroll
* Fixes
* position: sticky
* Clean up 1
* Clean up 2
* Undo PagerWithHeader changes and fork it
* Trim down both versions
* Cleanup 3
* Memoize, lint
* Don't scroll away modal or lightbox
* Add content-visibility for rows
* Fix composer
* Fix types
* Fix borked scroll animation
* Fixes to layout
* More FlatList parity
* Layout fixes
* Fix more layout
* More layout
* More layouts
* Fix profile layout
* Remove onScroll
* Display: none inactive pages
* Add an intermediate List component
* Fix type
* Add onScrolledDownChange
* Port pager to use onScrolledDownChange
* Fix on mobile
* Don't pass down onScroll (replacement TBD)
* Remove resetMainScroll
* Replace onMainScroll with MainScrollProvider
* Hook ScrollProvider to pager
* Fix the remaining special case
* Optimize a bit
* Enforce that onScroll cannot be passed
* Keep value updated even if no handler
* Also memo it
* Move the fork to List.web
* Add scroll handler
* Consolidate List props a bit
* More stuff
* Rm unused
* Simplify
* Make isScrolledDown work
* Oops
* Fixes
* Hook up context scroll handlers
* Scroll restore for tabs
* Route scroll restoration POC
* Fix some issues with restoration
* Remove bad idea
* Fix pager scroll restoration
* Undo accidental locale changes
* onContentSizeChange
* Scroll to post
* Better positioning
* Layout fixes
* Factor out navigation stuff
* Cleanup
* Oops
* Cleanup
* Fixes and types
* Naming etc
* Fix crash
* Match FL semantics
* Snap the header scroll on the web
* Add body scroll lock
* Scroll to top on search
* Fix types
* Typos
* Fix Safari overflow
* Fix search positioning
* Add border
* Patch react navigation
* Revert "Patch react navigation"
This reverts commit 62516ed9c20410d166e1582b43b656c819495ddc.
* fixes
* scroll
* scrollbar
* cleanup unrelated
* undo unrel
* flatter
* Fix css
* twk
* Update messages.po
Minor corrections spotted by another bluesky user
* Update messages.po
Apply corrections from @jordimas, changing all the occurrences of "discussió" for "debat"
* Add optional sms verification
* Add support link to account creation
* Add e2e tests
* Bump api@0.9.0
* Update lockfile
* Bump api@0.9.1
* Include the phone number in the ui
* Add phone number validation and normalization
* Install on native as well
* Add button and link components
* Comments
* Use new prop
* Add some form elements
* Add labels to input
* Fix line height, add suffix
* Date inputs
* Autofill styles
* Clean up InputDate types
* Improve types for InputText, value handling
* Enforce a11y props on buttons
* Add Dialog, Portal
* Dialog contents
* Native dialog
* Clean up
* Fix animations
* Improvements to web modal, exiting still broken
* Clean up dialog types
* Add Prompt, Dialog refinement, mobile refinement
* Integrate new design tokens, reorg storybook
* Button colors
* Dim mode
* Reorg
* Some styles
* Toggles
* Improve a11y
* Autosize dialog, handle max height, Dialog.ScrolLView not working
* Try to use BottomSheet's own APIs
* Scrollable dialogs
* Add web shadow
* Handle overscroll
* Styles
* Dialog text input
* Shadows
* Button focus states
* Button pressed states
* Gradient poc
* Gradient colors and hovers
* Add hrefAttrs to Link
* Some more a11y
* Toggle invalid states
* Update dialog descriptions for demo
* Icons
* WIP Toggle cleanup
* Refactor toggle to not rely on immediate children
* Make Toggle controlled
* Clean up Toggles storybook
* ToggleButton styles
* Improve a11y labels
* ToggleButton hover darkmode
* Some i18n
* Refactor input
* Allow extension of input
* Remove old input
* Improve icons, add CalendarDays
* Refactor DateField, web done
* Add label example
* Clean up old InputDate, DateField android, text area example
* Consistent imports
* Button context, icons
* Add todo
* Add closeAllDialogs control
* Alignment
* Expand color palette
* Hitslops, add shortcut to Storybook in dev
* Fix multiline on ios
* Mark dialog close button as unused
* Add a new home feed-api wrapper and give a header indicating the fallback behavior
* Sneak in a quick fix: use the correct text color in the delete modal
* Use imported constant
* feat: suggested language
* fix: wording correction
* Factor out SuggestedLanguage into a separate component
* Tighten the language-suggestion confidence to avoid false positives
* Tweak the copy and UI
* Add function fallbacks for safari
---------
Co-authored-by: Mary <pineapplecreamcheese@skiff.com>
* add expo web browser + modal
* add in app browser option to settings
* don't show toggle on web
* Tweak browser-choice UIs
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Move profile and preference polling to polls-on-foreground
* Refetch prefs on feeds screen refresh since polling no longer occurs
* Reduce notifications polling by 50% if there's already an unread
* Disable feed polling if we know we have content
* Disable the hard refresh after 1 hour in case it's the cause of the random feed refresh bug
* Fix types
* Add Indonesian (id) locale
* Add Indonesian translation messages
* Update team number and add some translation
* Update for better ID translation
* Apply suggestions from code review
Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
* Apply suggestions from code review
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
* Change translation post to postingan
* Update translation
* Fix error
* Apply suggestions from code review
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
* Add Thinkbyte1024 and mary-ext to language team ID
* Update username to lowercase
---------
Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
Co-authored-by: Ansh <anshnanda10@gmail.com>
* add expand replyTo text with animation
* add images, quote to replyTo
* support withmedia
* adjust layout
* add embed to all needed openComposer calls
* adjust gap
* organize imports
* Initial library setup
* Add docblocks
* Some cleanup
* New storybook
* Playing around
* Remove silly test, use for...in
* Memo
* Memo
* Add hooks example
* Tweak colors, bit of cleanup
* Improve macro handling
* Add some more examples
* Rename for better diff
* Cleanup
* Add nested context example
* Add todo
* Less break more perf
* Buttons, you get the idea
* Fix test
* Remove temp colors
* Add a few more common macros
* Docs
* Perf improvements
* Alf go brrrr
* Update breakpoint handling
* I think it'll work
* Better naming, better code
* Fix typo
* Some renaming
* More complete pass at Tailwind naming
* Build out storybook
* Playing around with curves
* Revert "Playing around with curves"
This reverts commit 6b0e0e5c9d842a2d9af31b53affe2f6291c3fa0d.
* Smooth brain
* Remove outdated docs
* Some docs, fix line-height values, export tokens
* Don't use mask for android at all
* Handle reduced motion
* Add dark splash
* Add dark config
* Fix android version code
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* add apple music embed
* add vimeo embed
* add logic for tenor and giphy embeds
* keep it simple, use playerUri for images too
* add gif embed player
* lint, fix tests
* remove links that can't produce a thumb
* Revert "remove links that can't produce a thumb"
This reverts commit 985b92b4e622db936bb0c79fdf324099b9c8fcd8.
* Revert "Revert "remove links that can't produce a thumb""
This reverts commit 4895ded8b5120c4fc52b43ae85c9a01ea0b1a733.
* Revert "Revert "Revert "remove links that can't produce a thumb"""
This reverts commit 36d04b517ba5139e1639f2eda28d7f9aaa2dbfb6.
* properly obtain giphy metadata regardless of used url
* test fixes
* adjust gif player
* add all twitch embed types
* support m.youtube links
* few logic adjustments
* adjust spotify player height
* prefetch gif before showing
* use memory-disk cache policy on gifs
* use `disk` cachePolicy on ios - can't start/stop animation
* support pause/play on web
* onLoad fix
* remove extra pressable, add accessibility, fix scale issues
* improve size of embed
* add settings
* fix(?) settings
* add source to embed player params
* update tests
* better naming and settings options
* consent modal
* fix test id
* why is webstorm adding .tsx
* web modal
* simplify types
* adjust snap points
* remove unnecessary yt embed library. just use the webview always
* remove now useless WebGifStill 😭
* more type cleanup
* more type cleanup
* combine parse and prefs check in one memo
* improve dimensions of youtube shorts
* oops didn't commit the test 🫥
* add shorts as separate embed type
* fix up schema
* shorts modal
* hide gif details
* support localized spotify embeds
* more cleanup
* improve look and accessibility of gif embeds
* Update routing for the external embeds settings page
* Update and simplify the external embed preferences screen
* Update copy in embedconsent modal and add 'allow all' button
---------
Co-authored-by: Hailey <me@haileyok.com>
* Readd discover to default feeds for new users
* Fallback just to discover in home when mergefeed is disabled
* Always provide a cursor with mergefeed (no 'end of feed' condition)
* Create messages.
* Update helpers.test.ts
* Update helpers.ts
* Update i18n.ts
* Update i18n.web.ts
* Update languages.ts
* Update i18n.ts
* Update lingui.config.js
* Correct file name and remove unused variables!
* Update Language-Team
* Update Bump ios build
* Fix for Stop the user from posting before the link card finishes loading #2328
* Update based in model en
* Update last version lang
* Update messages.po tsx:160 and tsx:143
* Bump ios build number and android version code
* adjustment
* adjustment 100%
* Update Date
* Update Day for Merge
* Update Name Maison for Maison da Silva
* fix order of case
* fix lint
* add tag for BR portugese
* add tag for BR
* update `pt` to `pt-BR`
---------
Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
* fix canvas
* fix external link embed styles
* Use the same link-card style on web and mobile and give a little more height on desktop to the card images
* Use dark border on link embeds to match quote post style
* Fix the highlighting behavior on linkcards and quoteposts
---------
Co-authored-by: Hailey <me@haileyok.com>
* Extract latest strings from the codebase
* Improve French translation
- Add missing translations
- Always use French guillemets («») when applicable
- Always add an article (le/la/l’) before nouns
- Use … character instead of three dots
- Change "Mettre en sourdine" into "Masquer", used in other products for "Mute" (and shorter)
- Change other usages of "Masquer" into its synonym "Cacher" to prevent confusion between concepts
- Shorten "Nouvelle publication" into "Nouv. publication" to prevent it overflowing in the main blue button
- Fixed other little errors
* Extract even newer strings from the codebase
* Translate latest new strings into French
* Move from publication to post in French localization
* rework emoji picker
* dynamic position
* always prefer the left if it will fit
* add accessibility label
* Update EmojiPicker.web.tsx
oops. remove accessibility from fake button
* Disable autocomplete, autocapitalize, and autocorrect in create account login
* Add username textContentType to login to try to prompt password manager more regularly
* Fix type
* Enforce UTC for birthdate picker
* Handle locales
* Remove log
* Add a second snap point to the date input in case text is zoomed
* Guard against bad dates
* Log message
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* handle taps while keyboard is displayed
* dismiss keyboard on drag when searching feeds
* dismiss on drag and persist taps on suggested follows
* add hitslop to clear button
* add hitslop to cancel button
* dismiss keyboard on drag when searching users
* hit slop for feed search clear button
* move import
* Split out web dropdown
* Remove unused
* Remove unused style
* Close on escape
* Reduce chance of opening while scrolling
* Tune web dropdown styles
* Fix type
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Set up hidden posts persisted state
* Wrap moderatePost
* Integrate hidden posts into moderation
* Complete hide-post behaviors
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Bump to react-native@0.73, bump expo@next
Includes bumps for all expo deps and dev dependencies. Updates
react-native patch and others, and removes the babel-preset-expo patch.
* Remove duplicate Splash ref
* Bump more deps
* Properly install expo-notifications
* Bump webview dep
* Bump packages according to expo fix; remove pager-view patch as it is no longer needed
* Don't access expo-camera from Web
* Fix crypto dep on web
* Fix some type issues
* Build esnext modules to support dynamic imports
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* add french localization
* get dynamic import to work
* fix broken strings
* fix bug
* fix tests
* build files again
* add german locale
* Add german translated strings
* update file details
* fix plural case errors
* make german translations work
* add 'es' as a locale option
* enable spanish translations
* fix spelling mistake
* Implement embed player for YT, spotify, and twitch
* fix: handle blur event
* fix: use video dimensions for twitch
* fix: remove hack (?)
* fix: remove origin whitelist (?)
* fix: prevent ads from opening in browser
* fix: handle embeds that don't have a thumb
* feat: handle dark/light mode
* fix: ts warning
* fix: adjust height of no-thumb label
* fix: adjust height of no-thumb label
* fix: remove debug log, set collapsable to false for player view
* fix: fix dimensions "flash"
* chore: remove old youtube link test
* tests: add tests
* fix: thumbless embed position when loading
* fix: remove background from webview
* cleanup embeds (almost)
* more refactoring
- Use separate layers for player and overlay to prevent weird sizing issues
- Be sure the image is not visible under the player
- Clean up some
* cleanup styles
* parse youtube shorts urls
* remove debug
* add soundcloud tracks and sets (playlists)
* move logic into `ExternalLinkEmbed`
* border radius for yt player on native
* fix styling on web
* allow scrolling in webview on android
* remove unnecessary check
* autoplay yt on web
* fix tests after adding autoplay
* move `useNavigation` to top of component
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>