Push filters onto the history, link company names to their roles, and star a company from the feed
A filter set in the rail is now a history entry, so back takes it off; the search box and typed fields replace, and the agent and order replace and are left alone by back and forward. popstate reads the address into the filter and reloads. Each pushed entry carries the address under it, which replaces pushedReader, so closing the reader and taking a company off are history.back() only when the entry under is that list. A company's name in a row and in the reader links to ?company_keys=, keeping agent and order; a plain click filters in place and pushes. With one company filtered, a strip over the feed names it, counts its roles, links its careers page and carries its affinity control, and reloads the feed once the score it queued has run. On a phone the name takes taps from a band around it without making the row taller, and with a filter on the header no longer runs past 390px. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
64f367cc18
commit
4ae5e845ee
3 files changed
+316
-48
No files matched your search
@@ -112,6 +112,9 @@
|
||||
</aside>
|
||||
|
||||
<main id="list">
|
||||
{# The company filtered to, when there is exactly one: its name, its
|
||||
roles, its careers page and its star (`renderStrip`). #}
|
||||
<section id="company-strip" class="company-strip" aria-label="Company" hidden></section>
|
||||
<div id="roles-list" class="feed"></div>
|
||||
<div id="feed-empty" class="empty" hidden></div>
|
||||
<div id="feed-end" class="feed-end" role="status"></div>
|
||||
|
||||
Reference in new issue
Block a user