metis-desk/.artifacts/account-deletion/changed-check.log
David 0e8e15c9c2 feat: Implement account deletion functionality with UI and API integration
- Added `removeAccessAccount` function to handle account deletion in the database, ensuring no external references exist.
- Created `deleteAccount` API function to facilitate account deletion requests from the client.
- Developed `AccountDeleteDialog` component for user confirmation before account deletion, integrating with the delete API.
- Introduced resource image handling with validation for PNG uploads, including UI components for image selection and preview.
- Implemented resource icon template evolution logic to maintain icon bindings without overwriting existing fields.
- Added scripts for auditing account deletion and usage checks, ensuring robust testing of the new features.
2026-10-27 11:39:53 +01:00

17 lines
715 B
Plaintext

modules/companies/src/web/access/list/ui/access-workspace.tsx:22:17 lint/complexity/noExcessiveCognitiveComplexity ━━━━━━━━━━
! Excessive complexity of 16 detected (max: 15).
20 │ import { AccessCell } from "./access-row";
21 │
> 22 │ export function AccessWorkspacePage(props: AccessWorkspacePageProps) {
│ ^^^^^^^^^^^^^^^^^^^
23 │ const { scope, people = [] } = props;
24 │ const [localOperation, setLocalOperation] = useState<LocalIdentityOperation>();
i Please refactor this function to reduce its complexity score from 16 to the max allowed complexity 15.
Checked 17 files in 28ms. No fixes applied.
Found 1 warning.