Skip to content

Remove unused Jump to page leftovers - #4148

Open
reakaleek wants to merge 1 commit into
feat/api-jump-to-page-rowsfrom
feat/remove-jump-to-page-leftovers
Open

reakaleek wants to merge 1 commit into
feat/api-jump-to-page-rowsfrom
feat/remove-jump-to-page-leftovers

Conversation

@reakaleek

Copy link
Copy Markdown
Member

Delete unused `SearchDropdownHeader` and the Codex hero `navigation-search` rule. The `FinishExportAsync` temporary comment stays for elastic/docs-eng-team#724.

Affects: Site UI

Prompt summary: Fifth stacked PR for the Jump to page API story. Implement elastic/docs-eng-team#861 on top of elastic/docs-builder#4147: remove leftovers. Do not implement elastic/docs-eng-team#724.

Stack: 5 of 5, on top of #4147.

Why

`SearchDropdownHeader.tsx` is unused. `codex.css` still styles `navigation-search` in the Codex hero. Those leftovers confuse the next change.

Closes elastic/docs-eng-team#861

What

Unused header

`SearchDropdownHeader.tsx` is deleted. Nothing imported it.

Codex CSS

The `.codex-hero navigation-search` rule is gone. `codex.css` has no `navigation-search` selector.

Left alone

The `FinishExportAsync` temporary comment stays. That work belongs to elastic/docs-eng-team#724.

Verify

cd src/Elastic.Documentation.Site && npm run build && npm run test

Made with Cursor

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: no actionable issues found at or above the review threshold.


What is this? | From workflow: PR Review

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

SearchDropdownHeader and the Codex hero rule are dead. They confuse the next change. Leave the FinishExportAsync temporary comment for the separate #724 work.

Co-Authored-By: Cursor Grok 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview (local build)

Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4148/

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.

1 participant