mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 13:14:11 +00:00
Move the last three oversized inline stream blocks out of OutboundFormModal into presentational components under xray/outbounds/transport/: SockoptForm (~260 lines, the worst offender), MuxForm, and HysteriaForm. Each takes the form instance; MuxForm also takes protocol/network and keeps its isMuxAllowed gate. OutboundFormModal drops from 962 to 621 lines and no inline section now exceeds the 250-line guideline. Existing outbound-form-modal snapshots already cover sockopt/mux and stay byte-identical, confirming no behavior change. |
||
|---|---|---|
| .. | ||
| protocols | ||
| security | ||
| transport | ||
| index.ts | ||
| outbound-form-constants.ts | ||
| outbound-form-helpers.ts | ||
| OutboundFormModal.css | ||
| OutboundFormModal.tsx | ||
| OutboundsTab.css | ||
| OutboundsTab.tsx | ||