discourse/app/assets/javascripts
Joffrey JAFFEUX bf886662df
UX: improves composer and thread panel (#21210)
This pull request is a full overhaul of the chat-composer and contains various improvements to the thread panel. They have been grouped in the same PR as lots of improvements/fixes to the thread panel needed an improved composer. This is meant as a first step.

### New features included in this PR

- A resizable side panel
- A clear dropzone area for uploads
- A simplified design for image uploads, this is only a first step towards more redesign of this area in the future

### Notable fixes in this PR

- Correct placeholder in thread panel
- Allows to edit the last message of a thread with arrow up
- Correctly focus composer when replying to a message
- The reply indicator is added instantly in the channel when starting a thread
- Prevents a large variety of bug where the composer could bug and prevent sending message or would clear your input while it has content

### Technical notes

To achieve this PR, three important changes have been made:

- `<ChatComposer>` has been fully rewritten and is now a glimmer component
- The chat composer now takes a `ChatMessage` as input which can directly be used in other operations, it simplifies a lot of logic as we are always working a with a `ChatMessage`
- `TextareaInteractor` has been created to wrap the existing `TextareaTextManipulation` mixin, it will make future migrations easier and allow us to have a less polluted `<ChatComposer>`

Note ".chat-live-pane" has been renamed ".chat-channel"

Design for upload dropzone is from @chapoi
2023-04-25 10:23:03 +02:00
..
admin DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
bootstrap-json Build(deps): Bump node-fetch from 3.3.0 to 3.3.1 in /app/assets/javascripts (#20655) 2023-03-13 08:45:43 +08:00
confirm-new-email
dialog-holder DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse UX: improves composer and thread panel (#21210) 2023-04-25 10:23:03 +02:00
discourse-common DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse-hbr DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse-plugins DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse-widget-hbs DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
pretty-text FIX: bbcode URLs not handling paths correctly (#21215) 2023-04-25 11:28:32 +10:00
select-kit DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
truth-helpers DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
wizard DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
.licensee.json Revert "DEV: Merge package.json files (#21172)" (#21182) 2023-04-20 14:57:40 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json Revert "DEV: Merge package.json files (#21172)" (#21182) 2023-04-20 14:57:40 +02:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FEATURE: Enable service worker for Apple devices (#19643) 2023-01-30 13:23:19 -03:00
yarn.lock Build(deps): Bump eslint in /app/assets/javascripts (#21213) 2023-04-24 11:19:57 +02:00