about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* [Video] Uploads (#4754)Hailey2024-07-304-112/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * state for video uploads * get upload working * add a debug log * add post progress * progress * fetch data * add some progress info, web uploads * post on finished uploading (wip) * add a note * add some todos * clear video * merge some stuff * convert to `createUploadTask` * patch expo modules core * working native upload progress * platform fork * upload progress for web * cleanup * cleanup * more tweaks * simplify * fix type errors --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Boolean filter improvement alternative: TS upgrade (#4840)Dmitrii Kartashev2024-07-261-1/+1
| | | | | * upgrade typescript and use new feature * fix: typing error
* Improve a11y on noty feed (#4842)Eric Bailey2024-07-252-18/+26
|
* Add labels to a few missing places (#4838)Eric Bailey2024-07-255-6/+17
|
* `true` (#4833)Hailey2024-07-251-32/+30
|
* Replace `import hairlineWidth =` with const (#4831)Samuel Newman2024-07-2526-99/+76
| | | | | | | | | * replace import with const * just use `StyleSheet.hairlineWidth` --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Videos] Video player - PR #1 - basic player (#4731)Samuel Newman2024-07-258-32/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add ffmpeg-kit-react-native * get select video button + compression working * up res to 1080p * add progress component * move logic out of compressVideo * (WIP) add lonestar compression * rework web compression a bit * mess around with adding a thumbnail * 3mbps * replace * use 3mbps * add expo-video * remove unnecessary try/catch * rm ToastAndroid * fix web * wrap lazy component in suspense * gate video select button * rm web compression * flip sign * remove expo-video from web * review nits * add video picker permissions + rm temp buttons * add ffmpeg-kit-react-native * replace * hls-capable player * start trying to hoist up video player instance * hoist video player and move things around * always show native controls * fix controls on expo video android * gate temp video player in feed * rm IS_DEV, doesn't do what I thought it did * use __DEV__ instead --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Fix sloppy filter(Boolean) types (#4830)dan2024-07-252-37/+56
| | | | | | | | | | | | | * Fix sloppy filter(Boolean) in threadgate * Fix sloppy filter(Boolean) in Explore * Fix sloppy filter(Boolean) in post-feed * Harden FeedPostSliceItem.reason type def * Harden parentAuthor types * Fix lying component types, handle blocks
* Fuggedaboudit (#4829)Eric Bailey2024-07-251-3/+1
|
* make some settings screens scrollable for accessibility (#4819)Hailey2024-07-241-3/+3
| | | | | * make settings scrollable for accessibility * nit
* make toast shorter (#4821)Hailey2024-07-241-1/+1
|
* Modernise thread/following feed settings screen (#4797)Samuel Newman2024-07-244-148/+90
| | | | | | | | | | | * fix web * show back button on tablet for certain settings screens * move headers to inside of scrollview --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Priority notifications (#4798)Samuel Newman2024-07-243-42/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use consistent index for reading last item (#4817)dan2024-07-241-2/+2
|
* Hack-modify avi path to use smaller thumbs behind gate (#4816)Paul Frazee2024-07-231-2/+24
| | | | | * Hack-modify avi path to use smaller thumbs behind gate * Only use small thumbs on smaller rendering
* Native toast rework (#4808)Samuel Newman2024-07-231-69/+75
| | | | | | | | | * rework toast to use reanimated * fix animation on iOS --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-2322-57/+74
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Replace incongruous buttons in drawer (#4772)Eric Bailey2024-07-121-34/+24
| | | | | * Replace incongruous buttons in drawer * Improve a11y help
* Fix: emoji picker closes when hitting spacebar (#4422) (#4441)Michał Gołda2024-07-111-21/+23
| | | | Co-authored-by: Hailey <me@haileyok.com>
* `Reposted by you` and `Reply to you` (#4478)Minseo Lee2024-07-112-35/+62
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Create shared preferences API (#4654)Hailey2024-07-111-0/+13
|
* [ALF] Theme & palette cleanup (#4769)Eric Bailey2024-07-112-23/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* ALF post button (#4767)Hailey2024-07-101-38/+35
|
* Fix alt text for GIFs (#4766)Hailey2024-07-102-4/+18
| | | | | * fix alt text dialog for gifs * only apply to native
* Add social proof to suggested follows (#4602)Samuel Newman2024-07-092-69/+49
| | | | | | | | | | | | | * replace unused `followers` prop with social proof * Introduce 'minimal' version * Gate social proof one explore page, fix space if no desc * Use smaller avis for minimal --------- Co-authored-by: Eric Bailey <git@esb.lol>
* tweak top padding external (#4755)Hailey2024-07-091-4/+8
|
* change `contentVisibility` to `contain` (#4752)Hailey2024-07-083-25/+29
|
* Fix RTL text rendering for display names (#4747)Hailey2024-07-086-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | * header display name rtl support * highlighted post rtl * move `NON_BREAKING_SPACE` to an external constant * rtl support in search dropdown * profile card rtl * old profile card rtl * hover card * wizard list card * new chat * account card * chat header * clean up notifications * just force LTR on meta display name
* Fix misplaced '@' in RTL post meta. (#4531)Joel2024-07-071-1/+3
| | | | | Co-authored-by: Joel <joel.garplind+github@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Ensure `/start` navigates to `/starter-pack` when clicking a link internally ↵Hailey2024-07-071-29/+27
| | | | | | | (#4745) * remove temporary metadata removal * ensure proper navigation
* Video compression in composer (#4638)Samuel Newman2024-07-0512-33/+361
| | | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* fix slop (#4739)Hailey2024-07-051-19/+32
|
* [D1X] Use user action and viewing history to inform suggested follows (#4727)Eric Bailey2024-07-041-26/+1
| | | | | | | | | | | | | * Use user action and viewing history to inform suggested follows * Remove dynamic spreads * Track more info about seen posts * Add ranking --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix order of checks in experiment (#4734)dan2024-07-041-3/+4
|
* Feed interstitial tweaks (#4733)dan2024-07-041-2/+2
| | | | | * Swap interstitial positions * Fix color
* Fix `onEndReached` not firing sometimes on web (#4728)Hailey2024-07-042-10/+2
| | | | | | | | | | | | | | | * handle off screen visibility observer. * Revert "handle off screen visibility observer." This reverts commit e499ea0ed66b31964f79261b41f58a288b0cdb6f. * key ftw * Remove special case --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix feed feedback (#4730)dan2024-07-041-0/+8
|
* [D1X] Pull out follow-backs for higher signal (#4719)Eric Bailey2024-07-041-2/+13
| | | | | | | | | | | * Pull out follow-backs for higher signal * Gate it * Fix early gate check --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* New user progress guides (#4716)Paul Frazee2024-07-043-12/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add starter pack embeds to posts (#4699)Hailey2024-07-042-0/+25
| | | | | | | | | | | | | | | | | | | | | | | * starter pack embeds * revert test code * Types * add `BaseLink` * precache on click * rm log * add a comment * loading state * top margin --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Guided tour for new users (#4690)Paul Frazee2024-07-026-28/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add home guided tour (WIP) * Add web handling of the tour * Switch to our fork of rn-tourguide * Bump guided-tour * Fix alignment on android * Implement home page tour trigger after account creation * Add new_user_guided_tour gate * Add a title line to the tour tooltips * A11y improvements: proper labels, focus capture, scroll capture * Silence type error * Native a11y * Use FocusScope * Switch to useWebBodyScrollLock() --------- Co-authored-by: Eric Bailey <git@esb.lol>
* change maxWidth -> width to fix GIFs in DMs (#4717)Samuel Newman2024-07-031-5/+2
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [D1X] Integrate interstitials (#4698)Eric Bailey2024-07-031-31/+192
| | | | | | | | | | | | | | | * Use discriminated union * Integrate interstitials * Add gates and handling for variants * Only show interstitials for logged in accounts since flags are based on user ID * Nit --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [D1X] Add interstitials, component tweaks, placeholders (#4697)Eric Bailey2024-07-032-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add interstitials, component tweaks, placeholders * Tweak feed card styles * Port over same fix to ProfileCard * Add browse more link on desktop * Rm Gemfile * Update logContext * Update logContext * Add click metric to cards * Pass through props to ProfileCard.Link * 2-up grid for profile cards on desktop web * Add secondary_inverted button color * Use inverted button color * Adjust follow button layout * Update skeleton * Use round button * Translate
* Remove search from disabled PWI state (#4723)Eric Bailey2024-07-031-1/+6
|
* Unify label pills (#4676)Eric Bailey2024-07-032-45/+9
| | | | | | | | | | | | | | | * New label pills * Fix type errors, add default case * Remove negative margin, only works in some places * Fix alignment edge case * Add a bit of padding --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add dismiss backdrop to native dropdowns (#4711)dan2024-07-011-65/+98
|
* FeedCard & ListCard cleanups (#4644)Eric Bailey2024-06-285-25/+37
| | | | | | | | | | | | | | | * Extract ListCard from FeedCard * Export FeedCard.Action and optionally include in ListCard * Remove list dual usage from most of FeedCard * Update usages of FeedCard and ListCard * Add back list purpose logic * Make Action comp easier to use, clarify list purpose * Rename Action to SaveButton
* Fix pasting images on web (#4670)dan2024-06-271-8/+7
|
* Better starterpack embed (#4659)Hailey2024-06-262-29/+60
|