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

Provide configuration entry for creating iframe applications #207

Open
andersevenrud opened this issue Mar 2, 2023 · 0 comments
Open

Provide configuration entry for creating iframe applications #207

andersevenrud opened this issue Mar 2, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@andersevenrud
Copy link
Member

andersevenrud commented Mar 2, 2023

Instead of going through the whole route of scaffolding an entire package, it would be nice if the client supported a configuration option to launch a standard iframe application from a URL, etc.

I could see this could be useful for environments that already have deployed apps, and there's no need for actual package distribution or installation.

It's already possible to configure custom (virtual) metadata entries this way, but it doesn't cover this use-case because this method still expects actual source files.

Something like:

{
  packages: {
    external: [
      {
        target: {
          url: '',
          /* Other possible stuff that might be required */
        },
        metadata: {
         /* Standard package metadata here */
        },
        window: {
         /* Window options that cannot be set from metadata */
        },
        callback: (proc) => {
         /* It's even possible to provide callback to when app has started for bindings etc */
        }
      }
    ]
  }
)
@andersevenrud andersevenrud added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant