Skip to content

feat(tracker): create a milestone from the milestone selector - #11137

Open
MichaelUray wants to merge 1 commit into
hcengineering:developfrom
MichaelUray:feat/milestone-inline-create
Open

MichaelUray wants to merge 1 commit into
hcengineering:developfrom
MichaelUray:feat/milestone-inline-create

Conversation

@MichaelUray

Copy link
Copy Markdown
Contributor

Fixes #4858

Problem and change

The milestone selector used when creating or editing an issue only listed existing milestones, so a milestone that did not exist yet could not be added without leaving the issue dialog. NewMilestone also did not report the created milestone back to its caller.

The selector now offers a "New Milestone" entry when it is bound to a single project. It opens the existing NewMilestone dialog for that project and selects the created milestone afterwards (only if it was created in the same project, since the dialog allows changing the project). NewMilestone now passes the id of the created milestone when it closes.

Tests

No unit test (popup wiring). Checked manually on a self-hosted instance: in the New issue dialog the milestone selector lists "New Milestone" after "No milestone"; it opens the milestone dialog for the current project and the created milestone is selected; the same works on an existing issue's milestone field; the bulk context-menu action does not offer it.

The milestone selector used when creating or editing an issue only listed existing milestones, so a milestone that did not exist yet could not be added without leaving the issue dialog. NewMilestone also did not report the created milestone back to its caller.

The selector now offers a "New Milestone" entry when it is bound to a single project. It opens the existing NewMilestone dialog for that project and selects the created milestone afterwards (only if it was created in the same project, since the dialog allows changing the project). NewMilestone now passes the id of the created milestone when it closes.

Fixes hcengineering#4858

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>
@MichaelUray
MichaelUray force-pushed the feat/milestone-inline-create branch from acea7cf to 5a92263 Compare October 26, 2026 14:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When creating a task, a project step is not created

1 participant