about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
* Don't animate images that will be posted as JPGs (#8760)Samuel Newman2025-07-311-0/+5
| | | | | | | | | | | * don't play gifs that'll be png'd * add media inset border * fix unnecessary typecast * Revert "fix unnecessary typecast" This reverts commit 3a8bcc92774d83f6ece0577f919f527cd920761b.
* Some toasts cleanup and reorg (#8748)Eric Bailey2025-07-314-606/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorg * Move animation into css file * Update style comment * Extract core component, use platform-specific wrappers * Pull out platform specific styles * Just move styles into Toast component itself * Rename cleanup * Update API * Add duration optional prop * Add some type docs * add exp eased slide aniamtions * Make toasts full width on mobile web --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Mark old components as deprecated (#8747)Samuel Newman2025-07-308-27/+85
| | | | | | | * mark a bunch of stuff as deprecated * mark s as deprecated (serverence reference????) * rm type import
* Convert old toast types to new ones, mark as deprecated (#8746)Samuel Newman2025-07-303-16/+62
| | | | | | | * convert old types to new types * add depreciation warning for old warnings * rm as consts
* Fix dataSet for noFeedback links (#8745)Samuel Newman2025-07-301-14/+8
| | | | | | | * fix dataSet for noFeedback links * rm memo * rm useless spread
* Merge pull request #8744 from internet-development/@APiligrim/update-toastjim2025-07-303-18/+31
|\ | | | | hot fix: imports for toast and alignment
| * update type errorsAna2025-07-303-5/+16
| |
| * update: lint fixes for toast.tsxAna2025-07-301-9/+10
| |
| * update: toast style after lintAna2025-07-301-1/+1
| |
| * update sortingAna2025-07-303-15/+16
| |
| * update: imports for toastAna2025-07-302-3/+3
| |
* | Merge pull request #8743 from internet-development/@APiligrim/update-toastjim2025-07-291-0/+167
|\| | | | | [APP-1345] Hot fix: add toast.style file
| * add: Toast.styleAna2025-07-291-0/+167
| |
* | Merge pull request #8734 from internet-development/@APiligrim/update-toastjim2025-07-292-84/+154
|\| | | | | [APP-1345] Update Toast UI on the web and add to storybook
| * update: toast styles that reuse consistent styleAna2025-07-292-199/+131
| |
| * update: web toastAna2025-07-282-20/+158
| |
* | fix some auto complete issuesChenyu Huang2025-07-241-4/+5
| |
* | fix: general profile component layout fixes, and ability to disable the ↵Elijah Seed-Arita2025-07-241-2/+4
| | | | | | | | inset border for UserAvatar (#8711)
* | add margin between messages in the composer thread (#8691)Chenyu2025-07-211-0/+5
|/
* Nicer error message for backend video too large error (#8596)Samuel Newman2025-07-211-6/+12
| | | | | * nicer error message for backend video too large * use same string for same error
* Age assurance fast-follows (#8656)Eric Bailey2025-07-171-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add feed banner * Comment * Update nux name * Handle did error * Hide mod settings if underage or age restricted * Add metrics * Remove DEV override * Copy suggestion * Small copy edits * useState * Fix bug * Update src/components/ageAssurance/useAgeAssuranceCopy.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Get rid of debug button --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* fix whitespace collapse (#8659)Samuel Newman2025-07-171-1/+3
|
* Fix navigation (#8648)Samuel Newman2025-07-151-0/+1
|
* Fix perf issue on web - restore pop behaviour to tabs (#8620)Samuel Newman2025-07-151-2/+3
|
* fix mention tab flicker (#8640)Samuel Newman2025-07-122-1/+8
|
* Fix quote+list card padding (#8623)Samuel Newman2025-07-094-308/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix quote padding not being pressable * fix list padding not being pressable * Fix unnecessary loading of feeds (#8578) * stop layout shifts in feed loading * don't load feed data if we already have it * adjust styles, alf stuff * remove unused button, massively simplify * fix layout shifting in notifs * use feedcard for feed post embeds * use bold text to match other style * use Link component rather than jank Pressable * prevent nested anchors in notifs * match following text size * add space between content hider * Better dead feed handling (#8579) * add space between content hider * add handling for feeds that fail to load * cleanError, in case of network funkiness * handle deleted lists * split out missingfeed
* specify autocap (#8619)Samuel Newman2025-07-081-0/+3
|
* Activity notification settings (#8485)Samuel Newman2025-07-012-4/+55
| | | | | | Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: hailey <me@haileyok.com>
* enforce border radius on default avatar (#8577)Samuel Newman2025-07-011-4/+15
|
* Improve post spacing (#8589)Samuel Newman2025-07-011-2/+1
|
* Reduce composer font size (#8591)Samuel Newman2025-06-303-3/+3
|
* tweak string in ContentLanguagesSettings.tsx (#8582)surfdude292025-06-281-1/+1
|
* Fix video aspect ratio error - "Record/embed/aspectRatio/width cannot be ↵Samuel Newman2025-06-281-1/+1
| | | | less than 1" (#8571)
* Upgrade prettier to 3.6 (#8558)Samuel Newman2025-06-2310-71/+84
| | | | | | | * upgrade prettier * run prettier * more files
* Allow disabling replies (#8537)Samuel Newman2025-06-201-2/+2
|
* add scrollbars back on android (#8529)Samuel Newman2025-06-181-4/+4
|
* Modernise link warning dialog (#8243)Samuel Newman2025-06-184-192/+6
| | | | | | | | | * add link warning dialog * add copy for if sharing * delete old modal * get web working
* Delete some old dialogs (#8512)Eric Bailey2025-06-171-335/+0
| | | | | * Delete old EditProfile dialog * Delete old email verification dialogs
* Align avatar in reply prompt (#8501)Samuel Newman2025-06-161-9/+4
| | | | | * align avi in reply prompt * update skellie
* Use Button instead of TextLink for show more button (#8480)Samuel Newman2025-06-134-54/+33
| | | | | | | | | | | | | * use button instead of TextLink for show more * Match post text size, provide interaction feedback * Move to new Post components dir * Prettier --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Hover card on anchor displayName/handle (#8479)Samuel Newman2025-06-133-4/+4
| | | | | | | | | | | * add hover to anchor display name / handle * use newer link component * Wrap using a single hover element --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Port post embeds to new arch (#7408)Eric Bailey2025-06-1338-3804/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Direct port of embeds to new arch (cherry picked from commit cc3fa1f6cea396dd9222486c633a508bfee1ecd6) * Re-org * Split out ListEmbed and FeedEmbed * Split out ImageEmbed * DRY up a bit * Port over ExternalLinkEmbed * Port over Player and Gif embeds * Migrate ComposerReplyTo * Replace other usages of old post-embeds * Migrate view contexts * Copy pasta VideoEmbed * Copy pasta GifEmbed * Swap in new file location * Clean up * Fix up native * Add back in correct moderation on List and Feed embeds * Format * Prettier * delete old video utils * move bandwidth-estimate.ts * Remove log * Add LazyQuoteEmbed for composer use * Clean up unused things * Remove remaining items * Prettier * Fix imports * Handle nested quotes same as prod * Add back silenced error handling * Fix lint --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* new arch (#8295)hailey2025-06-1210-331/+359
| | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Charlotte Som <charlotte@som.codes> Co-authored-by: Hailey <me@haileyok.com>
* hide keyboard when backgrounding (#8450)Samuel Newman2025-06-111-0/+15
|
* Video - remove `MediaInsetBorder` when fullscreen (#8476)Samuel Newman2025-06-112-4/+4
| | | | | | | | | * lift up useFullscreen, hide mediainsetborder when fullscreen * Revert "lift up useFullscreen, hide mediainsetborder when fullscreen" This reverts commit 66b17657197e26d9b4c5c951e7cc9eef66519d6d. * just move border outside of div that gets fullscreened
* [Threads V2] Preliminary integration of unspecced V2 APIs (#8443)Eric Bailey2025-06-114-59/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * Sorting working * Rough handling of hidden/muted * Better muted/hidden sorting and handling * Clarify some naming * Fix parents * Handle first reply under highlighted/composer * WIP RaW * WIP optimistic * Optimistic WIP * Little cleanup, inserting dupes * Re-org * Add in new optimistic insert logic * Update types * Sorta working linear view optimistic state * Simple working version, no pref for OP * Working optimistic reply insertions, preference for OP * Ensure deletes are coming through * WIP scroll handling * WIP scroll tweaks * Clean up scrolling * Clean up onPostSuccess * Add annotations * Fix highlighted post calc * WIP kill me * Update APIs * Nvm don't kill me * Fix optimistic insert * Handle read more cases in tree view * Basically working read more * Handle linear view * Reorg * More reorg * Split up thread post components * New reply tree layout * Fix up traversal metadata * Tighten some spacing * Use indent ya idiot * Some linear mode cleanup * Fix lines on read more items * Vibe coding to success * Almost there with read mores * Update APIs * Bump sdk * Update import * Checkpoint new traversal * Checkpoint cleanup * Checkpoint, need to fix blocked posts * Checkpoint: think we're good, needs more cleanup * Clean it up * Two passes only * Set to default params, update comment * Fix render bug on native * Checkpoint parent rendering, can opt for slower handling here * Clean up parent handling, reply handling * Fix read more extra space * Fix read more in linear view * Fix hidden reply handling, seen count, before/after calc * Update naming * Rename Slice to ThreadItem * Add basic post and anchor skeletons * Refactor client-side hidden * WIP hidden fetching * Update types * Clean up query a bit * Scrolling still broken * Ok maybe fix scrolling * Checkpoint move state into meta query * Don't load remote hidden items unless needed * skeleton view * Reset hidden items when params change * Split up traversal and avoid multiple passes * Clean up * Checkpoint: handling exhausted replies * Clean up traversal functions further * Clean up pagination * Limit optimistic reply depth * Handle optimistic insert in hidden replies * Share root query key for easier cache extraction * Make blurred posts not look like ass * Fix double deleted item * Make optimistic deleted state not look like crap in tree view * Fix parents traversal 4 real * Rename tree post * Make optimistic deletions of linear posts not look bad * Rename linear post components * Handle tombstone views * Rename read more component * Add moreParents handling * Align interaction states of read more * Fix read more on FF * Tree view skeleton * Reply composer skele * Remove hack for showing more replies * Checkpoint: sort change scrolling fixed * Checkpoint: learned new things, reset to base * Feature gate * Rename * Replace show more * Update settings screen * Update pkg and endpoint * Remove console * Eureka * Cleanup last commit * No tests atm * Remove scroll provider * Clean up callbacks, better error state * Remove todo * Remove todo * Remove todos * Format * Ok I think scrolling is solid * Add back mobile compose input * Ok need to compute headerHeight every time * Update comments * Ok button up web too * Threads v2 tweaks (#8467) * fix error screen collapsing * use personx icon for blocked posts * Remove height/width * Revert unused Header change * Clarify code * Relate consts to theme values * Remove debug code * Typo * Fix debounce of threads prefs * Update metadata comments, dev mode * Missed a spot * Clean up todo * Fix up no-unauthenticated posts * Truncate parents if no-unauth * Update getBranch docs * Remove debug code * Expand fetching in some cases * Clear scroll need for root post to fix jump bug * Fix reply composer skeleton state * Remove uneeded initialized value * Add profile shadow cache * Some metrics * prettier tweak * eslint ignore * Fix optimistic insertion * Typo * Rename, comment * Remove wait * Counter naming * Replies seen counter for moderated sub-trees * Remove borders on skeleton * Align tombstone with optimistic deletion state * Fix optimistic deletion for thread * Add tree view icon * Rename * Cleanup * Update settings copy * Header menu open metric * Bump package * Better reply prompt (#8474) * restyle reply prompt * hide bottom bar border for cleaner look * use new border hiding hook in DMs * create `transparentifyColor` function * adjust padding * fix padding in immersive lpayer * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Integrate post-source (cherry picked from commit fe053e9b38395a4fcb30a4367bc800f64ea84fe9) --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Post source handling updates (#8472)Eric Bailey2025-06-113-23/+49
| | | | | | | | | | | | | | | | | * Add debugs * Key post-source using URI with handle * Enhance * EnHANCE * ENHANCE * ENHANCEEEECEE * ᵉⁿʰᵃⁿᶜᵉ * enhance
* Fix using screen names in `Link` (#8473)Samuel Newman2025-06-111-11/+3
| | | | | | | * use our router in favour of useLinkBuilder * test feature using Home header feeds button * handle non-string params properly
* Update react-navigation (#5967)dan2025-06-091-39/+44
|
* invert flag for sending to statsig (#8431)hailey2025-05-303-10/+22
|