about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* Prevent close on backdrop for alt text edit modal (#2492)Mary2024-01-182-4/+8
| | | | | * fix: don't close on backdrop for alt text edit * fix: ignore esc key press if a modal is open
* Change handling for mobilePaul Frazee2024-01-182-3/+30
|
* Merge branch 'feat/better-autocomplete-view' of ↵Paul Frazee2024-01-182-34/+86
|\ | | | | | | https://github.com/mary-ext/fork-bsky-app into mary-ext-feat/better-autocomplete-view
| * feat: better autocomplete viewMary2024-01-162-34/+86
| |
* | fix: make alt text selectable in Lightbox (#2563)Kyrylo Pronskykh2024-01-181-6/+10
| |
* | Remove excess l10n related markups (#2544)Takayuki KUSANO2024-01-183-16/+12
| | | | | | | | | | * Remove excess l10n related markups * One more correction pointed out by quiple
* | fix: exempt well-known paths from being handled (#2505)Mary2024-01-181-1/+8
| |
* | Update DiscoverFallbackHeader.tsx (#2537)Minseo Lee2024-01-181-9/+9
| |
* | Use new palette values for main palette (#2566)Eric Bailey2024-01-181-1/+4
| | | | | | | | | | * Use new palette values for main palette * Drawer bg in dark mode
* | Phone number verification in account creation (#2564)Paul Frazee2024-01-187-305/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Allow images to use specified aspectRatios (#2558)Eric Bailey2024-01-181-15/+2
| |
* | New component library based on ALF (#2459)Eric Bailey2024-01-1819-854/+1191
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ↵Paul Frazee2024-01-154-4/+57
| | | | | | | | | behavior (#2534) * 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: show muted/blocked status on list card (#2523)Mary2024-01-151-5/+13
|
* fix: truncate long email address (#2493)Mary2024-01-121-2/+8
|
* Suggest post language correction (#2486)Paul Frazee2024-01-122-0/+103
| | | | | | | | | | | | | | | | | * 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>
* (optional) In app browser (#2490)Paul Frazee2024-01-125-5/+137
| | | | | | | | | | | | | * 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>
* Toggle minimal shell on any scroll for web (#2499)dan2024-01-111-42/+47
|
* :sparkles: New report type, appeal (#2455)Foysal Ahamed2024-01-101-1/+1
|
* fix: don't set autocomplete on search input (#2482)Mary2024-01-102-0/+4
|
* Use the RichText facets when copying post text (#2481)Mary2024-01-105-5/+31
| | | | | * feat: serialize rich text to string * feat: wire richTextToString to copy post text
* Increase the number of lines for quote posts from 6 to 20 (#2489)Paul Frazee2024-01-101-1/+1
|
* fix rendering of external in quote embeds (#2464)Hailey2024-01-101-15/+15
|
* Reduce polling (#2465)Paul Frazee2024-01-105-7/+18
| | | | | | | | | | | | | * 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
* Internationalize more strings (#2440)Stanislas Signoud2024-01-09106-521/+876
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* Mark more texts for localization (#2436)Noritada Kobayashi2024-01-105-38/+49
|
* add expandable context to composer when replying to post (#2419)Hailey2024-01-086-29/+260
| | | | | | | | | | | | | | | * 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
* Add stable gutters to settings pagePaul Frazee2024-01-081-1/+3
|
* Merge branch 'settings-web' of https://github.com/rahulyadav5524/social-app ↵Paul Frazee2024-01-081-3/+15
|\ | | | | | | into main
| * Fixed same issueRahul Yadav2024-01-071-1/+0
| |
| * Fixed import issueRahul Yadav2024-01-071-1/+1
| |
| * Removed unused codeRahul Yadav2024-01-071-2/+2
| |
| * Removed unused codeRahul Yadav2024-01-071-11/+1
| |
| * Fixed scroll issueRahul Yadav2024-01-071-10/+17
| |
| * fixed lint issueRahul Yadav2024-01-041-1/+1
| |
| * Show setting header in webRahul Yadav2023-12-301-5/+21
| |
* | Application Layout Framework (#1732)Eric Bailey2024-01-083-0/+849
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Additional embed sources and external-media consent controls (#2424)Paul Frazee2024-01-049-48/+576
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | New user home feed fixes (#2421)Paul Frazee2024-01-041-1/+4
| | | | | | | | | | | | | | * 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)
* | Fix: Web design issues (#2377) (#2410)Eric Bailey2024-01-034-8/+20
| | | | | | | | | | | | | | * Fix web design issues * Fix Right Nav width design issue Co-authored-by: Rahul Yadav <52163880+rahulyadav5524@users.noreply.github.com>
* | Multiple improvements to link cards and quote posts (#2398)Paul Frazee2024-01-033-38/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Fixed slider flicker issue when sliding in revese side (#2368)Rahul Yadav2024-01-031-1/+7
| |
* | Localize the option to make alt text mandatory (#2376)Noritada Kobayashi2024-01-031-1/+1
| |
* | Fix various issues with screen dimension detection in external player (#2349)Hailey2024-01-021-19/+45
| | | | | | | | | | | | | | | | | | * various dimension fixes * use reactive hook for dimensions * remove debug * accurate dismissing of player
* | Add some more logging (#2402)Eric Bailey2024-01-022-2/+12
| | | | | | | | | | | | | | | | | | * Add a few logs * Report unknown create account errors separately * Downgrade to warn * Nvm
* | Rework alt-text input to use bottom sheet (#2355)Paul Frazee2024-01-021-82/+65
| | | | | | | | | | * Rework alt-text input to use bottom sheet * Add translations
* | emoji picker improvements (#2392)Hailey2024-01-025-59/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Localize options in "Thread Preferences" screen (#2373)Noritada Kobayashi2023-12-301-6/+12
|/
* Remove the KeyboardAvoidingView in account creation (close #2333) (#2366)Paul Frazee2023-12-281-55/+54
| | | | | * Remove the keyboardavoidingview in account creation (close #2333) * Smaller pad on desktop/tablet
* Create account tweaks (#2365)Paul Frazee2023-12-283-0/+11
| | | | | | | * Disable autocomplete, autocapitalize, and autocorrect in create account login * Add username textContentType to login to try to prompt password manager more regularly * Fix type