about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/compose/containers
AgeCommit message (Collapse)Author
2023-04-01Change search pop-out in web UI (#24305)Eugen Rochko
2023-02-20Change compose form checkbox to native input with `appearance: none` (#22949)Claire
2023-02-20Rename JSX files with proper `.jsx` extension (#23733)Renaud Chaput
2023-02-13Enable ESLint import recommended rules (#23315)Nick Schonning
2023-02-13Enable ESLint no-useless-escape (#23311)Nick Schonning
2023-01-29Add lang attribute to image description textarea and poll option field (#23293)Christian Schmidt
2023-01-24Add lang attribute to compose textarea and CW field (#23240)Claire
Fixes #19858
2022-12-15Don't autofocus the compose form (#16517)Arnout Engelen
When opening a page such as /web/timelines/home in a desktop browser, the cursor was automatically placed in the textarea of the compose form. When using the keyboard for navigation (using a browser plugin like vimium or vim vixen, or just to hit 'space' to scroll down a page), you have remember to leave the field before using that. Since you only visit the page to write a new post some of the time, this PR attempts to have nothing focused initially (and require the user to click or e.g. use 'tab' to focus the textarea). Tested: * /web/timeslines/home no longer autofocuses the compose box * pressing the 'n' hotkey still focuses the compose box * clicking 'reply' for a post still focuses the compose box * replying to a CW'ed post still focuses the compose box * introducing the CW field still focuses the CW field * introducing the CW field for a reply still focuses the CW field * removing the CW field still focuses the compose box * /web/statuses/new still autofocuses the compose box fixes #15862
2022-11-11Add the ability to edit media attachment metadata for any unattached media ↵Claire
(#20402)
2022-10-29Fix upload progress not communicating processing phase in web UI (#19530)Eugen Rochko
2022-05-16Add language dropdown to compose in web UI (#18420)Eugen Rochko
2022-04-29Change "Direct" status visibility to "Only people I mention" in web UI (#18146)Eugen Rochko
- Change name of conversations column in web UI - Change hotkey for opening conversations column from `g d` to `g c` in web UI - Remove shortcuts for creating direct-visibility statuses from web UI
2022-02-12Fix controls for unchangeable properties on status edit not being disabled ↵Claire
(#17531) Fixes #17520
2022-02-10Add editing for published statuses (#17320)Eugen Rochko
* Add editing for published statuses * Fix change of multiple-choice boolean in poll not resetting votes * Remove the ability to update existing media attachments for now
2022-01-20Fix text being incorrectly pre-selected in composer textarea on /share (#17339)Claire
Fixes #17295
2021-08-06Fix logout link not working in safari (#16574)Takeshi Umeda
2021-07-25Add confirmation modal when closing media edit modal with unsaved changes ↵Claire
(#16518) * Add confirmation modal when closing media edit modal with unsaved changes * Move focal point media state to redux so it does not get erased by confirmation dialog * Change upload modal behavior to keep it open while saving changes Instead of closing it immediately and losing changes if they fail to save… * Make it work with react-intl 2.9
2021-02-11Add dropdown for boost privacy in boost confirmation modal (#15704)Claire
* Various dropdown code quality fixes * Prepare support for privacy selection in boost modal * Add dropdown for boost privacy in boost confirmation modal
2020-10-27Make “Mark media as sensitive” properly translatable (#15051)Mélanie Chauvel
2020-08-07Fix eslint error (#14521)abcang
2020-08-05Fallback to previous, more approximative hashtag RE on older browsers (#14513)ThibG
Fixes #14511
2020-08-02Fix the hashtag judgment of the compose form to be the same as the server ↵kedama
side (#14484)
2019-11-07Fix WebUI allowing to upload more items than the limit (#12300)ThibG
Until this patch, drag'n'drop and copy-paste allowed to start uploading as long as the number of *finished* uploads was below the limit.
2019-08-26Add confirmation modal when logging out from the web app (#11671)ThibG
* [WiP] Add a confirmation modal before logging out from the web interface * Add confirmation to logout link in getting started footer * Please CodeClimate
2019-08-14Add media editing modal (#11563)Eugen Rochko
Move media description input to a modal and unite that modal with the focal point modal. Add a hint about choosing focal points, as well as a preview of a 16:9 thumbnail. Enable the user to watch the video next to the media description input. Fix #8320 Fix #6713
2019-07-27Add search results pagination to web UI (#11409)Eugen Rochko
* Add search results pagination to web UI Fix #10737 * Fix code style issue
2019-06-28Display FTS warning based on actual search term, not the one being typed ↵ThibG
(#11202) Follow-up to #11112
2019-06-27Add message telling FTS is disabled when no toot can be found because of ↵ThibG
this (#11112) * Add message telling FTS is disabled when no toot can be found because of this Fixes #11082 * Remove info icon and reword message
2019-06-19Add audio uploads (#11123)Eugen Rochko
* Add audio uploads Fix #4827 Accept uploads of OGG, WAV, FLAC, OPUS and MP3 files, and converts them to OGG. Media attachments get a new `audio` type. In the UI, audio uploads are displayed identically to video uploads. * Improve code style
2019-05-19fix `isSubmitting` prop case (#10785)Hinaloe
2019-05-10Change icon and label depending on whether media is marked as sensitive (#10748)ThibG
* Change icon and label depending on whether media is marked as sensitive * WiP use a checkbox
2019-05-09Add emoji suggestions to CW and poll option fields (#10555)ThibG
* Refactor selectComposeSuggestion so that different paths can be updated * Add suggestions in CW field * Add emoji suggestion to poll options * Attempt to fix CSS * Hide suggestions by default They will be enabled if the input has focus
2019-05-03Make the "mark media as sensitive" button more obvious in web UI (#10673)Eugen Rochko
* Make the "mark media as sensitive" button more obvious in web UI * Use eye-slash icon instead of eye icon to mean "hide"
2019-04-22Minor code cleanup (#10613)ThibG
2019-03-06Add UI for creating polls (#10184)Eugen Rochko
* Add actions and reducers for polls * Add poll button * Disable media upload if poll enabled * Add poll form * Make delete & redraft work with polls
2018-12-16Split out is_changing_upload from is_submitting (#9536)ThibG
There is no reason to disable the composer textarea when some media metadata is being modified, nor is there any reason to focus the textarea when some media metadata has been modified (prevents clicking one image's description field right after having modified another).
2018-10-23Show suggested follows on search screen in mobile layout (#9010)Eugen Rochko
Reminder: Suggestions were added in #7918 and are based on who you interact with who you do not follow. E.g. if you boost someone a lot from seeing other people's boosts of that person, it makes sense you might be interested in following the original source; or if you reply to someone a lot, maybe you'd want to follow them Each suggestion can be dismissed
2018-10-11Do not push DMs into the home feed (#8940)Eugen Rochko
* Do not push DMs into the home feed * Show DMs column after sending a DM, if DMs column is not already shown
2018-08-18Fix ctrl+enter not submitting toot when text cursor is composing image ↵Spanky
description (#8273)
2018-06-29Keyword/phrase filtering (#7905)Eugen Rochko
* Add keyword filtering GET|POST /api/v1/filters GET|PUT|DELETE /api/v1/filters/:id - Irreversible filters can drop toots from home or notifications - Other filters can hide toots through the client app - Filters use a phrase valid in particular contexts, expiration * Make sure expired filters don't get applied client-side * Add missing API methods * Remove "regex filter" from column settings * Add tests * Add test for FeedManager * Add CustomFilter test * Add UI for managing filters * Add streaming API event to allow syncing filters * Fix tests
2018-06-04Remove trending hashtags (#7711)Eugen Rochko
* Delete trends_controller.rb * Update routes.rb * Update trending_tags.rb * Update index.js * Update index.js * Update search_results.js * Update async-components.js * Update index.js * Delete trends.js * Delete trends.js * Delete trends_container.js * Delete trends.js * Update search_results.js * Update search_results_container.js
2018-06-01Add loading indicator for trending tags (#7693)Yamagishi Kazutoshi
2018-05-27Track trending tags (#7638)Eugen Rochko
* Track trending tags - Half-life of 1 day - Historical usage in daily buckets (last 7 days stored) - GET /api/v1/trends Fix #271 * Add trends to web UI * Don't render compose form on search route, adjust search results header * Disqualify tag from trends if it's in disallowed hashtags setting * Count distinct accounts using tag, ignore silenced accounts
2018-05-23Fix caret position after selected suggestion and media upload (#7595)ThibG
* Fix media upload reseting caret position to last inserted emoji * Fix caret position after inserting suggestions (fixes #6089)
2018-05-19Improve direct message warning again (#7546)Eugen Rochko
2018-05-16Reword the direct message warning (#7420)Sylvhem
* Change direct message warning Reword the direct message warning to set proper privacy expectations. * Update the French translation Update the French translation to reflect the changes made to the direct message warning. * Wording update Update the message's wording according to the feedback.
2018-04-17Fix caret position after inserting emoji (#7167)abcang
2018-04-07Remove duplicate frequently used emojis (#7064)Harmon
2018-03-29Feature: Direct message from menu (#6956)Emelia Smith
* Implement ability to send direct messages from the user menu * Implement message warning users that direct messages are visible to all mentioned users * Update locales
2018-03-13Merge branch 'spoiler' of git://github.com/kagucho/mastodon into kagucho-spoilerEugen Rochko