about summary refs log tree commit diff
path: root/src/state/models/ui
Commit message (Collapse)AuthorAgeFilesLines
* Fix to feeds view in profiles (#1171)Paul Frazee2023-08-151-15/+8
| | | | | * Fix load of feeds tab * Add e2e test for profile feeds
* Adds profile media tab (#1137)Eric Bailey2023-08-101-10/+44
| | | | | | | | | | | | | | | | | * add media tab * fix loading state * cleanup * update naming * upgrade api package * fix load state * add scroll view to tabs * fix overflow on mobile web
* Add self-labeling controls (#1141)Paul Frazee2023-08-092-23/+31
| | | | | | | | | | | | | | | * Add self-label modal * Use the shield-exclamation icon consistently on post moderation * Wire up self-labeling * Bump @atproto/api@0.6.0 * Bump @atproto/dev-env@^0.2.3 * Add e2e test for self-labeling * Fix types
* Labeling & moderation updates [DRAFT] (#1057)Paul Frazee2023-08-032-3/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass moving to the new labeling sdk (it compiles) * Correct behaviors around interpreting label moderation * Improve moderation state rendering * Improve hiders and alerts * Improve handling of mutes * Improve profile warnings * Add profile blurring to profile header * Add blocks to test cases * Render labels on profile cards, do not filter * Filter profiles from suggestions using moderation * Apply profile blurring to ProfileCard * Handle blocked and deleted quote posts * Temporarily translate content filtering settings to new labels * Fix types * Tune ContentHider & PostHider click targets * Put a warning on profilecard label pills * Fix screenhider learnmore link on mobile * Enforce no-override on user avatar * Dont enumerate profile blur-media labels in alerts * Fixes to muted posts (esp quotes of muted users) * Fixes to account/profile warnings * Bump @atproto/api@0.5.0 * Bump @atproto/api@0.5.1 * Fix tests * 1.43 * Remove log * Bump @atproto/api@0.5.2
* List cleanup on remove (#1069)Foysal Ahamed2023-07-281-1/+4
| | | | | | | | | * :lipstick: Hide Add to List option on own profile * :sparkles: Remove Lists tab when last list is removed * :sparkles: Add listener to list delete on profile screen * :sparkles: Only show save changes in list modal when changes are made
* [APP-782] Support invalid handles correctly (#1049)Paul Frazee2023-07-271-0/+1
| | | | | | | | | | | | | | | | | | | * Update profile link construction to support handle.invalid * Update list links to support using handles * Use did for isMe check to ensure invalid handles dont distort the check * Shift the red (error) colors away from the pink spectrum * Add ThemedText helper component * Add sanitizedHandle() helper to render invalid handles well * Fix regression: only show avatar in PostMeta when needed * Restore the color of likes * Remove users with invalid handles from default autosuggests
* [APP-775] Add Welcome screen after account creation (#1038)Ansh2023-07-192-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add comments to step 1-3 * add onboarding screen * add analytics for onboarding tracking * fix useEffect * change text * change icon size * put onboarding into bottom sheet modal instead of react navigation * wip * Simplify the type validation * Fix: only trigger onboarding modal when account creation succeeds * Add the 'session-ready' event which fires when the new session is stable * Use the 'session-ready' event to trigger the onboarding modal * update copy * update copy --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* wrap interval in runInAction (#1037)Eric Bailey2023-07-191-2/+4
|
* #984 Updating `indexedAt` timestamps (#1024)Eric Bailey2023-07-191-0/+9
| | | | | | | | | * add TimeElapsed util component, integrate into PostThreadItem * integrate into posts * use consistent naming * use mobx and single interval for TimeElapsed
* Fixes and improvements to the Profile Preview modal (#992)Paul Frazee2023-07-071-0/+18
| | | | | | | | | | | | | * Fix: use more reliable navigation method * Fix: show lightbox over the active modal * Fix: close the profile preview on navigation * Factor out UserPreviewLink and add preview behavior to notifications * Fix postmeta overflow on web * Fix lint
* Post UI updates (Profile Preview on mobile) (#990)Paul Frazee2023-07-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | * Update postmeta to put the timestamp on the right side on mobile * Drop the two-line PostMeta mode * Add ProfilePreview modal * Tune PostMeta to give the best behavior possible for a given platform * Remove old showFollowBtn attributes * Fix style issue * Switch the follow button in the profile header to use the inverted color for consistency with the rest of the app * Fix lint * Fix darkmode * Tune the profile preview footer * Better analytics choice
* [APP-735] Post language improvements (#982)Paul Frazee2023-07-061-0/+4
| | | | | | | | | | | | | | | | | * Fix composer character-counter bouncing around UI elements * Fix composer toolbar padding when keyboard is dismissed on iOS * Use the full name of the language in the composer footer * Add headings to the DropdownButton * Update the composer language control to use a simpler dropdown * Fix lint * Add translate link to Post component used in notifications * Fix lint
* Add alt text validation option to user preferences (supersedes #913) (#914)Paul Frazee2023-07-031-0/+13
| | | | | | | | | | | | | * Add alt text validation option to user preferences * Fix typos/linting issues * Update accessibility setting to match styles * Update the required alt text reminder to go away once it's added --------- Co-authored-by: Emma Fuller <emma@emmafuller.dev>
* Include a notice during account creation for under-18 users (#927)Paul Frazee2023-06-301-1/+9
|
* [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-272-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * export track function from analytics.tsx * fix create account tracking * fix tracking sign in * add custom feed events * fix type errors * refactor create post event * add profile follow & unfollow events * refactor PostsFeedSliceModel into its own file * refactor PostThreadItemModel into its own file * reorganize code a lil bit * refactor post-thread-item to use post-feed-item model under the hood * add post events * add post reply tracking * track custom feed load more * track list subscribe and unsubscribe
* make discard btn more apparent in UI (#912)Ansh2023-06-261-0/+3
|
* [APP-690] better handling of post languages language filtering (#893)Ansh2023-06-232-10/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add SelectLangBtn * memoized objects that are created to reduce re-creation on re-render * add langs when uploading post * only send the top 3 languages otherwise backend will throw error * mv ContentLanguagesSettings to folder * add post languages settings modal and state * fix typos * modify feed manip to also check langs label on post * Fix tests * Remove log * Update feed-manip.ts * Fix syntax errors * UI tuneups * Show the currently selected languages in the composer * fix linting * Use a bcp-47 matching function * Fix a duplicate language issue * Fix web * Dont include lang in prompt * Make select language btn an observer * Keep device languages on top of language selection UIs * Fix android build settings * Enforce a max of 3 languages in posts * Fix tests * Fix types --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* feat: add home feed preferences settings modal and tunersEric Bailey2023-06-162-0/+53
|
* add error handling to updateCache for saved-feeds (#878)Ansh2023-06-141-9/+19
|
* Fix a bunch of type errors and add a type-check to the github workflows (#837)Paul Frazee2023-06-021-3/+9
| | | | | | | | | | | | | | | * Add yarn type-check * Rename to yarn typecheck * Fix a collection of type errors * Add typecheck to automated tests * add `dist` to exluded folders tsconfig --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Fixes to feed preference and state sync [APP-678] (#829)Paul Frazee2023-06-012-116/+160
| | | | | | | | | * Remove extraneous custom-feed health check * Fixes to custom feed preference sync * Fix lint * Fix to how preferences are synced to enable membership modifications
* Merge branch 'main' into inherit_system_themeJaz2023-05-304-15/+365
|\
| * rename Algos to Feeds on profileAnsh Nanda2023-05-251-1/+1
| |
| * slight performance improvementsAnsh Nanda2023-05-232-2/+10
| |
| * add button to reset preferences in dev modeAnsh Nanda2023-05-231-0/+32
| |
| * update pinned feed from custom feed viewAnsh Nanda2023-05-221-2/+8
| |
| * Only show algos and lists on profiles if there are itemsPaul Frazee2023-05-181-8/+9
| |
| * Fix lintPaul Frazee2023-05-181-1/+0
| |
| * Set default feedsPaul Frazee2023-05-181-2/+32
| |
| * Update saved feeds to use preferencesPaul Frazee2023-05-183-27/+57
| |
| * Store/sync pinned feeds on the serverPaul Frazee2023-05-182-148/+136
| |
| * Improve pinned feed managementPaul Frazee2023-05-171-1/+1
| |
| * Usability improvements to feedsPaul Frazee2023-05-171-10/+10
| |
| * Add 'my feeds' tabPaul Frazee2023-05-171-21/+23
| |
| * Clean up the custom-feed modelPaul Frazee2023-05-171-10/+4
| |
| * Unify the display name fallback behaviorPaul Frazee2023-05-171-6/+2
| |
| * Reorganize custom feeds in the view layerPaul Frazee2023-05-171-4/+0
| |
| * Reorganize custom-feed state models and add the missing _reactKey attributePaul Frazee2023-05-172-1/+250
| |
| * Merge branch 'main' into custom-algosPaul Frazee2023-05-173-7/+119
| |\
| * | create algo-item model and redefine data modelsAnsh Nanda2023-05-131-1/+1
| | |
| * | show algos by user on profileAnsh Nanda2023-05-121-4/+26
| | |
* | | Feat: Use system default color mode, but allow user overrideJaz2023-05-161-6/+6
| |/ |/|
* | [APP-643] Account preferences server sync (#615)Paul Frazee2023-05-111-4/+80
| | | | | | | | | | | | | | * Bump deps * Bump deps * Add server sync of content preferences and an adult content toggle
* | [APP-635] Mutelists (#601)Paul Frazee2023-05-112-3/+42
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists and profilelist screens * Implement lists screen and lists-list in profiles * Add empty states to the lists screen * Switch (mostly) from blocklists to mutelists * Rework: create a new moderation screen and move everything related under it * Fix moderation screen on desktop web * Tune the empty state code * Change content moderation modal to content filtering * Add CreateMuteList modal * Implement mutelist creation * Add lists listings * Add the ability to create new mutelists * Add 'add to list' tool * Satisfy the hashtag hyphen haters * Add update/delete/subscribe/unsubscribe to lists * Show which list caused a mute * Add list un/subscribe * Add the mute override when viewing a profile's posts * Update to latest backend * Add simulation tests and tune some behaviors * Fix lint * Bump deps * Fix list refresh after creation * Mute list subscriptions -> Mute lists
* Update web image editor (#588)Ollie H2023-05-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | * Update web image editor * Delete type-assertions.ts * Re-add getKeys * Uncomment rotation code * Revert "Uncomment rotation code" This reverts commit 6269f3b928c2e5cacaf5d0ff5323fe975ee48eab. * Shuffle dependencies and update mobile resolution * Update ImageEditor modal layout for mobile * Avoid accidental closes of the EditImage modal --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* [APP-639] Improve nsfw handling & force hidden on iOS (#605)Paul Frazee2023-05-091-4/+11
| | | | | | | | | | | * Identify adult content labels and handle them more specifically * Change adult content defaults to more conservative settings * Add an adultcontentenabled override that prohibits access on iOS * Improve usability of the content hider * Fix lint
* [APP-615] COPPA-compliant signup (#570)Paul Frazee2023-05-081-5/+14
| | | | | | | | | * Rework account creation to be COPPA compliant * Fix lint * Switch android datepicker to use the spinner mode * Fix type signatures & usages
* Add the !filter and !warn imperative labels (#580)Paul Frazee2023-05-041-1/+10
|
* [APP-539] Rework lightbox and alt-image behaviors (#573)Paul Frazee2023-05-041-9/+8
| | | | | | | | | | | | | | | | | | | | | * Replace the long press on the lightbox with footer controls * Remove long-press from images in the feed * Tune the lightbox footer control ui * Replace the AltImageRead modal with the ability to view all alt text in the lightbox footer * Tune lightbox footer for iOS * Add alt text to the web lightbox * Fix lint * a11y slight changes --------- Co-authored-by: renahlee <renahlee@outlook.com>
* [APP-549] Language controls for Whats Hot (#563)Paul Frazee2023-05-022-16/+28
| | | | | | | | | | | * Add a content-language preference control * Update whats hot to only show the selected languages and to refresh on lang pref changes * Fix lint * Fix tests * Add missing accessibility role