-
Notifications
You must be signed in to change notification settings - Fork 440
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
Basic text formatting to chat #1027
Comments
I think most other things have bold and italic, so that's okay. |
Checked the messengers which I use:
|
Survey: Should we support * as bold? |
Survey: Should we support _ as italic? |
Survey: Should we support ~ as striked? |
Survey: Should we support ``` as code? |
Backticks are bad on a German keyboard layout, but they are also consistent with markdown. |
Why not add a full markdown support while we're at it? :) |
Because at somepoint we would like to integrate with other services (see https://github.com/nextcloud/spreed/labels/feature%3A%20integration ) which is highly difficult then |
Converting Markdown content into plain text shouldn't be that hard, no ? |
I'd add most stuff, but for example not headings because they aren't needed in chats. |
Well as for markdown, apart from the things in the poll the following are missing:
|
I think you can skip lists and headlines. If people want to write documents, they should not use the chat but some editor app 🙊 |
Lists do make sense, though, I use it also in chat... But certainly bold, underline, strike-through and code are much more important. Headlines do seem weird yes. |
With regard to #1027 (comment) (suggestion for full Markdown support) I don't like the idea of having people post links (including potentially misleading ones,) images, or headlines to chat. Syntax compatibility with markdown might be the most appropriate, but "full Markdown" seems like an own goal. |
Also, info for @nickvergessen & others who prioritize issues: this is one of the major blockers keeping me from using Nextcloud Chat. I frequently post code & read other people's code in chat, and need it to be formatted nicely. I would be interested in working on this issue if it's something you would like outside help on. |
What about some quote/citation?
Example:
|
No objection at all. Everything that is not actively being worked on can be picked up. The main issue I see is:
|
How is the Android/iOS app built right now? I've never done mobile app development so I'm pretty ignorant of that side of things. As far as building it into the UI and making it Vue proof, we might build it as an embedded Vue component right away without waiting for the rest of the UI to be re-done. My understanding is that Vue components can play well next to other things and it's not all-or-nothing. |
I think the biggest issue is people on phones that use it in e.g. WhatApp, Telegram, etc. |
It's a bit unclear to me, how "remove formatting" is supposed to work |
That would be on rightclick? |
I guess that only would be available work, when the same style-marker (e.g. |
I would say it should rather be shown directly as soon as you select some text. (e.g. after the mouse click is done and text was selected)
indeed. So should we transfer the ticket to the vue library? |
Indeed that looks complicated. So lets for now not offer this. cc @nextcloud/designers wdyt? |
@szaimen no underline since that is not supported by markdown (!) |
No, because this ticket is for Talk, to handle the output result, notifications and everything else. PS I actually never thought of UI options to insert markdown in first place |
I was asked to create a mockup for this ticket so that is what I did. If we dont need this then I am fine as well. Do we simply need a decision on the syntax to use or what is needed from design perspective?
|
I guess it's fine. but as mentioned just not the right place and a different work task.
Syntax is Markdown. Nothing to discuss there. |
Afaik @jancborchardt mentioned such a helper function to add Markdown to the Editor field during the planning call. Nevertheless it is not mandatory for the first iteration of the feature but a nice polishing to put on top, so should come last. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Closing as the base work is done 🎉 |
well done to everyone involved here : ) i needed this feature, and was searching about its current status. i'm a software developer, and happy to contribute if needed, |
Current status is "Completed, Markdown works" |
I would like to have at least basic text formatting for chat, such as
bold, italic and
strikethroughconsole.log("Hello!");
Spreed app
Spreed app version: Talk 3.2.2
Server configuration
Nextcloud Version: 1.0.4
The text was updated successfully, but these errors were encountered: