about summary refs log tree commit diff
path: root/src/components/forms
Commit message (Collapse)AuthorAgeFilesLines
* Language select final tweaks (#8914)Samuel Newman2025-08-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [APP-1303] Redesign/refactor post language select (#8884) * Nightly source-language update * Nightly source-language update * [APP-1303] Redesign/refactor post language select * update: stylesheets.create to use the latest structure * update styles to modern structure * update: dialog breakpoints on web and delete depricated language modals * remove unused post languages settings dialog * restructure Post languages dialog * place the Dialog.Close inside the Dialog.ScrollableInner * add: language search * update search and language variables for clarity * fix: memoize language state lists * chore: add comments * update proper colors to the background * add back older error boundary * add: tweaks to the mobile and web responsiveness * add tweaks to center the container * update labels * update button and border * added translation updates * Update: text input to reuse search input * remove unused file * update: web breakpoints * run eslint and prettier --------- Co-authored-by: Elijah Seed-Arita <elijaharita@gmail.com> Co-authored-by: Anastasiya Uraleva <anastasiya@Anastasiyas-MacBook-Pro.local> Co-authored-by: Anastasiya Uraleva <anastasiya@Mac.localdomain> * rm old file * sort out styles, add FlatListFooter component * rm cancel button in favor of search input X * get dialog height working on iOS * delete `DropdownButton` * hide scroll indicators on android * ios scroll indicator insets * get footer sorta working on android * change button color on press * rm empty file --------- Co-authored-by: Anastasiya Uraleva <anastasiyauraleva@gmail.com> Co-authored-by: Elijah Seed-Arita <elijaharita@gmail.com> Co-authored-by: Anastasiya Uraleva <anastasiya@Anastasiyas-MacBook-Pro.local> Co-authored-by: Anastasiya Uraleva <anastasiya@Mac.localdomain>
* Fix Gif Select dialog search bar scrolling away (#8874)Samuel Newman2025-08-251-3/+12
| | | | | * fix flatlist dialogs on web * tweak gif select dialog, add style prop to textfield
* Add displayName to contexts (#8814)Samuel Newman2025-08-142-3/+6
|
* Check handle as you type (#8601)Samuel Newman2025-08-071-9/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check handle as you type * metrics * add metric types * fix overflow * only check reserved handles for bsky.social, fix test * change validation check name * tweak input * move ghosttext component to textfield * tweak styles to try and match latest * add suggestions * improvements, metrics * share logic between typeahead and next button * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * update checks, disable button if unavailable * convert to lowercase * fix bug with checkHandleAvailability * add gate * move files around to make clearer * fix bad import * Fix flashing next button * Enable for TF --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* android paper text input padding (#8570)Samuel Newman2025-06-261-1/+2
|
* new arch (#8295)hailey2025-06-121-7/+7
| | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Charlotte Som <charlotte@som.codes> Co-authored-by: Hailey <me@haileyok.com>
* Live (#8354)Samuel Newman2025-05-102-4/+9
|
* Use consistent hosting provider height (#8186)Samuel Newman2025-04-141-2/+1
|
* Release 1.100 (#8168)Paul Frazee2025-04-081-17/+19
| | | | | | | | | * Tests fix * Move the hosting provider text in account creation into the inside of the button to improve translation handling (close #8166) * Pull latest translations * Revert the 'you are creating an account' change entirely; it doesnt work
* Reapply "Modify hosting provider text for better localization" (#7928)Minseo Lee2025-04-011-19/+17
| | | | | | | | | * Update HostingProvider.tsx * Update src/components/forms/HostingProvider.tsx --------- Co-authored-by: Hailey <hailey@blueskyweb.xyz>
* Release 1.99 prep (#7925)Paul Frazee2025-03-061-17/+19
| | | | | | | | | * Revert #7847 (was causing layout issues) * Test fixes * Pull latest translations from crowdin * Run intl:extract:all
* Modify hosting provider text for better localization (#7847)Minseo Lee2025-02-261-14/+16
| | | | | | | | | * Update HostingProvider.tsx * Update src/components/forms/HostingProvider.tsx --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* translate hosting provider text (#7834)surfdude292025-02-251-2/+2
|
* connect inputs together in signup (#7809)Samuel Newman2025-02-214-8/+45
|
* Fix android datepicker height (#7804)Samuel Newman2025-02-212-22/+11
| | | | | * fix datepicker height * fix suffixtext clipping
* Improved search page (#7590)Samuel Newman2025-02-121-1/+1
| | | | | | | | | | | | | | | | | | | * search input revamp * fix web * rm "useThemeNew" * fix overlap during transition * animate header properly * reduce gap * animate cancel button in * don't move search bar when focused * remove cancel button animation
* Refine accessibilityHint (#7554)Minseo Lee2025-02-111-2/+2
| | | | | | | | | | | | | | | * `accessibilityHint` * accessibilityHint * Update Co-Authored-By: jason-me <mail@jason-hester.me> * Update LoginForm.tsx --------- Co-authored-by: jason-me <mail@jason-hester.me>
* Fix slow Hosting Provider dialog (#7594)Samuel Newman2025-02-031-2/+2
| | | | | * avoid portal perf pitfall * add dep array
* Date input improvements (#7639)Samuel Newman2025-02-035-11/+29
| | | | | | | | | * add max date, use modern field for birthday input * rm legacy date input * handle simplifying to simpleDateString internally * update jsdoc
* [ELI5] Tweaks to hosting provider (#6935)Samuel Newman2025-01-081-60/+83
| | | | | | | | | | | | | | | * minimal hosting provider * change wording and move back up * first time user nudge * move tip * reexport ticket svg * fix ticket fr this time * text tweak + add minHeight
* apply fonts to TextField (#6288)Ben Harris2024-12-141-30/+53
| | | | system fonts were leaking. i'm sure there's a better way to apply this without duplicating but idk it works
* [Layout] Base (#6907)Eric Bailey2024-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add common gutter styles as hook * Add computed scrollbar gutter CSS vars * Add new layout components * Replace layout components in settings screens * Remove old back button * Invert web border logic for easier migration * Clean up Slot API * Port over FF handling of scrollbar offset * Trade boilerplate for ease of use * Limit to one line * Allow two lines, fix wrapping * Fix alignment * sticky headers * set max with on header and center * [Layout] Notifications Header (#6910) * Replace notifications screen header * fix cropped indicator --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Replace Hashtag header (#6928) * [Layout] ChatList header (#6929) * Replace ChatList header * update chat settings as well --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Add web borders to Chat settings * Remove unused var * Move ChatList header outside center * Replace empty chat layout * fix breakpoints * [Layout] Scrollbar gutters (#6908) * Fix sidebar alignment * Make sure scrollbars don't hide * Gift left nav more space * Use stable one-edge, update logic in RightNav * Ope * Increase width * Reset * Add transform to sidebars * Remove bg in sidebars * Handle shifts in layout components * Replace scroll-removal handling * Make react-remove-scroll an explicit dep * Remove unused script * use correct scroll insets (#6950) * [Layout] Feeds headers (#6913) * Replace ViewHeader internals, duplicate old ViewHeader * Replace Feeds header * Replace SavedFeeds header * Visual alignment * Uglier but clear * Use old ViewHeader for SavedFeeds * use Layout.Center instead of Layout.Content * use left-aligned header for feed edit * delete unused old view header --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * [Layout] Every other screen (#6953) * attempt to fix double borders on every other screen * delete ListHeaderDesktop * delete `SimpleViewHeader` and fix screens (#6956) * Make Layout.Center not full height * Refactor List to use Layout.Center, remove built-in borders * Fix Home screen * Refactor PagerWithHeader to use Layout components * Replace components in ProfileFeed and ProfileList * Borders on Profile * Search screen replacements * use new header for profile subpage header (#6958) * Search AutocompleteResults * use new header for starter pack wizard (#6957) * Fix post thread * Enable borders by default * Moderation muted and blocked accounts * Fix scrollbar offset on Labeler * Remove ScrollView from Moderation * Remove ScrollView from Deactivated * Remove ScrollView from onboarding * Remove ScrollView from SignupQueued * Mark deprecations * fix lint * Fix double borders on profile load * Remove unneeded CenteredView from noty Feed * Remove double Center layout on Notifications screen * Remove double Center layout on ChatList screen * Handle scrollbar offset in chat * Use new atom for other scrollbar offsets * Remove borders from old views * Better doc * Remove temp migration prop * Fix new atom usage on native * Clean up Hashtag screen * Layout docs * Clarify usage in Pager * Handle nested offset contexts * Clean up Layout * fix feeds page * asymmetric header on native (#6969) * Reusable header const * Fix up home header * Add back button to convo * Add hitslop to header buttons * Comment * Better handling on native for new atom * Format * Fix nested flatlist on mod screens * Use react-remove-scroll-bar directly * Fix notification count overflow on web * Clarify doc --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* simplify date picker theme (#6926)Samuel Newman2024-12-031-1/+1
|
* Fix title/buttons in date picker not being visible on Android in dark mode ↵Ryan McLeod2024-12-031-0/+3
| | | | (#6880)
* Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-192-2/+0
| | | | | | | | | config (#6516) * update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
* Fixed issue 5845 (#6085)Rohit Bansal2024-11-051-1/+1
|
* [Settings] Thread prefs revamp (#5772)Samuel Newman2024-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * thread preferences screen * minor tweaks * more spacing * replace gate with IS_INTERNAL * [Settings] Following feed prefs revamp (#5773) * gated new settings screen * Following feed prefs * Update src/screens/Settings/FollowingFeedPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Settings/FollowingFeedPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * replace pref following feed gate * Update src/screens/Settings/FollowingFeedPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * use "Experimental" as the header --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] External media prefs revamp (#5774) * gated new settings screen * external media prefs revamp * replace gate ext media embeds * Update src/screens/Settings/ExternalMediaPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add imports for translation * alternate list style on native --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] Languages revamp (partial) (#5775) * language settings (lazy restyle) * replace gate * fix text determining flex space * [Settings] App passwords revamp (#5777) * rework app passwords screen * Apply surfdude's copy changes Thanks @surfdude29! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * format * replace gate * use admonition for input error and animate --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] Change handle dialog (#5781) * new change handle dialog * animations native only * overflow hidden on togglebutton animation * add a low-contrast border * extract out copybutton * finish change handle dialog * invalidate query on success * web fixes * error message for rate limit exceeded * typo * em dash! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * another em dash Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * set maxwidth of suffixtext * Copy tweak Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] Notifs settings revamp (#5884) * rename, move, and restyle notif settings * bold "experimental:" --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Composer - Self label dialog ALF rewrite (#4354)Samuel Newman2024-10-161-1/+1
|
* Edit profile dialog ALF refresh (#5633)Samuel Newman2024-10-151-5/+14
|
* fix clear button in input (#5650)Hailey2024-10-081-1/+9
| | | | Co-authored-by: Eric Bailey <git@esb.lol>
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-041-1/+1
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* ALF text input for generic search input (#5511)Samuel Newman2024-09-302-1/+76
| | | | | | | | | | | | | | | | | | | | | * alf text input for generic search input * clearer ref naming * Adjust props and definition * Migrate props * Migrate props * Migrate props * Replace on search screen * rm old props --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Add language filtering UI to search (#5459)Eric Bailey2024-09-251-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use new TextField for search bar * Add lang dropdown * Dialog * Revert "Dialog" This reverts commit 257573cd9c2a70d29df4ef5bdd503eea4ae411fe. * Extract util, test, cleanup * Fix formatting * Pass through other params * Fix sticky header * Fix stale data, hide/show * Improve query parsing * Replace memo * Couple tweaks * Revert cancel change * Remove unused placeholder
* Don't use flex on inputs (#5458)Eric Bailey2024-09-231-2/+2
|
* [Neue] Buttons (#5406)Eric Bailey2024-09-201-1/+1
| | | | | | | | | | | * Re-align button sizing (cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec) * Use large, small, tiny (cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0) * Tweaks
* Adjust toggle components sizing (#5408)Eric Bailey2024-09-191-10/+10
| | | (cherry picked from commit a9cbd23fcdcbacbdd2ca5f6bbe0bc7161e6591e3)
* Localize dates, counts (#5027)Eric Bailey2024-08-292-13/+3
| | | | | | | | | | | | | | | | | | | | | | | * refactor: consistent localized formatting * refactor: localized date time * refactor: localize relative time with strings * chore: fix typo from copy-paste * Clean up useTimeAgo * Remove old ago * Const * Reuse * Prettier --------- Co-authored-by: Mary <git@mary.my.id>
* Improve styles (#4916)Minseo Lee2024-08-111-0/+1
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Move theme controls to its own screen (#4866)Samuel Newman2024-08-011-1/+1
|
* Priority notifications (#4798)Samuel Newman2024-07-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new settings screen * bring back the spinner * add experimental language * fix typo, change leading * integrate priority notifications API * update package * use refetch instead of invalidateQueries * fix read-after-write issue by polling for update * add spinner for initial load * rm onmutate, it's overcomplicated * set error state eagerly * Change language in description Co-authored-by: Hailey <me@haileyok.com> * prettier * add `Toggle.Platform` * extract out mutation hook + error state * rm useless cache mutation * disambiguate isError and isPending * rm unused isError --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* swap flex-start/end (#4815)Samuel Newman2024-07-231-2/+2
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Fix switch style and animate (#4814)Samuel Newman2024-07-231-14/+17
| | | | | | | | | | | | | | * set height to 20+(2*hairline) * animate switch * Try to align on line height across platforms * Use border 1px --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Eric Bailey <git@esb.lol>
* [ALF] Theme & palette cleanup (#4769)Eric Bailey2024-07-112-20/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Invert primary scale * Invert negative palette * Replace theme specific styles in Toggle * Remove theme specific colors from Button, improves secondary solid on dark mode * TextField * Remove from MessageItem * Threadgate editor * IconCircle * Muted words * Generate themes from hues * Cleanup * Deprecate more values, fix circular import * Invert positive too, hardly use * Button tweaks, some theme diffs * Match disabled state for negative button * Fix unread noty bg
* Starter Packs (#4332)Hailey2024-06-211-0/+2
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* fix for autofill covering border (#4573)Samuel Newman2024-06-201-0/+7
|
* fix keyboard overlaying onboarding inputs (#4558)Hailey2024-06-181-2/+5
|
* Release 1.77.0 (#3549)Paul Frazee2024-04-131-1/+1
| | | | | * A couple test fixes * Intl extract
* 1.76 release preparations (#3459)Paul Frazee2024-04-091-0/+1
| | | | | | | * Run intl:extract * Update dev-env to 0.3.4 * Test fixes
* Remove special cases for some buttons with text (#3412)dan2024-04-051-57/+67
| | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types
* Enforce Text suffix for Text-rendering components (#3407)dan2024-04-045-10/+10
| | | | | | | | | | | * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns