Follow-up to #38.
Problem #
The update-marker row is rendered three times, in DeliveryLog, LogsBrowser and AdminLogsBrowser, each with its own hardcoded colSpan (4, 5 and 7). The predatesNote and markerCell styles are copied between DeliveryLog.css.ts and LogsBrowser.css.ts. A change to the marker has to be made three times, and a column added to one table leaves its marker row short.
Evidence #
app/islands/DeliveryLog.css.ts:103andapp/islands/LogsBrowser.css.ts:104-110: the samepredatesNote/markerCellstyles.- The marker-row JSX in
DeliveryLog,LogsBrowserandAdminLogsBrowser, withcolSpan4, 5 and 7.
Expected #
One component (with one style) renders the marker row and takes the column count from its table.