Clean up Config page: remove Export tab, add CreateJailDialog, fix UI details

- Remove Export tab and all its imports from ConfigPage.tsx
- Remove Refresh and Reload fail2ban buttons from JailsTab; clean up
  associated state (reloading, reloadMsg, deactivating) and handlers
- Add Create Config button to Jails tab list pane (listHeader pattern);
  create CreateJailDialog component that calls createJailConfigFile API
- Remove Active/Inactive and 'Has local override' badges from FilterDetail
  and ActionDetail; remove now-unused Badge imports
- Replace read-only log path spans with editable Input fields in JailConfigDetail
- Export CreateJailDialog from components/config/index.ts
- Mark all 5 tasks done in Docs/Tasks.md
This commit is contained in:
2026-03-14 08:33:46 +01:00
parent 6e4797d71e
commit 201cca8b66
7 changed files with 322 additions and 402 deletions

View File

@@ -24,6 +24,8 @@ export { CreateActionDialog } from "./CreateActionDialog";
export type { CreateActionDialogProps } from "./CreateActionDialog";
export { CreateFilterDialog } from "./CreateFilterDialog";
export type { CreateFilterDialogProps } from "./CreateFilterDialog";
export { CreateJailDialog } from "./CreateJailDialog";
export type { CreateJailDialogProps } from "./CreateJailDialog";
export { ExportTab } from "./ExportTab";
export { FilterForm } from "./FilterForm";
export type { FilterFormProps } from "./FilterForm";