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

In-editor widget development #33

Open
3 of 8 tasks
salmenf opened this issue Jan 24, 2023 · 0 comments
Open
3 of 8 tasks

In-editor widget development #33

salmenf opened this issue Jan 24, 2023 · 0 comments
Assignees
Labels

Comments

@salmenf
Copy link
Member

salmenf commented Jan 24, 2023

It would be nice to allow developers to use WebWriter directly as the development preview. This would also remove the need to set up a development environment for widget developers, so only WebWriter, npm and a text editor are needed to develop widgets.

Basic

  • Use a file system watcher to automatically reimport the widget when code changes (Enable/disable in "Packages")
  • Allow accessing folder of specific package
  • Add package initialization ('npm init ...')
  • Analyzing package.json to give feedback/error messages about the package structure
  • Make it easier to publish development versions (hide versions with MAJOR < 1 by default? Add 'npm publish' interface to local packages)

Advanced

  • Baseline Bundle Size: Sum of the size of all dependencies -> Just get the file size of the import test file
  • Lighthouse Score: Loading performance of widget -> Get lighthouse score & report
  • Accessibility: WCAG compliance -> Use axe-core

Problems:

  • Tauri's file system scoping wouldn't allow for arbitrary package paths -> Developer version? Extra allowed path for packages? Just force development in data dir? --> Persisted Scope, remember every package path ever selected
@salmenf salmenf added enhancement New feature or request for developers core labels Jan 24, 2023
@salmenf salmenf self-assigned this Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant