Skip to content

Subtask IDs and Welcome Text PR Review

Ed Mozley edited this page Dec 5, 2026 · 2 revisions

Subtask IDs, and the home page's welcome text - PR review (#526, #527)

Two pull requests from @cloudcogsio, each closing an issue, merged 5 December 2026, in 6.0.0.

PR Closes What it does Verdict
#526 #489 Each subtask's ID in the task window's Subtasks list Merge
#527 #458 Branding β†’ After sign-in β†’ Welcome text, and four preview fixes Merge

#526 - subtask IDs

What it does. The Subtasks list in the task window now starts each row with the subtask's ID (#726), in the board card's own style, so a subtask can be referred to without opening it.

Before After
Before: subtasks without IDs After: #726, #727 ... before each subtask, dates under their headings

What was good - copy this

  • The existing class, not a new style. <span class="task-card-id">#${s.id}</span> is the board card's class, so the two look the same, and one CSS rule drops the card's right margin inside a row whose flex gap already spaces it.
  • Nothing else about the row changed - clicking opens the subtask, ticking completes it, the dates are edited in place - and the PR said so.
  • Cache-busters bumped on every page that loads the files - all seven Tasks pages - after merging the latest main, so nobody is served the old CSS.
  • Built exactly as the issue described, no more.

The screenshots also show a small fault that was there before this PR: at the task window's default width each subtask's Start date box is squeezed to a lone "d" and the date drops onto a second line. It is not caused by #526; it was fixed the same day (the grid placed its cells by position, and the date picker wraps each date box in a span), and the After picture shows both changes.

#527 - the home page's welcome text

What it set out to do. The home page's What would you like to do? and the line under it could be reworded in Branding but not removed: an empty Headline falls back to the default text. Welcome text on the After sign-in tab now offers Headline and tagline (the default), Headline only, Tagline only or Neither, which leaves the logo and the module tiles.

Before After (Headline only)
Before: the headline and the tagline After: the headline only

The Welcome text control on the After sign-in tab, with the preview

What was good - copy this

  • A choice, not a typed keyword. Four options in a dropdown, stored as an enum field in the existing Branding field table (includes/branding.php), so it is validated, saved and loaded like every other designer field - an unknown or missing value is show. No schema change: it is a system_settings row, and no row means today's page.
  • Only where it means something. The field is omitted on the two sign-in screens ('omit' => ['welcome']), which have no welcome block.
  • The preview checks the value against the same list as the server, so the preview iframe and the saved page always agree.
  • It fixed what it found on the way, and wrote each fix up in the PR: the designer only listened to - and only hid - the login screen's controls, so a control that exists on one screen never updated the preview; the landing page's headline did not follow the field as you typed; a Theme background was previewed as the gradient; and a picked but unsaved background picture did not show. Each had its own commit and its own check.
  • Help and search terms updated, including why "Neither" is not the same as a blank Headline.

Nothing in either PR needed fixing.

Files

File PR Change
🟑 assets/js/tasks.js, assets/css/tasks.css, seven Tasks pages #526 The ID; cache-busters
πŸ”΄ includes/branding.php #527 The welcome field
🟑 index.php #527 data-welcome and its CSS
🟑 includes/branding_preview.php, system/branding/index.php #527 The preview, and the four designer fixes
🟒 system/help/branding.php, system/help/_registry.php, lang/en/system.php #527 Help, search terms, strings

What this means for you

Subtask IDs show straight away. To trim the home page, open System β†’ Branding β†’ After sign-in β†’ Welcome text. See Landing page.

Related

FreeITSM

Getting Started

Modules

Multi-tenancy (planned)

Responses to feedback

Blue sky thinking

Bugs resolved

Pull requests

Links

Clone this wiki locally