-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message Editing: Simple composer for editing only #9481
Comments
pushing to |
Plan to use https://www.npmjs.com/package/textarea-caret to know where to show a popup at the cursor position. |
Which part of the UI needs a popup at the cursor position? I am probably missing something obvious... |
any autocomplete, like @people, #room or :emoji is what I have in mind... much like the github comment editor. |
my only refinement to this would be to show pills inline, otherwise that is a major aesthetic regression. i assumed we would build this as a minimal contenteditable rig rather than literally a textarea? |
Maybe you already know, but just to be explicit: this issue is about the composer for message editing, which might be even simpler or different from what's used in the main composer. (The image above is a bit confusing, as Bruno is just prototyping in the main composer since message editing UI doesn't exist yet.) With that in mind, are you saying we really should show pills inline in the composer for message editing? (It's less clear what counts as a regression in this case, since message editing doesn't exist yet, and so far we have said we're okay with it having less features than the main composer.) |
Right, doing it with contenteditable will be more work though, making sure we get all the edge cases right. I've been making some notes at https://gist.github.com/bwindels/1db725d39631df81f105b8df0b6a7c31 while looking into how we could do this. Won't be able to work on this while away until May 2nd in any case. |
prototype is ready, putting it in the app now. |
Closing this, tracking all remaining bits in #9487 |
The composer's feature set is likely quite similar to #7697. The issue is specifically about a simple composer for message editing only.
Requirements (could do with some further discussion with @ara4n and/or @lampholder):
#
@
:
Pasting converts any input to just plain text.
Out of scope for now:
The text was updated successfully, but these errors were encountered: