3x-ui/frontend/src/pages
MHSanaei 188fb0f2bd
feat(frontend): Phase 5f-vii — shared text/prompt modals + remaining export/import wiring
Wires up the last batch of inbound row + general actions that were
toasting "coming soon": export-inbound-links, export-subs (per-inbound
and global), export-all-links, import-inbound, and the clipboard JSON
peek. Two small shared components back them — both can be reused by
the xray page later.

- TextModal.vue (shared): read-only multi-line viewer with a copy
  button and an optional download button when fileName is set.
  Replaces the legacy txtModal which the inbounds page used for every
  link export.
- PromptModal.vue (shared): generic title + input/textarea + confirm
  callback, with the legacy keybindings (Enter submits in single-line
  mode; Ctrl+S submits in textarea mode). Used here for import-inbound
  but also by xray-config edits in Phase 6.
- InboundsPage.vue: drops the toast stubs for `import`/`export`/`subs`
  on the general-actions menu and `export`/`subs`/`clipboard` on the
  per-row menu, routing each through openText / openPrompt + the
  appropriate model helper (genInboundLinks, etc.). The copyClients
  cross-inbound modal stays toast-stubbed — that's its own dedicated
  legacy modal worth its own commit.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 14:09:19 +02:00
..
inbounds feat(frontend): Phase 5f-vii — shared text/prompt modals + remaining export/import wiring 2026-05-08 14:09:19 +02:00
index feat(frontend): Phase 5c-v — custom-geo section in VersionModal 2026-05-08 12:58:56 +02:00
login fix(frontend): drop ultra-dark bottom-wave seam line 2026-05-08 12:24:05 +02:00
settings feat(frontend): Phase 5d-vi — settings Subscription formats tab 2026-05-08 13:12:53 +02:00