about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Dont suggest users that are muted or blocked (close #1185) (#1209)Paul Frazee2023-08-172-6/+28
|
* default translate to device language (#1207)Eric Bailey2023-08-174-10/+5
|
* Update the web composer textinput to an emitter (close #1193) (#1205)Paul Frazee2023-08-172-15/+26
| | | | | | | The tiptap useEditor() hook creates an awkward challenge for passing event handlers into its plugins and native events. By introducing a memoized editor, we should be able to shuttle events out of tiptap without retriggering the useEditor hook. The emitter can then change its registered handlers with each state update.
* A set of composer fixes (#1187)Paul Frazee2023-08-165-42/+66
| | | | | | | * Don't insert a newline on cmd+entrl (close #1173) * Don't linkify selected text on url-paste (close #1149) * Disable the adult content controls if there is no media on the post (close #1169)
* Shorten links in composer to reduce char usage (#1188)Paul Frazee2023-08-165-25/+66
| | | | | | | * Modify toShortUrl() to always include the full domain * Shorten links in the composer to save on characters * Apply some limits to the link card suggester
* Tune link card font sizes on desktopPaul Frazee2023-08-161-2/+2
|
* Tune up the link card to look nicer, show more info, and layout horizontally ↵Paul Frazee2023-08-162-17/+36
| | | | on web to user space more nicely (#1190)
* Fix to "Load new posts" showing sometimes when there's nothing new to show ↵Paul Frazee2023-08-162-3/+12
| | | | | | | (#1191) * Fix to feed item react key value (hopefully) * Fix false-firing of load more (close #1028)
* Fix tap target size of post dropdown menus (#1180)Paul Frazee2023-08-158-113/+55
|
* use greater of indexedAt or machine clock (#1182)Eric Bailey2023-08-151-5/+16
| | | | | * use greater of indexedAt or machine clock * correct mobx usage
* Remove view selector offsetting (close #1174) (#1183)Paul Frazee2023-08-151-5/+3
| | | | | * Remove view selector offsetting (close #1174) * Remove horizontal scroll indicator in view selector
* Fix link color in dark mode (close #1170) (#1184)Paul Frazee2023-08-151-0/+1
|
* :sparkles: Repurpose report post modal and re-use for list reporting (#1070)Foysal Ahamed2023-08-1515-348/+310
| | | | | | | | | | | | | | | | | | | | | | | | | * :sparkles: Repupose report post modal and re-use for list reporting * :sparkles: Allow reporting a feed generator * :sparkles: :recycle: Refactor report modal into one shared component for reporting different collections * :white_check_mark: Adjust report option selector in tests * :white_check_mark: Add test for list reporting * :recycle: :sparkles: Refactor reason options and add options for list and feedgen * :broom: Cleanup remaining todo * Fix to mutelist react keys * Fix regression from rebase * Improve customfeed mobile header --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Clear caches on session change (#1179)Paul Frazee2023-08-151-0/+2
|
* fix prefetching lightbox images (#1163)Eric Bailey2023-08-153-11/+13
| | | | | | | | | * fix prefetching lightbox images * use array signature * fix other RN native image usage * delay prefetching to allow UI to re-render
* [APP-798] add key to `ProfileCardPills` render method (#1158)Ansh2023-08-152-1/+17
| | | | | | | | | * add key to `ProfileCardPills` render method * More reliable key generation --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix to feeds view in profiles (#1171)Paul Frazee2023-08-152-15/+9
| | | | | * Fix load of feeds tab * Add e2e test for profile feeds
* use user.handle response from getProfile, not getSession (#1165)Eric Bailey2023-08-151-1/+1
|
* Fixes #1124: Trim alt text before saving (#1159)Ansh2023-08-141-2/+2
| | | | | * trim alt text before setting * Drop `trim` from helpers.ts
* Fix: close keyboard when viewing the self-label modal (#1153)Paul Frazee2023-08-111-3/+9
|
* Fix: set background color of the view selector (#1151)Paul Frazee2023-08-101-0/+1
|
* More useful block-state information in embeds (#1150)Paul Frazee2023-08-103-5/+27
| | | | | * More useful block-state information in embeds * Tune copy
* Replace the emojis in the self-labeler with a remove button (#1147)Paul Frazee2023-08-101-16/+25
|
* Adds profile media tab (#1137)Eric Bailey2023-08-103-60/+104
| | | | | | | | | | | | | | | | | * 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-0918-114/+399
| | | | | | | | | | | | | | | * 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
* wait for list memberships to load before becoming interactive (#1140)Eric Bailey2023-08-092-31/+48
| | | | | | | * wait for list memberships to load before becoming interactive * add spinner * remove secondary spinner
* Add alerts to embeds (#1138)Paul Frazee2023-08-086-9/+55
| | | | | | | * Add alerts to embeds * Add images to the mock data * Fix types
* Fix to feed discovery (#1134)Paul Frazee2023-08-081-5/+6
| | | | | * Fixes to debounce * Less aggressive debounce
* Fix rendering of feed and list post-embeds (close #1131) (#1135)Paul Frazee2023-08-081-19/+13
|
* Fix to react-key uniqueness in feeds (#1136)Paul Frazee2023-08-082-1/+7
|
* remove unused stylesEric Bailey2023-08-081-16/+0
|
* fix thread spacing and reply linesEric Bailey2023-08-082-177/+218
|
* fix long thread stylingEric Bailey2023-08-081-11/+16
|
* Fix: dont use profile preview modal on mobile web (#1125)Paul Frazee2023-08-071-2/+2
|
* Perf: switch to stable react keys (#1113)Paul Frazee2023-08-054-21/+12
|
* fix post thread feedback regression (#1109)Eric Bailey2023-08-041-1/+3
|
* Fix repeated firing of scroll into view on large threads (#1108)Paul Frazee2023-08-041-3/+28
|
* Collection of small UI fixes & improvements (#1104)Paul Frazee2023-08-046-17/+70
| | | | | | | | | * Fix black bar appearing in link card images * Include QPs in posts cache * Fix like color for feed likes in notifications * Fix post embed spacing
* fix feed UI alignment issues (#1106)Eric Bailey2023-08-042-69/+87
| | | | | * fix feed alignment issues * fix reason line alignment
* Simplify the after-post logic to avoid a UI bug (#1105)Paul Frazee2023-08-042-22/+7
|
* Labeling & moderation updates [DRAFT] (#1057)Paul Frazee2023-08-0337-663/+1005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Improve the profile preview with "swipe up to view" and local cache ↵Paul Frazee2023-08-035-60/+88
| | | | | | | | | | | | | optimization (#1096) * Update the ProfilePreview to use a swipe-up to navigate * Use the profile cache to optimize load performance * Hack to align the header in the profile preview against the screen view * Fix profiles cache logic to ensure cache is used * Fix dark mode on profile preview
* resolve did before loading feed (#1092)Eric Bailey2023-08-031-10/+98
| | | | | | | * resolve did before loading feed * add loader * wrap with authRequired, handle errors
* Use a post and handle-resolution cache to enable quick postthread loading ↵Paul Frazee2023-08-039-18/+167
| | | | | | | | | | | (#1097) * Use a post and handle-resolution cache to enable quick postthread loading * Fix positioning of thread when loaded from cache and give more visual cues * Include parent posts in cache * Include notifications in cache
* Change button based on option (#1077)William2023-08-021-1/+3
|
* change copy in `InviteCodes.tsx (#1082)Ansh2023-08-021-5/+1
|
* Fix keyboard support on the dropdown (#1073)Paul Frazee2023-07-283-39/+109
| | | | | * Fix: dropdown now supports accessibility labels and keyboard controls * Fix event propagation around the post dropdown
* [APP-737] Accessible native dropdown menu (#988)Ansh2023-07-2820-325/+693
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix comments * add zeego package * get basic native dropdown working * add separator and icon components * refined native dropdown component * add android build properties to app.json * move `PostDropdownBtn` to its own component * fix selectors issue * move `PostDropdownBtn` to its own component * fix hitslop * fix post dropdown hitslop * fix android dropdown icons * move `UserAvatar.tsx` to native dropdown * use native dropdown in `ProfileHeader.tsx` * use native dropdown in `PostThreadItem.tsx` * use native dropdown in `UserBanner.tsx` * use native dropdown in `CustomFeed.tsx` * replace `testId` with `testID` (which is what is used everywhere) * move `Settings.tsx` to use native dropdown * create jest mocks for zeego * create jest mock for `zeego/dropdown-menu` * web styles for native dropdown * remove example native dropdown * adjust web styles * fix propagation * fix pressable in `Settings.tsx` * animate dropdown on web * add keyboard nav and hover styles * add hitslop to constants * add comments to NativeDropdown component * temporarily removed android icons * add testID to PostDropdownBtn * add testID back to all NativeDropdown button implementations * add postDropdownBtn testID * add testID to dropdown items * remove testID from dropdown menu item * refactor home-screen tests for native dropdown * refactor profile-screen tests for native dropdown * refactor thread-muting tests for native dropdown * refactor thread-screen tests for native dropdown * fix dropdown color for post dropdown button * remove icons from android dropdown menu * fix `create-account.test.ts` * fix `invite-codes.test.ts`
* List cleanup on remove (#1069)Foysal Ahamed2023-07-286-12/+60
| | | | | | | | | * :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
* Search custom feeds (#1031)Ansh2023-07-284-13/+75
| | | | | | | | | | | * paginate custom feeds * basic search * update `@atproto/api` * use search from the API * debounce search for 200ms