Closed
Conversation
This commit adds support for HTML and bundled React applications as new webapp types, in addition to the existing iFrame and Superset types. Changes include: - Add HTML and BUNDLE webapp types to models and GraphQL schema - Make url field optional (not needed for HTML/Bundle types) - Add content field for HTML webapps - Add bundle field for bundled React apps (stored as zip) - Add type-aware form fields with preview functionality - Add bundle upload with drag-and-drop support - Add HTML editor with live preview - Add webapp serving endpoints for HTML and Bundle types - Extract webapp type label logic to helper function - Add comprehensive tests for new functionality - Add translations for new features
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Resolved conflicts: - Combined is_public field with content/bundle fields in models - Combined isPublic with content in GraphQL schema - Updated fragments to include both fields - Renamed migration 0007_webapp_is_public to 0008 to avoid conflict
Merges bundle storage changes from zipfile to workspace bucket:
- Replaces bundle BinaryField with bundle_manifest (JSON) and bundle_uploaded_at
- Stores bundle files in workspace bucket at webapps/{slug}/ prefix
- Updates views to read files from storage instead of database
- Includes all tests for bundle storage functionality
- Maintains is_public field from feat/public-browing-for-web-apps
Migration sequence:
- 0007: adds content, bundle_manifest, bundle_uploaded_at, alters url
- 0008: adds is_public field
89b6cf8 to
a15d2a5
Compare
Contributor
|
Duplicate of #1634 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The functional part is here , but PR is nto yet ready, still need some fixes and tests
A short, meaningful PR description. Explain the goal of the PR and the ideas behind it.
Closes: HEXA-1426 , HEXA-1428
Changes
How/what to test
Create a webapp, mark it as public, try navigating to it from the outside of your current openehexa session - incognito mode for example.
Screenshots / screencast
Uploading Screen Recording 2025-12-18 at 14.53.36.mov…