Skip to content

Comments

feat: public browsing for web apps#1539

Closed
nazarfil wants to merge 32 commits intomainfrom
feat/public-browing-for-web-apps
Closed

feat: public browsing for web apps#1539
nazarfil wants to merge 32 commits intomainfrom
feat/public-browing-for-web-apps

Conversation

@nazarfil
Copy link
Contributor

@nazarfil nazarfil commented Dec 18, 2025

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

  • Adds toggle to change access for WebApps (Public or Private)
  • When toggle is on for public access, allows navigating to the WebApp page from the outside of OpenHexa
  • Adds a banner on the bottom of publicly hosted WebApps to display OpenHexa logo
  • Displays if an app is public/private in the webapps list.

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…

nazarfil and others added 28 commits December 17, 2025 09:13
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
@nazarfil nazarfil changed the title Feat/public browing for web apps Feat/public browsing for web apps Jan 7, 2026
@nazarfil nazarfil changed the title Feat/public browsing for web apps feat: public browsing for web apps Jan 7, 2026
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
@nazarfil nazarfil force-pushed the feat/public-browing-for-web-apps branch from 89b6cf8 to a15d2a5 Compare January 7, 2026 14:51
@nazarfil nazarfil changed the base branch from main to feat/html-and-react-app January 7, 2026 15:41
@nazarfil nazarfil changed the base branch from feat/html-and-react-app to main January 7, 2026 15:42
@nazarfil nazarfil requested a review from bramj January 7, 2026 15:42
@yolanfery
Copy link
Contributor

yolanfery commented Feb 23, 2026

Duplicate of #1634

@yolanfery yolanfery marked this as a duplicate of #1539 Feb 23, 2026
@yolanfery yolanfery closed this Feb 23, 2026
@yolanfery yolanfery removed the request for review from bramj February 23, 2026 12:00
@yolanfery yolanfery marked this as a duplicate of #1634 Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants