Skip to content

[IMP] project_ux: add placeholder to task_state stage field - #144

Closed
les-adhoc wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-t-69981-les
Closed

les-adhoc wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-t-69981-les

Conversation

@les-adhoc

Copy link
Copy Markdown
Contributor

What

Adds a placeholder ("Select a state...") to the task_state field on the
project stage form (project.task.type), shown next to the state_change
checkbox.

Why

When state_change is checked, task_state rendered as an empty, borderless
selection box with no placeholder. Users did not realize it was an editable
field until hovering over it — the empty state offered no affordance. Reported
during a usability session.

How

View-only change: add placeholder to the existing <field name="task_state">
in project_task_type_views.xml. The web Selection widget renders the
placeholder while the field is empty. No Python/model changes.

Test plan

  1. Projects → Configuration → Task Stages → open or create a stage.
  2. Check State Change.
  3. The task_state field now shows "Select a state..." while empty (previously
    it looked blank/invisible until hover).
  4. Selecting a state still works; the constraint requiring a state when
    state_change is on is unchanged.

Notes

  • View-only change → suggested merge policy: nobump (manifest minor already
    set to 19.0.2.1.0).
  • A companion change for the core ModelFieldSelector empty-state affordance
    (same usability report) will be submitted separately in base_ux.

Internal task: 69981

The task_state selection (shown when state_change is checked on a project
stage) rendered as an empty borderless box, so users did not realize it was
clickable until hovering. Add a placeholder to signal it is editable.
@roboadhoc

Copy link
Copy Markdown
Contributor

Pull request status dashboard

@mav-adhoc

Copy link
Copy Markdown
Contributor

@roboadhoc r+ nobump

roboadhoc pushed a commit that referenced this pull request Jun 30, 2026
The task_state selection (shown when state_change is checked on a project
stage) rendered as an empty borderless box, so users did not realize it was
clickable until hovering. Add a placeholder to signal it is editable.

closes #144

Signed-off-by: Matias Velazquez <mav@adhoc.com.ar>
@roboadhoc roboadhoc closed this in fd428bd Jun 30, 2026
@roboadhoc roboadhoc added the 18.1 label Jun 30, 2026
@roboadhoc
roboadhoc deleted the 19.0-t-69981-les branch June 30, 2026 15:01

This branch was previously deployed

1 inactive deployment
merge — 3b1d4a56 Deployed Jun 30, 2026 by roboadhoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants