Masthead on phones: the search takes the whole row, and works like the page searches #833
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#833
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?
On mobile and vertical screens, opening the search should hide the Postulo logo, the instance name and the + menu, leaving only the account avatar; and the masthead search should behave like the dedicated searches on Listings, Applications and Companies. Documents already does.
What exists today
templates/cotton/site_search.html, frombase.html:127, has two modes:{% block site_search %}, the Documents pages among them). Belowlgit is a link to/search/that, with scripts, opens the form in place of the wordmark (#350,app.js:2626-2696,app.css:1958-2003): the wordmark and the magnifier are hidden, the + menu and the account menu stay (app.css:1962-1963), the input is 16 px, has a close button, and Escape closes it. Submitting goes to the search page.jobs/listing_list.html:11,applications/application_list.html:9,jobs/company_list.html:9). Belowlgthe magnifier opens a popover drawn as a bar under the masthead (#313,app.css:1893-1898); the wordmark and the + menu stay. The input sits in an input group with search this table and Search everything buttons and narrows the table live (hx-trigger="input changed delay:300ms"). Its text istext-smat every width (site_search.html:92), so iOS zooms on focus.What would change
lgopens in the masthead row the way everything mode does, keeping its input group and live narrowing; the popover stays as the no-script fallback.data-new-menu); only the avatar remains.lg.Decisions
Tests that name these attributes:
tests/test_navigation.py,tests/test_keyboard_and_focus.py, the browser suite.Checked against
mainat8c3d03570. From the maintainer's improvements list of 2026-10-07.Fixed in
1cb70941eon main.