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

Button Bar Multiple Links #192

Open
MachineSaver opened this issue May 4, 2023 · 3 comments
Open

Button Bar Multiple Links #192

MachineSaver opened this issue May 4, 2023 · 3 comments

Comments

@MachineSaver
Copy link

First of all, your project is AWESOME for those of us that want to create simple, clickable wireframes without paying for some subscription service. Kudos for that!

I am happy to work on this if I could get some instruction on adding multiple page links per Button Bar object.

Video of current behavior:

MyDraftCC-Button-Bar-Links-00.00.01.543-00.00.19.809.mp4

Example:

image

Goal Behavior:

Each buttons added to the object would give an option for a different link or page:
mydraftcc

Is this something that is possible?
And if it is possible, would you deem it a good first issue?

I am happy to work on this if I could get some guidance.

Thanks!
-Leo

@SebastianStehle
Copy link
Collaborator

Thanks for your nice words and your good issue report. Unfortunately I do not have a good idea how to add multiple links right now, but perhaps you will find a solution.

  1. First of all the shape needs to report to the UI how many links should be rendered.
  2. The shape must have an option to get the actual link. The idea could be that the shape adds the link to concrete svg elements and uses that information in the function.

see: https://github.com/mydraft-cc/ui/blob/master/src/wireframes/renderer/NavigateAdorner.tsx

@SebastianStehle
Copy link
Collaborator

Can I help you with something?

@MachineSaver
Copy link
Author

MachineSaver commented May 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants