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

DIY widget should allow easy import/export #1592

Open
rafaellehmkuhl opened this issue Jan 17, 2025 · 3 comments
Open

DIY widget should allow easy import/export #1592

rafaellehmkuhl opened this issue Jan 17, 2025 · 3 comments
Labels
enhancement New feature or request widget-specific A widget-specific issue

Comments

@rafaellehmkuhl
Copy link
Member

This way people can share their creations easily.

@rafaellehmkuhl rafaellehmkuhl added enhancement New feature or request widget-specific A widget-specific issue labels Jan 17, 2025
@ES-Alexander
Copy link
Contributor

Is this feasible as a single HTML file, with a style and script section? :-)

@rafaellehmkuhl
Copy link
Member Author

Is this feasible as a single HTML file, with a style and script section? :-)

It is! The problem is if the user adds style/script tags to the html tag 😂 But we can treat this case as well.

Your use case is being able to use/test it outside cockpit right?

@ES-Alexander
Copy link
Contributor

I didn’t have a particular use-case in mind - it just seemed like a good fit for the job, since html files are already able to contain css and JavaScript, and then each DIY widget could be confined to (and shared as) a single file :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request widget-specific A widget-specific issue
Projects
None yet
Development

No branches or pull requests

2 participants