Skip to content

Add a help link that sends the user to documentation for each card #2

@dmnewcomb

Description

@dmnewcomb

Overview
In the toolbar (pops up after adding a card from the left-hand menu), there are icons for edit and remove - we want to add one for help. When the user clicks on the button, we want to send them to the specific card's documentation which will be in the following format.

Link Format Example (block-quote)

Link prefix:  https://github.com/mcclatchy/graphics-nocode/?tab=readme-ov-file
Link suffix:  /#block-quote
       Link:  https://github.com/mcclatchy/graphics-nocode/?tab=readme-ov-file/#block-quote

The link suffix should match what you see in the menu, and more helpfully, it should match the metadata passed in by the config files (src/configs/menu-default.js and src/configs/menu-dev.js) in the label field.

Feature Design
There's already a help.svg logo from in the assets folder, so we can use that and add it into the toolbar.

Screenshot 2024-04-01 at 8 49 23 AM

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions