Bug 46890 - Change description input format from HTML to Markdown
Change description input format from HTML to Markdown
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center - Self Service
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-26 10:25 CEST by Nico Gulden
Modified: 2021-05-03 21:39 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?: Yes
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2018-04-26 10:25:22 CEST
Currently the self provider portals asks for HTML for the app description. This leads to simple copy & paste from text processing tools like Microsoft Word to the input field and yields HTML cluttered with useless class and style definitions that disturb the presentation of the texts in the App Center and on the App Catalog.

To avoid this junk, we should change the input to only allow a simple markup like Markdown. During the save process this markdown is converted to HTML and saved to the .ini file. This way, we only change to process chain of how the HTML comes into the .ini file. The change would only involve the app provider portal.

This may also solve the problem described in bug #45502.
Comment 1 Florian Best univentionstaff 2019-03-01 21:41:28 CET
Sounds great, but is there also a way to transform HTML back to Markdown? This is probably necessary to display the current values?
Comment 2 Nico Gulden univentionstaff 2019-03-04 09:55:36 CET
(In reply to Florian Best from comment #1)
> Sounds great, but is there also a way to transform HTML back to Markdown?
> This is probably necessary to display the current values?

Mmh, yes you are right. It probably is better to work with the simple markup and save it. And everywhere, where HTML is needed, it is converted before use.