Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dmnewcomb opened this issue Apr 1, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@dmnewcomb
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants