about summary refs log tree commit diff
path: root/src/view/com/composer
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Simplify loading emoji data (#1790)dan2023-11-012-2/+4
|
* Don't highlight tags in composer yet (#1665)Eric Bailey2023-10-101-10/+13
|
* Dont trim before posting (close #1621) (#1622)Paul Frazee2023-10-051-1/+1
| | | | | * Dont trim before posting (close #1621) * Tweak: do trim end
* Only listen to back button on android (#1623)Paul Frazee2023-10-051-0/+3
|
* Fix 1405 handle android back button in composer (#1446)Ansh2023-09-291-5/+19
| | | | | | | * handle android back button in composer * improve backHandler error handling * simplify composer onClose functionality
* Improve Device Detection For Better Responsiveness (#1512)Bryan Lee2023-09-282-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor `useOnMainScroll` function to use responsive device detection - Replace static `isDesktopWeb` with `useWebMediaQueries` hook to enable dynamic device type detection. - Create `useDeviceLimits` hook to dynamically determine `DY_LIMIT_UP` and `DY_LIMIT_DOWN` based on device type. - Update dependency arrays for the `useCallback` hooks to include new dynamic variables. * Refactor styles to be responsive to device type - Create `useStyles` hook that generates styles object based on device type detected from `useWebMediaQueries`. - Replace static styles object with dynamic styles object generated from `useStyles` hook in components. - This allows `paddingLeft` values for 'ul' and 'ol' styles to adapt to device type dynamically. - This allows `maxWidth` values for 'metaItem'' styles to adapt to device type dynamically. * Remove `isDesktopWeb` in favor of `useWebMediaQueries().isDesktop` * Refactor `SplashScreen` component for responsive design * Revision based on review results * Fix isNative check --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix link highlighting with mention present (#1544)Eric Bailey2023-09-272-80/+29
|
* Fix gallery image size (#1474)Sasha Mansurov2023-09-251-6/+36
| | | Fixes #1323
* Minor alignment fixPaul Frazee2023-09-211-1/+1
|
* Tune the treeview mode to use larger immediate-children (#1506)Paul Frazee2023-09-211-1/+1
| | | | | * Tune the treeview mode to use larger immediate-children * Fix display name alignment
* Even less intrusive status line for posts (#1496)Paul Frazee2023-09-201-41/+40
|
* Nicer 'post processing status' in the composer (#1472)Paul Frazee2023-09-191-10/+11
|
* make sure click events on the emoji picker don't bubble up to the mask (#1427)Ansh2023-09-111-15/+21
|
* composer: inhibit Cmd-Enter from inputting newline (#1421)uakci2023-09-111-0/+1
|
* Fix autocomplete avatar alignment (#1414)dan2023-09-081-1/+1
|
* Give explicit names to MobX observer components (#1413)dan2023-09-072-78/+76
| | | | | | | | | * Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
* Add ESLint React plugin (#1412)dan2023-09-073-279/+272
| | | | | * Add eslint-plugin-react * Enable display name rule
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-053-19/+33
| | | | | | | | | | | | | | | | | | | * Move most responsive queries to the hook * Fix invalid CSS value * Fixes to tablet render of post thread * Fix overflow issues on web * Fix search header on tablet * Fix QP margin in web composer * Fix: only apply double gutter once to flatlist (close #1368) * Fix styles on discover feeds header * Fix double discover links in multifeed
* Fix caret jumps for web composer (#1374)dan2023-09-051-5/+2
| | | | | * Fix caret jumps for web composer * Autofocus at the end on mount
* Fix #1328 fix emoji picker scroll on firefox and chrome (#1332)Ansh2023-08-301-16/+36
| | | | | | | | | * fix emoji picker scroll on firefox and chrome * click outside emoji picker to dismiss * dynamically position emoji picker * dynamically placing picker
* Replace web editor link behavior (#1319)Paul Frazee2023-08-282-26/+123
| | | | | * Replace web editor link behavior (close #1293) (close #1292) * Update link decorator to match rich text link detector
* [APP-836] Emoji picker for web (#1254)Ansh2023-08-233-12/+108
| | | | | | | | | | | | | | | | | | | | | | | | | * add emoji-mart package for emoji dropdown picker * remove emoji picker modal * load emoji mart data not as part of the main bundle * remove @emoji-mart/data * setup emoji insertion with events * get emoji data from local static assets * close emoji picker after one emoji has been inserted * Switch emoji picker trigger to an icon * Update emoji-mart-data.js * make grabbing emoji data work on more browsers --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>