about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
* Resolve facets on list descriptions (#2485)Mary2024-01-232-20/+95
| | | | | * feat: add strict/loose link mapping * feat: resolve facets on list description
* fix: don't expose post content on no-unauthenticated (#2584)Mary2024-01-221-4/+22
|
* Tweak positioningPaul Frazee2024-01-221-1/+3
|
* Merge branch 'feat/image-dnd' of https://github.com/mary-ext/fork-bsky-app ↵Paul Frazee2024-01-221-14/+107
|\ | | | | | | into mary-ext-feat/image-dnd
| * fix: firefox edge-caseMary2024-01-211-5/+2
| |
| * fix: design adjustmentsMary2024-01-211-2/+3
| |
| * fix: always call preventDefaultMary2024-01-211-4/+12
| |
| * refactor: use right borderDarkMary2024-01-211-5/+1
| |
| * feat: new designMary2024-01-211-35/+81
| |
| * feat: web composer image drag and dropMary2024-01-211-9/+54
| |
* | Fix jump when opening last post in thread (#2591)dan2024-01-221-1/+3
| |
* | Fix orphan replies in linear mode (#2578)dan2024-01-221-4/+12
| |
* | Fix typos, improve localization and unify separators (#2502)Minseo Lee2024-01-223-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | New Web Layout (#2126)dan2024-01-2217-72/+687
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* properly shorten links in quote embeds (#2570)Hailey2024-01-192-19/+39
| | | | | * properly shorten links in quote embeds * lint
* Update Step2.tsx (#2568)Minseo Lee2024-01-191-2/+4
|
* Send error boundary exceptions to Sentry (#2573)Eric Bailey2024-01-191-1/+2
|
* flex and truncate content hider text (#2569)Hailey2024-01-191-2/+2
|
* Improve country-code handling for text verification (#2579)Paul Frazee2024-01-192-7/+118
|
* improve external link design (#2577)Hailey2024-01-191-25/+19
| | | | | | | * improve external link design * slight changes * use 1.91 aspect for images
* 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
* fix: make alt text selectable in Lightbox (#2563)Kyrylo Pronskykh2024-01-181-6/+10
|
* Remove excess l10n related markups (#2544)Takayuki KUSANO2024-01-181-12/+10
| | | | | * 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
|
* Phone number verification in account creation (#2564)Paul Frazee2024-01-186-305/+475
| | | | | | | | | | | | | | | | | * 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-183-310/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-153-2/+56
| | | | | | | | | 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
|
* 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-124-5/+119
| | | | | | | | | | | | | * 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
|
* 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-102-5/+10
| | | | | | | | | | | | | * 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-0985-402/+697
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* Mark more texts for localization (#2436)Noritada Kobayashi2024-01-103-21/+30
|
* add expandable context to composer when replying to post (#2419)Hailey2024-01-085-29/+259
| | | | | | | | | | | | | | | * 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
* Application Layout Framework (#1732)Eric Bailey2024-01-082-0/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-046-46/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix: Web design issues (#2377) (#2410)Eric Bailey2024-01-031-1/+1
| | | | | | | * 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>
* 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-024-59/+109
| | | | | | | | | | | | | * 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
* 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