This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/web/src/admin/users
Ken Sternberg 026e80bd10
web: replace 'description-list' with list of descriptions (#7392)
* web: break circular dependency between AKElement & Interface.

This commit changes the way the root node of the web application shell is
discovered by child components, such that the base class shared by both
no longer results in a circular dependency between the two models.

I've run this in isolation and have seen no failures of discovery; the identity
token exists as soon as the Interface is constructed and is found by every item
on the page.

* web: fix broken typescript references

This built... and then it didn't?  Anyway, the current fix is to
provide type information the AkInterface for the data that consumers
require.

* web: description lists as functions

One thing I hate is clutter.  Just tell me what you're going to do.  "Description Lists" in our code are
renderings of Patternfly's DescriptionList; we use only four of
their idioms: horizontal, compact, 2col, and 3col.  With that in mind, I've stripped out the DescriptionList
rendering code from UserViewPage and replaced it with a list of "Here's what to render" and a function call
to render them.  The calling code is still responsible for having the right styles available, as this is
not a component or an attempt at isolation; it is *just* a function (at this point).

* web: fix issue that prevented the classMap from being rendered properly

* web: added comments to the description list.

* web: analyze & prettier had opinions

* web: Fix description-list demo

This commit re-instals the demo for the "description list" of user fields.

* web: prettier had opinions.

* any -> unknown

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-12-13 16:16:57 +01:00
..
GroupSelectModal.ts web: refactor status label to separate component (#7407) 2023-11-20 11:24:48 -08:00
ServiceAccountForm.ts web/admin: contextually add user to group when creating user from group page (#7586) 2023-11-15 23:14:30 +01:00
UserActiveForm.ts web: Replace lingui.js with lit-localize (#5761) 2023-06-02 08:08:36 -07:00
UserAssignedGlobalPermissionsTable.ts core: Initial RBAC (#6806) 2023-10-16 17:31:50 +02:00
UserAssignedObjectPermissionsTable.ts core/rbac: fix missing field when removing perm, add delete from object page (#7226) 2023-10-19 14:53:56 +02:00
UserChart.ts web: Replace lingui.js with lit-localize (#5761) 2023-06-02 08:08:36 -07:00
UserDevicesTable.ts web/admin: fix admins not able to delete MFA devices (#7660) 2023-11-21 15:08:02 +01:00
UserForm.ts web/admin: contextually add user to group when creating user from group page (#7586) 2023-11-15 23:14:30 +01:00
UserListPage.ts web: refactor status label to separate component (#7407) 2023-11-20 11:24:48 -08:00
UserPasswordForm.ts web: fix form default submit handler (#7122) 2023-10-12 15:12:46 +02:00
UserPermissionForm.ts core: Initial RBAC (#6806) 2023-10-16 17:31:50 +02:00
UserResetEmailForm.ts web: fix form default submit handler (#7122) 2023-10-12 15:12:46 +02:00
UserViewPage.ts web: replace 'description-list' with list of descriptions (#7392) 2023-12-13 16:16:57 +01:00