Repository navigation
Rename b2b/manage to management/admin and show the new management components - #18
Draft
brionmario wants to merge 1 commit into
Draft
brionmario wants to merge 1 commit into
brionmario wants to merge 1 commit into
Conversation
This was referenced Nov 4, 2026
Merged
Merged
…ization units, flows, sharing policies and account pages, and move the Android quickstart to the api.auth package Signed-off-by: Brion <info@brionmario.com>
brionmario
force-pushed
the
feat-management-admin-sample
branch
from
November 6, 2026 05:24
4330879 to
d739716
Compare
7 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
The
b2b/managesample showed agents only, with a hand-written table and delete dialog. This renames it tomanagement/admin(an "Admin" app) and makes it show the management components@thunderid/reactnow ships, so it demonstrates the SDK rather than working around gaps in it. It also moves the Android quickstart to the SDK's newapi.authpackage.Draft until
@thunderid/react1.15.0 and Android SDK v1.10.0 are released (1.14.0 shipped without these components):package-lock.jsonnames 1.15.0 without an integrity hash, sonpm cifails until then. After the release, runnpm installinmanagement/adminand fold the refreshed lockfile into this commit.Approach
Rename:
b2b/managebecomesmanagement/admin, with its banner, release workflow entry, root README row and AGENTS.md updated.Management pages (
management/admin/src/pages):ProjectList,ProjectCreateandProjectDetails(editable, deletable).ProjectSwitchersits at the top of the sidebar. The SDK reads the current project itself, soApplicationList,AgentList,ApplicationCreateandAgentCreateare scoped to it without extra props. A project id is never passed as an organization unit id.OrganizationUnitList(root units, or a unit's children with?parent=),OrganizationUnitCreateandOrganizationUnitDetails(editable, deletable, with child units, users, groups and roles).SharingPoliciespanel on the user, application, role and flow pages, the four resource types the server shares.RoleDetailswith editableRolePermissionsandRoleAssignments.GroupDetailswithGroupMembers.getFlows(the SDK has no flow list component) and a flow page with its sharing policies.AgentListandAgentCreatereplace the hand-written table and form. The agent onboarding flow moves to/agents/onboard.OrganizationUnitSwitcherin the top bar (a compact select through its custom render, hidden when the user can access fewer than two units), and/accountwithUserProfileandChangeCredential.api/agents.ts,AgentRow,AgentAvatar,RecordHeader,ConfirmDialog,TrashIcon), with their CSS.Android quickstart:
dev.thunderid.android.auth.FederatedAuthSessionbecomesdev.thunderid.android.api.auth.FederatedAuthSession, and the pin moves fromv1.6.0tov1.10.0, the release that carries the package move. Not compiled yet, since the release isn't out.Verified against a local build of the javascript-sdks branch (packed and installed into the sample):
tsc -b,npm run lint,npm run format:checkandnpm run buildall pass.Related Issues
Related PRs
api.authpackage move.Checklist
management/admin/README.md