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

Nested lists/menu #528

Open
mreis1986 opened this issue Jan 26, 2024 · 7 comments
Open

Nested lists/menu #528

mreis1986 opened this issue Jan 26, 2024 · 7 comments
Labels
feature-request New feature or request that needs to be turned into Epic/Story details help wanted Extra attention is needed needs-triage Needs looking at to decide what to do

Comments

@mreis1986
Copy link

Description

I would like to have a way to use recursive functions to create nested lists/menu

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

@mreis1986 mreis1986 added feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do labels Jan 26, 2024
@joepavitt
Copy link
Collaborator

joepavitt commented Jan 26, 2024

Do you have any examples of what you're after? Would you want this to be a widget?

@mreis1986
Copy link
Author

Collaborator

I would like to use this vue nested tree, but it's needed to do "npm install -S vue-tree-dnd@latest" and then use "import VueTreeDnd from 'vue-tree-dnd'" on node-red template node. P

https://www.npmjs.com/package/vue-tree-dnd

@mreis1986
Copy link
Author

@joepavitt

@joepavitt
Copy link
Collaborator

Thanks for the additional detail, was away last week (and yesterday) on vacation, hence the delay in responding. I have hesitation in including this as a core widget to Dashboard 2.0 due to the additional dependencies that would come with it.

We therefore have two options:

  1. A standalone third-party widget - https://dashboard.flowfuse.com/contributing/widgets/third-party.html
    • This would be the best option, as it makes it easily accessible to others, handles the dependencies, etc.
  2. Work out a way to get the dependency available in the client-side javascript that VueJS runs. @Steve-Mcl any quick thoughts on how we could do this? I'd covered external dependencies in the documentation but this would be a Vue component, which consequently, VueJS would need to parse and render at runtime, so I'm not sure the example with BabylonJS applies here.

@mreis1986
Copy link
Author

@Steve-Mcl any thoughts about this ?

@Steve-Mcl
Copy link
Contributor

I think this is an ideal candidate for a 3rd part contrib node as @joepavitt states in option 1.

As for my thoughts on Option 2: This should definitely be a long term goal (to be able to support external vue components) but it is a lot harder achieve and not something I have time to look into right now. Of course if this issue ends up on my plate, i will look at implementation.

Also open to contributions from the community.

@Steve-Mcl Steve-Mcl added the help wanted Extra attention is needed label Mar 4, 2024
@mreis1986
Copy link
Author

I think this is an ideal candidate for a 3rd part contrib node as @joepavitt states in option 1.

As for my thoughts on Option 2: This should definitely be a long term goal (to be able to support external vue components) but it is a lot harder achieve and not something I have time to look into right now. Of course if this issue ends up on my plate, i will look at implementation.

Also open to contributions from the community.

Thanks! Will try my best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request that needs to be turned into Epic/Story details help wanted Extra attention is needed needs-triage Needs looking at to decide what to do
Projects
Status: Backlog
Development

No branches or pull requests

3 participants