about summary refs log tree commit diff
path: root/src/state/models/ui
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add keyboard shortcuts: new, escape, and hard break (#552)Ollie H2023-05-021-1/+2
| | | | | | | | | | | | | | | | | | | | | * Add keyboard shortcuts: new, escape, and hard break * Add preferences modal * Remove code accidentally re-added due to rebase * Fix incorrect copy and lint * Put stuff back so diffs are clearer * Re-add invite codes to settings * Address comments * Tune the copy --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Pre-web image changes refactor (#560)Ollie H2023-05-021-2/+2
| | | | | * Pre-web image changes refactor * Remove unneeded async behavior
* Image alt text view modal (#551)Ollie H2023-05-011-1/+7
| | | | | | | | | * Image alt text view modal * Minor style tweaks --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Load previous state in alt text modal (#546)Ollie Hsieh2023-04-271-0/+1
|
* Performance fixes with new getPosts (#525)Paul Frazee2023-04-241-4/+19
| | | | | | | | | * Update notifications to fetch in a batch using getPosts * Improve search perf with getPosts * Bump @atproto/api@0.2.9 * Just use post uri for key
* Android fixes (#515)Paul Frazee2023-04-221-0/+24
| | | | | | | | | * Fix profile screen performance on android and remove dead code * Correctly handle android hardware back btn * Fix EditProfile modal for android * Fix lint
* [APP-522] Create & revoke App Passwords within settings (#505)Ansh2023-04-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * create and delete app passwords * add randomly generated name * Tweak copy and layout of app passwords * Improve app passwords on desktop web * Rearrange settings * Change app-passwords route and add to backend * Fix link * Fix some more desktop web * Remove log --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add alt text support and rework image layout (#503)Ollie Hsieh2023-04-211-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | * Add alt text support and rework image layout * Add additional BottomSheet implementation to account for nested Composer modal * Use mobile gallery layout on mobile web * Missing key * Fix lint * Move altimage modal into the standard modal system * Fix overflow wrapping of images * Fixes to the alt-image modal * Remove unnecessary switch * Restore old imagelayoutgrid code --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* [APP 513] Label tuning (#496)Paul Frazee2023-04-191-1/+3
| | | | | * Label updates: break out sexual into 3 categories; tune defaults; improve descriptions * Fix misapplication of warning in notifications
* Split image cropping into secondary step (#473)Ollie Hsieh2023-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split image cropping into secondary step * Use ImageModel and GalleryModel * Add fix for pasting image URLs * Move models to state folder * Fix things that broke after rebase * Latest -- has image display bug * Remove contentFit * Fix iOS display in gallery * Tuneup the api signatures and implement compress/resize on web * Fix await * Lint fix and remove unused function * Fix android image pathing * Fix external embed x button on android * Remove min-height from composer (no longer useful and was mispositioning the composer on android) * Fix e2e picker --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add first round of labeling tools (#467)Paul Frazee2023-04-122-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework notifications to sync locally in full and give users better control * Fix positioning of load more btn on web * Improve behavior of load more notifications btn * Fix to post rendering * Fix notification fetch abort condition * Add start of post-hiding by labels * Create a standard postcontainer and improve show/hide UI on posts * Add content hiding to expanded post form * Improve label rendering to give more context to users when appropriate * Fix rendering bug * Add user/profile labeling * Implement content filtering preferences * Filter notifications by content prefs * Update test-pds config * Bump deps
* Add user invite codes (#393)Paul Frazee2023-04-051-0/+5
| | | | | | | | | | | * Add mobile UIs for invite codes * Update invite code UIs for web * Finish implementing invite code behaviors (including notifications of invited users) * Bump deps * Update web right nav to use real data; also fix lint
* Rework the me.follows cache to reduce network load (#384)Paul Frazee2023-04-031-0/+3
|
* Reorganize state models for clarity (#378)Paul Frazee2023-04-032-11/+11
|
* Lex refactor (#362)Paul Frazee2023-03-314-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the hackcheck for upgrades * Rename the PostEmbeds folder to match the codebase style * Updates to latest lex refactor * Update to use new bsky agent * Update to use api package's richtext library * Switch to upsertProfile * Add TextEncoder/TextDecoder polyfill * Add Intl.Segmenter polyfill * Update composer to calculate lengths by grapheme * Fix detox * Fix login in e2e * Create account e2e passing * Implement an e2e mocking framework * Don't use private methods on mobx models as mobx can't track them * Add tooling for e2e-specific builds and add e2e media-picker mock * Add some tests and fix some bugs around profile editing * Add shell tests * Add home screen tests * Add thread screen tests * Add tests for other user profile screens * Add search screen tests * Implement profile imagery change tools and tests * Update to new embed behaviors * Add post tests * Fix to profile-screen test * Fix session resumption * Update web composer to new api * 1.11.0 * Fix pagination cursor parameters * Add quote posts to notifications * Fix embed layouts * Remove youtube inline player and improve tap handling on link cards * Reset minimal shell mode on all screen loads and feed swipes (close #299) * Update podfile.lock * Improve post notfound UI (close #366) * Bump atproto packages
* Filter content by your device's configured languages (#354)Paul Frazee2023-03-221-0/+39
|
* Add fulltext search for posts and profiles (closes #340) (#342)Paul Frazee2023-03-211-0/+51
| | | | | | | | | | | | | | | * Refactor mobile search screen * Remove 'staleness' fetch trigger on search * Implement a temporary fulltext search solution * Add missing key from profile search result * A few UI & UX improvements to the search suggestions * Update web search suggestions * Implement search in web build
* Add custom feeds selector, rework search, simplify onboarding (#325)Paul Frazee2023-03-191-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Get home screen's swipable pager working with the drawer * Add tab bar to pager * Implement popular & following views on home screen * Visual tune-up * Move the feed selector to the footer * Fix to 'new posts' poll * Add the view header as a feed item * Use the native driver on the tabbar indicator to improve perf * Reduce home polling to the currently active page; also reuse some code * Add soft reset on tap selected in tab bar * Remove explicit 'onboarding' flow * Choose good stuff based on service * Add foaf-based follow discovery * Fall back to who to follow * Fix backgrounds * Switch to the off-spec goodstuff route * 1.8 * Fix for dev & staging * Swap the tab bar items and rename suggested to what's hot * Go to whats-hot by default if you have no follows * Implement pager and tabbar for desktop web * Pin deps to make expo happy * Add language filtering to goodstuff
* Refactor feed manipulation and rendering to be more robust (#297)Paul Frazee2023-03-161-1/+1
|