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

Explorable Dependency Versioning #49

Open
3 tasks
salmenf opened this issue Jan 22, 2024 · 0 comments
Open
3 tasks

Explorable Dependency Versioning #49

salmenf opened this issue Jan 22, 2024 · 0 comments
Labels
core enhancement New feature or request

Comments

@salmenf
Copy link
Member

salmenf commented Jan 22, 2024

  • On saving an explorable:
  1. Write an importmap with the versions of all widgets used in the explorable (based on installed).
  2. Create bundle based on importmap.
  • On loading an explorable:
  1. Load importmap of explorable if available.
  2. For each import:
  3. If versions match, pass.
  4. If explorable < installed on a minor or patch version, silently upgrade explorable.
  5. If versions don't match: Let user choose between keeping both, aligning installed, or aligning explorable. Warn if aligning a major version mismatch.
  • Also add a form in the metadata editor to change versions.
@salmenf salmenf added enhancement New feature or request core labels Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant