Skip to content

Remove the intro line from the API feedback modal - #5028

Merged
akira28 merged 1 commit into
mainfrom
chore/tell-us-what-looks
Nov 24, 2026
Merged

akira28 merged 1 commit into
mainfrom
chore/tell-us-what-looks

Conversation

@akira28

@akira28 akira28 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

The API feedback modal no longer shows "Tell us what looks wrong or is missing." above the feedback widget.

Affects: API Explorer, Site frontend

Prompt summary: Remove the "Tell us what looks wrong or is missing." text from the feedback modal on API pages.

Why

The modal renders the page feedback widget, which already asks for the reader's input. The intro line repeats it and adds height to the dialog.

What

Modal markup

The <p class="api-beta-feedback__intro"> paragraph is gone from _ApiBetaBanner.cshtml. The dialog opens straight on the feedback widget.

Unused styles

Nothing uses .api-beta-feedback__intro any more, so its rules are removed from api-docs.css and api-reference.css.

Snapshots

The two ApiBetaBannerTests verified HTML files lose the same line.

Verify

dotnet test --project tests/Elastic.ApiExplorer.Tests --treenode-filter "/*/*/ApiBetaBannerTests/*"

The page feedback widget already asks for the reader's input, so the extra line only repeats it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@akira28
akira28 requested a review from a team as a code owner November 24, 2026 08:28
@akira28 akira28 added the chore label Nov 24, 2026
@akira28
akira28 requested a review from technige November 24, 2026 08:28
@akira28
akira28 enabled auto-merge (squash) November 24, 2026 08:29
@github-actions

Copy link
Copy Markdown
Contributor

@akira28
akira28 merged commit 6d25fa9 into main Nov 24, 2026
50 checks passed
@akira28
akira28 deleted the chore/tell-us-what-looks branch November 24, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants