New channel config (#807)

* Channel config rework

Add staged channel config with tabbed UI, import/export workflow, and global form state refactor

* Improve import dialog config comparison and UI labels

* Review fixes

* Improve state handling

* Fix default filter behaviour

---------

Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
Jeremy Gallantandphilon- authored and GitHub committed 2025-09-01 09:07:34 -04:00
1 parent 01fa030ef9
commit 1946000d14
42 files changed
+597 -456

No files matched your search

+3
View File
@@ -35,3 +35,6 @@ export function makeChannelSchema(allowedBytes: number) {
role: RoleEnum,
});
}
const ChannelValidationSchema = makeChannelSchema(0); // generate a schema that doesn't validate PSK length, just structure, for type purposes
export type ChannelValidation = z.infer<typeof ChannelValidationSchema>;