about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Remove starterpack gate (#4645)Hailey2024-06-251-8/+1
|
* ensure we get navigated away to starter pack when signed in (#4640)Hailey2024-06-251-0/+17
| | | | | * ensure we get navigated away to starter pack when signed in * clean
* Resolve facets in feed description on feed lander (#4628)Eric Bailey2024-06-241-1/+3
|
* Composer - replace threadgate modal with alf dialog (#4329)Samuel Newman2024-06-244-236/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace threadgate modal with alf dialog * add accessibility to selectable * add aria * hide spinner once fetched * add `hasOpenDialogs` value to context * remove state * Rm loading state * Update the threadgate dialog button theming * Factor out the threadgate editor and add editing to post views * Mark messages for localization * Use colors from mute dialog * Remove unnecessary effect * Reset state on dialog dismiss * Clearer CTA * Fix bugs * Scope keyboard fix * Rm getAreDialogsActive (no longer needed) --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* use granular permission of for media perm request (#4609)Hailey2024-06-242-2/+4
|
* Remove the 'Who can reply' element except when viewing root, and add "edit" ↵Paul Frazee2024-06-242-546/+150
| | | | | | | (#4615) * Remove the 'Who can reply' element except when viewing root, and add the edit text to authors * Switch to icon
* add missing prop... (#4601)Hailey2024-06-221-0/+1
|
* Starter Packs (#4332)Hailey2024-06-2110-82/+210
| | | | | | | 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>
* Tweak feed card to prevent spinnerz when pushing to screen (#4600)Hailey2024-06-213-79/+67
|
* Add debug feedContext label (#4598)dan2024-06-221-0/+29
|
* Pinned feeds cards (#4526)Eric Bailey2024-06-223-205/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists support to FeedCard * Add useSavedFeeds query, similar to usePinnedFeedInfos * Integrate into Feeds screen * Fix alignment on mobile * Update usages * Add placeholder loading state * Handle no feeds state * Reuse previous data for placeholder * Staged loading * Improve staged loading * Use setQueryData approach to pre-caching * Add types for a little more safety * Fix precaching --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fetch more than 3 suggested follows after first load (#4595)Eric Bailey2024-06-211-6/+19
| | | | | * Fetch more than 3 sugg follows after first load * Preview handling via overfetching
* center pill text in label pill (#4579)Hailey2024-06-201-0/+1
| | | | | * center pill text * undo
* Wait for AppView when posting (#4584)dan2024-06-201-0/+34
|
* Merge #4492, fixes profile menu hover (#4580)Eric Bailey2024-06-202-18/+18
| | | | | | | | | | | | | | | | | * Fix button hover color (#4492) * Update ProfileMenu.tsx * Update Button.tsx * Update ProfileFeed.tsx * Update ProfileFeed.tsx * Re-add change post conflict --------- Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
* Rework "Who can reply" to blend more nicely into the UI (#4578)Paul Frazee2024-06-194-168/+295
| | | | | | | | | | | | | * Rework WhoCanReply controls in threads to blend more nicely * Fix layout * Fix post control hitslops * Move dialog content to separate component --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix threadgate read after write (#4577)dan2024-06-191-4/+39
| | | | | * Fix threadgate read-after-write problem * Fix React key (drive-by)
* use 1000x1000 for image height in avatar cropper (#4453)Hailey2024-06-201-2/+2
|
* Update HomeHeaderLayoutMobile.tsx (#4572)Samuel Newman2024-06-201-0/+1
|
* Option for large alt badges (#4571)Samuel Newman2024-06-204-32/+46
| | | | | | | | | | | | | * add pref for large alt badge * add to settings * do the large badge bit * Tweak wording --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Truncate post metrics and fix truncation on native (#4575)Samuel Newman2024-06-203-20/+25
| | | | | | | | | | | | | | | * truncate post counts * add numberformat polyfill * Fix perf * Simplify type shenanigans * Bump versions to remove dupes --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add support for `ListEmptyComponent`, allow `undefined` data (#4403)Hailey2024-06-191-24/+39
| | | | | | | * add support for `ListEmptyComponent`, allow `undefined` data * change `header` and `footer` to be in line with `emptyComponent` * don't render `onEndReached` or `onStartReached` `Visibility` if empty