Skip to content

feat: add local gateway URL options to share modal#2482

Open
lidel wants to merge 1 commit intomainfrom
feat/share-modal-local-gateway-url
Open

feat: add local gateway URL options to share modal#2482
lidel wants to merge 1 commit intomainfrom
feat/share-modal-local-gateway-url

Conversation

@lidel
Copy link
Member

@lidel lidel commented Mar 10, 2026

allow copying local gateway links for use in external apps, with optional localhost subdomain mode for web apps

Demo

Old UI looks the same, new checkbox is opt-in:

1_2026-03-10_18-00

Once clicked, we update UI to indicate this is no longer for sharing with friends, and only other apps on the same machine. We use IP-based Path gateway that is known to work everywhere:

2_2026-03-10_18-00

Subdomain gateways do not work on all platforms, and only benefit web contexts (browser web apps, websites with relative paths etc), so are opt-in:

3_2026-03-10_18-00

allow copying local gateway links for use in external apps,
with optional localhost subdomain mode for web apps

- actions.js: doFilesShareLink returns local and subdomain links
- ShareModal: checkbox to toggle local link, nested checkbox for
  localhost subdomains, QR hidden in local mode
- Modals: passes new link variants to ShareModal
- en/files.json: added translation keys for new UI elements
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.

1 participant