-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature you'd like to request
- As an user, I want to have means of formatting my text, so that I can clearly structure the information in the metadata
- As an user, I want to have means of formatting my text, so that I can add images and other content if relevant in the description fields
- As an user, I expect formatted text to be respected when rendering metadata, so that I can clearly read the submitted text
Describe the solution you'd like
We should support plain text formatting (bold, cursive, headers) and markdown both in long text input and rendering. Additionally, when a user adds images the should be rendered with appropriate dimensions.
We probably want a long-text input component that we can use in the create forms for hypercerts, collections, blueprints, etc.
For input, I imagine a solution similar to the GitHub write-preview fields:
For rendering make sure that:
- to long text is truncated with a 'read more' component. Could be a popover or expanding the field?
- keep rendered headings, etc, reasonable. I.e. a # Heading should not be larger than the hypercert name on the view page.
Example of a long description: https://testnet.hypercerts.org/hypercerts/11155111-0xa16DFb32Eb140a6f3F2AC68f41dAd8c7e83C4941-258274316492992293768701327040712072495104
Describe alternatives you've considered
Just render whatever the user inputs, which is weird
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Ready
