diff --git a/app/static/app.css b/app/static/app.css index 4766423..ead45d3 100644 --- a/app/static/app.css +++ b/app/static/app.css @@ -1130,7 +1130,8 @@ table.applications td[data-label="Saved"] { white-space: nowrap; color: var(--di .agent-form h2, .agent-form h3 { font-size: 1rem; margin: 0; } .agent-form label { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; } .agent-form label.inline { flex-direction: row; align-items: center; gap: .4rem; } -.agent-form input[type="text"], .agent-form textarea, .agent-form input[type="number"] { +.agent-form input[type="text"], .agent-form textarea, .agent-form input[type="number"], +.agent-form input[type="url"] { background: var(--bg); border: 1px solid var(--line); border-radius: .3rem; padding: .35rem .5rem; width: 100%; } @@ -1253,6 +1254,9 @@ table.applications td[data-label="Saved"] { white-space: nowrap; color: var(--di } .crow .board-edit input { flex: 1 1 8rem; min-width: 0; } .crow .sub .failing { color: var(--warn); } +/* A Watchlist row's note, a line of its own: the owner's line breaks kept, + and a pasted URL broken rather than widening a phone's page. */ +.crow .sub.notes { white-space: pre-line; overflow-wrap: anywhere; } .linky { padding: 0; border: 0; background: none; font-size: .8rem; diff --git a/app/static/watchlist.js b/app/static/watchlist.js index 92a896e..6416ca4 100644 --- a/app/static/watchlist.js +++ b/app/static/watchlist.js @@ -2,13 +2,20 @@ * going through their careers pages by hand. * * The list is app.js's shared company list (`/api/companies`), narrowed to - * the rule the "Not readable yet" filter of Company boards uses (no board - * subscription, not from a search), plus every company whose board is - * failing. The rating (`watch`: null unrated, 1 yes, 0 no) is global, not a - * search agent's affinity, and is set with `POST .../watch`. Opening the - * careers page stamps `careers_opened_at` (`POST .../opened`), so the row can - * say when, and the On the list filter sorts what was opened longest ago - * first. The filter is remembered per browser, and opens on Unrated. + * the by-hand list (`by_hand`: no board shown, not known from a search only), + * plus every company whose board is failing. The rating (`watch`: null + * unrated, 1 yes, 0 no) is global, not a search agent's affinity, and is set + * with `POST .../watch`. Opening the careers page stamps `careers_opened_at` + * (`POST .../opened`), so the row can say when, and the On the list filter + * sorts what was opened longest ago first. The filter is remembered per + * browser, and opens on Unrated. + * + * New company and Edit are the Job boards form of Sources (sources.js): Edit + * turns a row into the form from the page's `