Every way a company gets a board is set_board, and an unreadable host keeps its slug
`app.jobs.sources.set_board` attaches a board to an existing company,
replaces the one it has (closing the old board's open roles) or creates
the company, with row and subscription changed in one transaction by
`Store.set_company_board`. A board that lists zero roles is kept. `add`,
`discover --add`, the seed importer (moved out of app/cli.py) and the new
`POST|DELETE /api/companies/{key}/board` all go through it; a seed re-run
attaches a board to a row that never had one. A company's subscription is
rewritten in place, and detaching hides it.
`companies.ats_slug` (migration 9) keeps the slug of a host the app
cannot read yet, and discovery returns such a host before probing slugs.
The Companies rows get Set board / Change, the host select is rendered
from `plugins.ats.HOSTS`, and a row with nothing found reads "board not
found" and is in the "Not readable yet" filter.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
0558ef19ed
commit
3b209d628a
18 files changed
+1038
-178
No files matched your search
+13
-1
@@ -1200,6 +1200,17 @@ table.applications td[data-label="Saved"] { white-space: nowrap; color: var(--di
|
||||
gap: .4rem; font-size: .8rem; color: var(--dim);
|
||||
}
|
||||
.srow[data-muted="true"], .crow[data-hidden="true"] { opacity: .6; }
|
||||
/* A company row's Set board / Change editor: its own line under `.sub`,
|
||||
wrapping like `.sub` does, the boxes styled as `.source-form`'s. */
|
||||
.crow .board-edit {
|
||||
grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center;
|
||||
gap: .4rem; padding-top: .25rem;
|
||||
}
|
||||
.crow .board-edit select, .crow .board-edit input {
|
||||
background: var(--bg); border: 1px solid var(--line);
|
||||
border-radius: .3rem; padding: .35rem .5rem;
|
||||
}
|
||||
.crow .board-edit input { flex: 1 1 8rem; min-width: 0; }
|
||||
|
||||
.linky {
|
||||
padding: 0; border: 0; background: none; font-size: .8rem;
|
||||
@@ -1282,7 +1293,8 @@ table.list select { padding: .25rem .4rem; }
|
||||
button, .top nav a { min-height: 2.75rem; }
|
||||
.top nav a { display: inline-flex; align-items: center; justify-content: center; }
|
||||
.filters input[type="search"], .filters input[type="text"], .filters select,
|
||||
.agent-form input, .source-form select { min-height: 2.75rem; }
|
||||
.agent-form input, .source-form select,
|
||||
.crow .board-edit input, .crow .board-edit select { min-height: 2.75rem; }
|
||||
.affinity button { min-width: 2.75rem; }
|
||||
.check input { width: 1.25rem; height: 1.25rem; }
|
||||
}
|
||||
Reference in new issue
Block a user