Repository navigation
feat: favorites, notes, impersonation, delete - #271
Merged
Merged
Conversation
Users who follow many systems need a quick way back to the few they work on. Each user can now star systems: the star sits next to the name in the list and on the system page, and the row menu adds or removes it too. A filter lists only favorites and a sort brings them to the top. Favorites are personal, kept in a new system_favorites table (migration 062) and removed with the user. They are read-only while impersonating. The authz suite covers the new endpoints. Assisted-by: Claude Code:claude-sonnet-5-5
Notes were visible only on the system page. An icon next to the name in the systems list now shows them in a tooltip, cut at ten lines, so the list tells which systems carry notes. Assisted-by: Claude Code:claude-sonnet-5-5
Distributors, resellers, customers and applications carry notes too, but the lists did not tell which ones have them. Their tables now show the same notes icon as the systems list, next to the name: its tooltip shows the notes, cut at ten lines. The icon moves to the common components, since five tables share it. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 23, 2026 08:45 — with
Render
Active
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 08:46 — with
Render
Active
Contributor
|
🔗 Redirect URIs Added to Logto The following redirect URIs have been automatically added to the Logto application configuration: Redirect URIs:
Post-logout redirect URIs:
These will be automatically removed when the PR is closed or merged. |
Contributor
🚨 Breaking my.nethesis.it API change detectedStructural change detailsAdded (4)
Modified (6)
Removed (4)
Powered by Bump.sh |
Status is the filter people reach for first: the favorites filter now follows it, in the systems list and in the manual. Assisted-by: Claude Code:claude-opus-5-5
A filter, sort or page change sent every table back to its skeleton: the rows vanished, the table jumped and the sort button lost the focus. Tables now keep their rows until the new ones arrive, and only the first load shows the skeleton. Queries tied to one system or session keep the rows only while it stays the same. A refresh that lasts over 500 ms shows a progress bar over the top border of the table, out of the layout, in place of the spinner that wrapped the filters. Elsewhere the spinner stays, now shown after 500 ms and kept at least 500 ms. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 08:51 — with
Render
Active
Next to the page heading the 16 px star looked small. It takes a 20 px icon there, in a 28 px button that still fits the 32 px heading line, so the header does not grow. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 08:55 — with
Render
Active
Owner and Staff users now impersonate any active user without waiting for a consent the user had to grant from the account page. The consent endpoints, the top bar badge and the consent controls are gone, and migration 063 drops the impersonation_consents table. A session lasts IMPERSONATION_SESSION_DURATION (default 1h, capped at 168h) instead of the remaining consent window. Self, Owner-role and inactive targets are still refused, and every session is still audited. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 09:37 — with
Render
Active
edospadoni
deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 23, 2026 09:37 — with
Render
Active
Endpoints in the impersonation audit log are long paths with ids and query strings, with no space to break on: the table grew wider than the modal. The column now wraps anywhere. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 09:44 — with
Render
Active
The timer tooltip of the impersonation badge gets an "Extend session" link: the session restarts for a full IMPERSONATION_SESSION_DURATION, with no confirmation and no limit, and a toast confirms the new time. POST /api/impersonate/extend takes the impersonation token, never an API key, issues a new token for the same session and revokes the old one. It re-checks the impersonator's permission and the target from their current state, and audits the extension as session_extended. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 23, 2026 10:52 — with
Render
Active
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 10:52 — with
Render
Active
The design system calls the soft delete "Delete", not "Archive": the action, its status, modals and toasts now say Delete with the trash icon, Italian Destroy becomes "Distruggi" so it no longer clashes with "Elimina", and the delete, destroy and restore confirmations follow the writing guidelines. Deleted objects belong to the Owner organization: elsewhere the status filters drop "Deleted", the API refuses lists and exports filtered on status=deleted, and the restore routes refuse any other caller. The authz suite and the user manual follow. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 23, 2026 13:47 — with
Render
Active
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 13:47 — with
Render
Active
The writing guidelines rule out "Are you sure...?" and questions in modals: suspend, reactivate, reset password, regenerate secret, take over and backup delete now name the object and say what happens, and the remove from rebranding title is an action with a Remove button. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 13:57 — with
Render
Active
"Free" reads as "free of charge": the glossary term for undoing an assignment is "Release", so the button, its toast and the hints that name it say Release license. Italian keeps "Libera licenza". Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 14:02 — with
Render
Active
The icon and the title of a counter card use the secondary neutral text color instead of tertiary neutral; the counter keeps its color. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 23, 2026 14:10 — with
Render
Active
The hint uses the info icon of the other tooltips, says in one sentence where to set another address, linking the field label and the Edit system link, and the drawer it opens focuses the web interface URL. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 24, 2026 11:01 — with
Render
Active
Resuming a session from the status endpoint re-reads the impersonator: one who lost impersonate:users, or whose target became an Owner-role account, has the session cleared instead of a new token. Extending fails when Redis cannot record it, so a token never outlives its session. Handler tests run against an in-memory Redis. Assisted-by: Claude Code:claude-opus-5-5
Extend session and Edit system were links without an address, which the keyboard skips, and the impersonation badge opened its tooltip from an element that takes no focus. They are buttons now, styled for the tooltip background; the system page hint is announced in full and its icon is aligned with the Open button. The manual calls it an information icon, as it is. Assisted-by: Claude Code:claude-opus-5-5
A request still in flight when its token is replaced, by extending or ending an impersonation or by a refresh, gets 401 for the old token only: it is replayed once with the current one instead of ending the session. Assisted-by: Claude Code:claude-opus-5-5
The descriptions of the delete, destroy and restore toasts say the object type, as the writing guidelines ask, and the Italian texts take the gender of each object instead of a feminine for all. Assisted-by: Claude Code:claude-opus-5-5
Favorites are keyed on the Logto ID, with no foreign key to users: prune deletes them together with the users, when the table exists. Assisted-by: Claude Code:claude-opus-5-5
The star takes the Icon/Favourite color of the design system, Indigo 400 in the dark theme, and its hover color from a token too. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 24, 2026 15:43 — with
Render
Active
edospadoni
deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 24, 2026 15:43 — with
Render
Active
edospadoni
temporarily deployed
to
feat/favorite-systems - my-proxy-qa PR #271
November 25, 2026 07:00 — with
Render
Destroyed
edospadoni
deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 25, 2026 07:00 — with
Render
Active
edospadoni
deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 25, 2026 07:00 — with
Render
Active
edospadoni
temporarily deployed
to
feat/favorite-systems - my-collect-qa PR #271
November 25, 2026 07:00 — with
Render
Destroyed
A request refused for a token replaced since was replayed with the current one, whoever it belonged to. When an impersonation ended with a request in flight, the request ran again as the impersonator, outside the impersonation audit. The login store now counts identity switches (an impersonation started, restored or ended). A request refused after a switch is given up: it is neither replayed nor refreshed for. A token replaced within the same identity, by a refresh or an extended session, still gets the replay. Assisted-by: Claude Code:claude-sonnet-5-5
List filters outlive an impersonation. A "Deleted" status ticked in the Owner organization reached a user who cannot see deleted objects: the backend refused the list, the page turned forbidden and the dropdown no longer offered the option to untick it. Systems, users, distributors, resellers and customers now drop the status as soon as deleted objects become hidden, falling back to the default statuses when nothing else is left. Assisted-by: Claude Code:claude-sonnet-5-5
edospadoni
temporarily deployed
to
feat/favorite-systems - my-frontend-qa PR #271
November 25, 2026 14:31 — with
Render
Destroyed
The migrations of this branch were numbered from 070, leaving a gap after 061, the highest on main. They now follow it without gaps: system_favorites is 062, drop_impersonation_consents 063 and add_systems_ui_url 064. Assisted-by: Claude Code:claude-opus-5-5
edospadoni
temporarily deployed
to
feat/favorite-systems - my-backend-qa PR #271
November 25, 2026 15:00 — with
Render
Destroyed
edospadoni
approved these changes
Nov 25, 2026
Contributor
|
🗑️ Redirect URIs Removed from Logto The following redirect URIs have been automatically removed from the Logto application configuration:
Cleanup completed for PR #271. |
andre8244
added a commit
that referenced
this pull request
Nov 25, 2026
Main took 062-064 with the favorite systems, impersonation and system web interface migrations of #271. The support migrations follow them: 062-069 become 065-072, in the same order. QA already records them under the new numbers, with the checksums of these files. Assisted-by: Claude Code:claude-opus-5-5
This branch was successfully deployed
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.
📋 Description
IMPERSONATION_SESSION_DURATION(default 1h); consent endpoints and UI removed, table dropped (migration 063); staff can extend a session from the badge tooltip; resuming or extending re-checks the impersonator's permissionstatus=deletedand restore elsewhere)Related Issue: none
See also: nethesis/nebula-design-system#10, NethServer/agents#43
🚀 Testing Environment
To trigger a fresh deployment of all services in the PR preview environment, comment:
Automatic PR environments:
✅ Merge Checklist
Code Quality:
Builds: