Commit graph

4 commits

Author SHA1 Message Date
MHSanaei
afd44ed687
refactor(frontend): split inbound-only protocol forms (tun, tunnel) into per-file
Extract the tun and tunnel protocol blocks from InboundFormModal into inbounds/form/protocols/{tun,tunnel}.tsx (presentational, declarative). First inbound-side per-protocol split. Verbatim relocation; inbound snapshots unchanged -> no behavior change. typecheck/lint/build green.
2026-05-30 18:18:44 +02:00
MHSanaei
42f943ddc8
refactor(frontend): extract InboundFormModal advanced JSON editors
InboundFormModal.tsx 3129 -> 2863. Moved AdvancedSliceEditor and AdvancedAllEditor (the in-modal JSON slice/all editors) into advanced-editors.tsx along with their adapter-helper imports. Per-protocol render snapshots unchanged -> verified no behavior change. typecheck/lint/build green.
2026-05-30 16:29:34 +02:00
MHSanaei
1645664f03
refactor(frontend): move shared protocol enums to schemas/protocols/shared
Decouple Outbound from Inbound schemas: SSMethodSchema and VmessSecuritySchema (shared between inbound & outbound) now live in a neutral schemas/protocols/shared/ module. Outbound no longer reaches into schemas/protocols/inbound/*. Pure relocation + import rewiring; schema values identical, snapshots & golden tests unchanged.
2026-05-30 15:17:16 +02:00
MHSanaei
06d0ae947d
refactor(frontend): reorganize components & pages into feature folders
No behavior change; pure file relocation + import path updates.
2026-05-30 14:59:56 +02:00
Renamed from frontend/src/pages/inbounds/InboundFormModal.tsx (Browse further)