learlab / strapi

https://strapi-pi-eight.vercel.app
1 stars 0 forks source link

StaticCode GUI #36

Open langdonholmes opened 2 months ago

langdonholmes commented 2 months ago
  1. Attributes should not be visible by default. We should use a Contextual Balloon with an Attributes button, similar to Figure Captions and Table Captions. image
  2. The "Attributes: " text is garish. We should use a Placeholder for this. See Placeholders as well as the accordion placeholders in this repo.

We may still want to remove the attributes functionality at some point, but I think these efforts will be worthwhile, as we can swap out the "Attributes" button for other stuff like a "Show line numbers" toggle switch. The Contextual Balloon should be useful for us long term.