Skip to content

fix(webapps-neo): Layout and deep-link fixes on Deployments and Admin - #3915

Merged
lambdaschmied2 merged 6 commits into
mainfrom
fix/webapps-neo-layout-deployments-admin
Oct 22, 2026
Merged

lambdaschmied2 merged 6 commits into
mainfrom
fix/webapps-neo-layout-deployments-admin

Conversation

@lambdaschmied2

Copy link
Copy Markdown
Contributor

Closes #3914.

Layout and deep-link fixes for the Deployments and Admin → Authorizations pages of webapps-neo. Frontend only (CSS, JSX, translations).

Changes

  • Deployments page scrolls as a whole. .deployments no longer clips with overflow: hidden, and the resource details pane takes its content height instead of scrolling on its own.
  • Resource selected via ?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.
  • pre scrolls horizontally inside the block. A new base rule sets overflow-x: auto. It also sets overscroll-behavior-y: auto, because the global * { overscroll-behavior: none } would otherwise swallow vertical wheel scrolling over the block.
  • Create authorization form aligned to the form grid. Live regions (> [aria-live]) span both columns, like the other form-wide messages. The permissions fieldset sits in the field column.
  • Create authorization form in a <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 unused admin.authorization.cancel-create translation 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

  • vitest: Deployments.test.jsx uses the query param, with new tests for the encoded link and for not reloading the list. 825 tests pass.
  • Checked with Playwright against Operaton Run with the dev fixtures:
    • deployments page scrolling at 1475×730
    • reload on ?resource=approve.form
    • pre scrolling on both axes without page overflow at 700px width
    • create authorization form layout, plus open, cancel and reopen of the panel

🤖 Generated with Claude Code

Assisted-by: Claude:claude-opus-5-5

lambdaschmied2 and others added 5 commits October 22, 2026 16:18
- 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]>
@lambdaschmied2 lambdaschmied2 added bug Something isn't working lang:javascript Pull requests that update Javascript code scope:webapp-neo Changes affecting the new webapps. labels Oct 22, 2026
@github-actions github-actions Bot removed the lang:javascript Pull requests that update Javascript code label Oct 22, 2026
…t-deployments-admin

# Conflicts:
#	webapps-neo/frontend/src/pages/Deployments.jsx
@sonarqubecloud

Copy link
Copy Markdown

@lambdaschmied2
lambdaschmied2 merged commit 5851950 into main Oct 22, 2026
11 checks passed
@kthoms kthoms added this to the 2.2.0 milestone Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working scope:webapp-neo Changes affecting the new webapps.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webapps-neo: layout and deep-link fixes on the Deployments and Admin pages

2 participants