Phone: search is offered twice, in the masthead and under the bottom bar's More; remove it from the bar #339
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#339
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported from a phone: the search icon shows twice, once in the top bar and once in the bottom navigation bar. The request is to remove the one at the bottom.
What exists
lg(src/postulo/templates/base.html:133-134,data-search-link). Fromlgup it is the search box instead.src/postulo/templates/partials/nav_links.html:47-49,data-nav-search). The stylesheet shows it only below 768 pixels: "The search is in the masthead frommdup … so More carries it only in the bar" (assets/css/app.css).Both came with #299, and the two comments no longer agree with the page: the masthead's link is shown below
mdas well, so on a phone search is offered in both places.nav_links.htmlstill says the bar has "the search, which only the bar needs".By the code, the bottom one is inside More, not on the bar itself. If it shows on the bar directly, a screenshot here would say so.
What to do
data-nav-search), with its rule inassets/css/app.cssand the sentences about it in the comments ofnav_links.htmland the stylesheet. The masthead's link stays, as does the "/" shortcut that follows it on a narrow window (data-search-linkinsrc/postulo/static/js/app.js).:not(:has(> a:nth-of-type(…)))).npm run build:cssafterwards: the compiled stylesheet is committed and CI checks it.Done when
tests/e2e/test_navigation_bar.py:271,tests/e2e/test_reflow.py:329-334) search through the masthead's link instead;tests/test_navigation.py, which pins that link, still passes.Related: #299, and #338, reported with it.
Reported on 2026-10-01, from a phone.