You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Message Editing: Simple composer for editing only #9481
So this can work with a textarea, might be useful if we decide to go with the new emoji picker as well for auto complete, or decide to not make the auto complete panel full width.
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?
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.)
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?
Activity
bwindels commentedon Apr 17, 2019
pushing to
bwindels/message-edit-editorbwindels commentedon Apr 17, 2019
Plan to use https://www.npmjs.com/package/textarea-caret to know where to show a popup at the cursor position.
jryans commentedon Apr 17, 2019
Which part of the UI needs a popup at the cursor position? I am probably missing something obvious...
bwindels commentedon Apr 18, 2019
any autocomplete, like @people, #room or :emoji is what I have in mind... much like the github comment editor.
bwindels commentedon Apr 18, 2019
So this can work with a textarea, might be useful if we decide to go with the new emoji picker as well for auto complete, or decide to not make the auto complete panel full width.
ara4n commentedon Apr 18, 2019
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?
jryans commentedon Apr 18, 2019
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.)
bwindels commentedon Apr 18, 2019
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.
bwindels commentedon May 7, 2019
prototype is ready, putting it in the app now.
bwindels commentedon May 17, 2019
Closing this, tracking all remaining bits in #9487