informatics-isi-edu / deriva-webapps

Deriva-based web applications
Apache License 2.0
2 stars 1 forks source link

Markdown config #216

Closed KenyShah24 closed 2 months ago

KenyShah24 commented 2 months ago

This PR includes following changes:

  1. Added a new user control that lets users add links to the app. User can use it with type='markdown'.
  2. Changed the label parameter configuration as follows:
    label: {
        markdown_pattern: '',
        styles: {
            font_size: '',  // Use CSS-like values
            max_width: '',  // Use CSS-like values
        }
    },
  3. Also, now user can add custom classes to the user control container for styling. For example:
    classes: ['chaise-content-left', 'chaise-content-top', 'random-class']

    NOTE: These classes needs to be defined in chaise/src/assets/scss/app.scss Resolves: #206