about summary refs log tree commit diff
path: root/src/view/com/composer
Commit message (Collapse)AuthorAgeFilesLines
...
* use the palette's font color in the composer (#2791)Hailey2024-02-071-1/+1
| | | | | | | * use the palette's font color in the composer * correct type for cssproperties * log
* Reduce the odds of false positives in the language suggester (close #2598) ↵Paul Frazee2024-01-302-10/+23
| | | | (#2700)
* moderate avatars and embeds in composer reply to (#2665)Hailey2024-01-301-2/+6
| | | | | | | * moderate avatars and embeds in composer reply to * oops * dont need moderation in the quote opts
* Clean up some sentry logs (#2630)Eric Bailey2024-01-251-3/+3
| | | | | | | * Change prop name for sentry ingestion * Fix test * Add default object
* Disable scroll on the composer TextInput (close #2413) (#2603)Paul Frazee2024-01-231-0/+1
|
* fix: resolve handle in feed/list urls (#2497)Mary2024-01-231-3/+5
|
* Tweak positioningPaul Frazee2024-01-221-1/+3
|
* Merge branch 'feat/image-dnd' of https://github.com/mary-ext/fork-bsky-app ↵Paul Frazee2024-01-221-14/+107
|\ | | | | | | into mary-ext-feat/image-dnd
| * fix: firefox edge-caseMary2024-01-211-5/+2
| |
| * fix: design adjustmentsMary2024-01-211-2/+3
| |
| * fix: always call preventDefaultMary2024-01-211-4/+12
| |
| * refactor: use right borderDarkMary2024-01-211-5/+1
| |
| * feat: new designMary2024-01-211-35/+81
| |
| * feat: web composer image drag and dropMary2024-01-211-9/+54
| |
* | New Web Layout (#2126)dan2024-01-221-1/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rip out virtualization on the web * Screw around with layout * onEndReached * scrollToOffset * Fix background * onScroll * Shell bars * More scroll * Fixes * position: sticky * Clean up 1 * Clean up 2 * Undo PagerWithHeader changes and fork it * Trim down both versions * Cleanup 3 * Memoize, lint * Don't scroll away modal or lightbox * Add content-visibility for rows * Fix composer * Fix types * Fix borked scroll animation * Fixes to layout * More FlatList parity * Layout fixes * Fix more layout * More layout * More layouts * Fix profile layout * Remove onScroll * Display: none inactive pages * Add an intermediate List component * Fix type * Add onScrolledDownChange * Port pager to use onScrolledDownChange * Fix on mobile * Don't pass down onScroll (replacement TBD) * Remove resetMainScroll * Replace onMainScroll with MainScrollProvider * Hook ScrollProvider to pager * Fix the remaining special case * Optimize a bit * Enforce that onScroll cannot be passed * Keep value updated even if no handler * Also memo it * Move the fork to List.web * Add scroll handler * Consolidate List props a bit * More stuff * Rm unused * Simplify * Make isScrolledDown work * Oops * Fixes * Hook up context scroll handlers * Scroll restore for tabs * Route scroll restoration POC * Fix some issues with restoration * Remove bad idea * Fix pager scroll restoration * Undo accidental locale changes * onContentSizeChange * Scroll to post * Better positioning * Layout fixes * Factor out navigation stuff * Cleanup * Oops * Cleanup * Fixes and types * Naming etc * Fix crash * Match FL semantics * Snap the header scroll on the web * Add body scroll lock * Scroll to top on search * Fix types * Typos * Fix Safari overflow * Fix search positioning * Add border * Patch react navigation * Revert "Patch react navigation" This reverts commit 62516ed9c20410d166e1582b43b656c819495ddc. * fixes * scroll * scrollbar * cleanup unrelated * undo unrel * flatter * Fix css * twk
* Prevent close on backdrop for alt text edit modal (#2492)Mary2024-01-181-3/+3
| | | | | * fix: don't close on backdrop for alt text edit * fix: ignore esc key press if a modal is open
* Suggest post language correction (#2486)Paul Frazee2024-01-122-0/+103
| | | | | | | | | | | | | | | | | * feat: suggested language * fix: wording correction * Factor out SuggestedLanguage into a separate component * Tighten the language-suggestion confidence to avoid false positives * Tweak the copy and UI * Add function fallbacks for safari --------- Co-authored-by: Mary <pineapplecreamcheese@skiff.com>
* Internationalize more strings (#2440)Stanislas Signoud2024-01-096-13/+30
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* add expandable context to composer when replying to post (#2419)Hailey2024-01-082-29/+256
| | | | | | | | | | | | | | | * add expand replyTo text with animation * add images, quote to replyTo * support withmedia * adjust layout * add embed to all needed openComposer calls * adjust gap * organize imports
* emoji picker improvements (#2392)Hailey2024-01-024-59/+109
| | | | | | | | | | | | | * rework emoji picker * dynamic position * always prefer the left if it will fit * add accessibility label * Update EmojiPicker.web.tsx oops. remove accessibility from fake button
* Stop the user from posting before the link card finishes loading (#2328)Paul Frazee2023-12-271-2/+6
| | | | | * Stop the user from posting before the link card finishes loading * Add localization of error messages
* Bump react-native to 0.73.1, expo to 50 (#2214)Eric Bailey2023-12-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump to react-native@0.73, bump expo@next Includes bumps for all expo deps and dev dependencies. Updates react-native patch and others, and removes the babel-preset-expo patch. * Remove duplicate Splash ref * Bump more deps * Properly install expo-notifications * Bump webview dep * Bump packages according to expo fix; remove pager-view patch as it is no longer needed * Don't access expo-camera from Web * Fix crypto dep on web * Fix some type issues * Build esnext modules to support dynamic imports --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Web composer improvements (#2257)Paul Frazee2023-12-202-2/+2
| | | | | * Keep the emoji picker in the tablet width (close #1880) * Support pressing tab to select a mention (close #1831)
* Restore autofocus on emoji drop down (#1821)Elie Michel2023-12-201-1/+1
|
* Set numberOfLines for Android text input (#2238)Eric Bailey2023-12-181-1/+7
| | | | | * Set numberOfLines for Android text input * Let's go with 4
* Log post creation failures (#2205)Eric Bailey2023-12-141-0/+6
|
* dismiss keyboard when threadgate settings are opened (#2161)Ansh2023-12-111-1/+5
|
* Additional reductions in request traffic (#2169)Paul Frazee2023-12-111-17/+2
| | | | | | | * Dont poll for new content on profiles * Drop the whenAppReady query after new post to reduce traffic overhead * Reduce getPosts calls in notifs to only use them when needed
* Add "Who can reply" controls [WIP] (#1954)Paul Frazee2023-12-105-5/+86
| | | | | | | | | | | | | | | | | | | | | * Add threadgating * UI improvements * More ui work * Remove comment * Tweak colors * Add missing keys * Tweak sizing * Only show composer option on non-reply * Flex wrap fix * Move the threadgate control to the top of the composer
* Update feeds on post created (#2085)Paul Frazee2023-12-041-13/+32
|
* Allow posts with just an external link (#2079)Paul Frazee2023-12-041-1/+1
|
* Hackfix to composer focus on web (#2057)Paul Frazee2023-12-031-0/+10
|
* Hindi Internationalization (#1914)Ansh2023-11-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | * get basic hindi support to work * get web app language switcher in * Refactor i18n implementation and remove unused code * add missing strings * add dropdowns and modals missing strings * complete all hindi translations * fix merge conflicts * fix legeacy persisted state * fix data in RecommendedFeeds * fix lint
* Move the current agent to a global and reset RQ queries on agent change (#1946)Paul Frazee2023-11-162-9/+8
|
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-164-15/+12
| | | | | | | | | | | | | | | | | | | | | * Update login page to use service query * Update modal to use session instead of store * Move image sizes cache off store * Update settings to no longer use store * Update link-meta fetch to use agent instead of rootstore * Remove deprecated resolveName() * Delete deprecated link-metas cache * Delete deprecated posts cache * Delete all remaining mobx models, including the root store * Strip out unused mobx observer wrappers
* Some me model cleanup (#1928)Eric Bailey2023-11-161-3/+5
| | | | | | | | | | | | | | | | | * Replace me model in post dropdown btn * Replace delete account logic * Replace me model in bottom bar web * Replace me model in bottom bar * Replace me model in reply prompt * Better fallback * Fix reference * Fix bad ref in bottom bar
* Update post embed fetching to use new methods (#1916)Eric Bailey2023-11-151-3/+5
| | | | | * Update post embed fetching to use new methods * Use session agent
* Autocomplete updates (react-query refactor) (#1911)Paul Frazee2023-11-153-21/+23
| | | | | | | | | | | | | * Unify the autocomplete code; drop fuse * Persist autocomplete results while they're in progress * Commit lockfile * Use ReturnType helper --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix openCamera, openCropped, lightbox model, and image model usages (#1908)Eric Bailey2023-11-142-7/+3
|
* Composer update (react-query refactor) (#1899)Paul Frazee2023-11-146-52/+53
| | | | | | | | | * Move composer state to a context * Rework composer to use RQ --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Refactor feeds to use react-query (#1862)Paul Frazee2023-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update to react-query v5 * Introduce post-feed react query * Add feed refresh behaviors * Only fetch feeds of visible pages * Implement polling for latest on feeds * Add moderation filtering to slices * Handle block errors * Update feed error messages * Remove old models * Replace simple-feed option with disable-tuner option * Add missing useMemo * Implement the mergefeed and fixes to polling * Correctly handle failed load more state * Improve error and empty state behaviors * Clearer naming
* Internationalization & localization (#1822)Ansh2023-11-098-24/+54
| | | | | | | | | | | | | | | | | | | | | | | | | * install and setup lingui * setup dynamic locale activation and async loading * first pass of automated replacement of text messages * add some more documentaton * fix nits * add `es` and `hi`locales for testing purposes * make accessibilityLabel localized * compile and extract new messages * fix merge conflicts * fix eslint warning * change instructions from sending email to opening PR * fix comments
* Pull language methods into api context (#1847)Eric Bailey2023-11-082-7/+6
| | | | | * Pull language methods into api context * Rename for consistency
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-084-18/+37
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* State layer cleanup: move alt-text-required into preferences and fix a bug ↵Paul Frazee2023-11-081-1/+1
| | | | | | | in reminders (#1845) * Move alt-text-required into preferences * Fix bug: reminders now using new onboarding state
* Move language preferences to new persistence + context (#1837)Paul Frazee2023-11-082-10/+26
|
* Move require alt-text to new persistence + context (#1839)Paul Frazee2023-11-081-8/+6
|
* Fix accidental unwrapped strings (#1826)dan2023-11-061-2/+2
|
* Replace all logs with new loggerEric Bailey2023-11-042-4/+6
|
* Fix other error logs while I'm at itEric Bailey2023-11-042-4/+6
|