Repository navigation
fix(webapps-neo): Layout and deep-link fixes on Deployments and Admin - #3915
Merged
Merged
Conversation
- the deployments page clipped its content and only the resource details pane scrolled, hiding content on small heights - let the page scroll as a whole; resource details take their content height related to #3914 Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- reloading /deployments/<id>/<resource> returned a 404 on the built web app: the server treats a last path segment with a dot as a missing static file instead of a client route - pass the resource as ?resource=<name> instead, URL-encoded, which also handles resource names containing a slash - selecting a resource no longer reloads the deployment list related to #3914 Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- a pre with long lines widened the whole page - let pre scroll horizontally, and pass vertical scrolling on to the page so the global overscroll-behavior rule does not swallow it related to #3914 Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- the empty live region at the start of the form took the first grid cell and pushed every label into the field column; live regions now span both columns like the other form-wide messages - the permissions fieldset has no label in front of it, so place it in the field column related to #3914 Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- replace the button that toggled the form with a details element - give the open panel a light background and more space before the authorization table - drop the now unused "cancel-create" translation related to #3914 Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t-deployments-admin # Conflicts: # webapps-neo/frontend/src/pages/Deployments.jsx
|
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.



Closes #3914.
Layout and deep-link fixes for the Deployments and Admin → Authorizations pages of webapps-neo. Frontend only (CSS, JSX, translations).
Changes
.deploymentsno longer clips withoverflow: hidden, and the resource details pane takes its content height instead of scrolling on its own.?resource=<name>. The route is now/deployments/:deployment_id?, and resource links set a URL-encoded query param. A path ending in a file name (…/approve.form) was answered with a 404 on reload, because the server treats a dotted last segment as a missing asset. This also covers resource names containing/. Selecting a resource no longer reloads the deployment list.prescrolls horizontally inside the block. A new base rule setsoverflow-x: auto. It also setsoverscroll-behavior-y: auto, because the global* { overscroll-behavior: none }would otherwise swallow vertical wheel scrolling over the block.> [aria-live]) span both columns, like the other form-wide messages. The permissions fieldset sits in the field column.<details>panel instead of a toggle button: light background, more space before the table. The form is mounted only while open, so it starts empty each time, and Cancel and a successful save close it. Removes the unusedadmin.authorization.cancel-createtranslation from all five locales.Behaviour change
Resource links change from
/deployments/<id>/<name>to/deployments/<id>?resource=<name>. Bookmarks in the old form still 404 on reload; there is no redirect.Tests
Deployments.test.jsxuses the query param, with new tests for the encoded link and for not reloading the list. 825 tests pass.?resource=approve.formprescrolling on both axes without page overflow at 700px width🤖 Generated with Claude Code
Assisted-by: Claude:claude-opus-5-5