Skip to content
This repository was archived by the owner on May 30, 2026. It is now read-only.

Improve UX of project creation and details modals#496

Merged
nscuro merged 1 commit into
mainfrom
improve-project-creation-ux
May 27, 2026
Merged

Improve UX of project creation and details modals#496
nscuro merged 1 commit into
mainfrom
improve-project-creation-ux

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Apr 22, 2026

Description

Improves UX of project creation and details modals:

  • For the creation modal, replaces the separate "General" and "Identity" tabs with a non-tabbed view. "Identity" is now a collapsible section that is explicitly marked as optional.
  • Makes both modals a proper form, such that it supports confirmation by pressing enter etc.
  • Adds proper input validation to prevent invalid configurations from being submitted, e.g. missing classifier, collection project enabled but no collection logic selected, etc.
  • Prevents the modals from closing when project creation fails. Lets users refine their inputs and retry.
  • Waits for the creation / update requests to complete before closing the modals.
  • Redirects directly to the created project instead of back to the project list.
  • Moves common logic to a shared mixin.

Also fixes a reactivity issue in the details modal, where it was initialized with a deep clone of a project object, which lead to field changes not being observable.

Addressed Issue

N/A

Additional Details

Before:

image image

After:

image image

Checklist

@nscuro nscuro added this to the 5.7.0 milestone Apr 22, 2026
Copilot AI review requested due to automatic review settings April 22, 2026 14:55
@nscuro nscuro added the enhancement New feature or request label Apr 22, 2026
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 22, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 94 complexity

Metric Results
Complexity 94

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the UX and behavior of the “Create Project” modal by converting it into a single-page form with validation, better error handling, and post-create navigation.

Changes:

  • Reworks the modal UI (removes tabs, adds collapsible optional “Identity” section) and makes it a real <form> to support Enter-to-submit.
  • Adds client-side validation, prevents modal close on create failure, waits for create request to finish, and redirects directly to the created project.
  • Introduces a new API constant for concise project queries and adds new i18n keys used by the updated UI.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/views/portfolio/projects/ProjectList.vue Stops listening for a refresh event from the create modal (no longer needed with redirect-on-success).
src/views/portfolio/projects/ProjectCreateProjectModal.vue Major UI/UX refactor: form submission, validation feedback, identity collapse, improved create flow and navigation.
src/shared/api.json Adds URL_PROJECT_CONCISE constant used to fetch/search parent project options.
src/i18n/locales/en.json Adds new English strings for tooltip/validation/optional identity hint.
src/i18n/locales/de.json Adds placeholder entries for new keys.
src/i18n/locales/es.json Adds placeholder entries for new keys.
src/i18n/locales/fr.json Adds placeholder entries for new keys.
src/i18n/locales/hi.json Adds placeholder entries for new keys.
src/i18n/locales/it.json Adds placeholder entries for new keys.
src/i18n/locales/ja.json Adds placeholder entries for new keys.
src/i18n/locales/pl.json Adds placeholder entries for new keys.
src/i18n/locales/pt.json Adds placeholder entries for new keys.
src/i18n/locales/pt-BR.json Adds placeholder entries for new keys.
src/i18n/locales/ru.json Adds placeholder entries for new keys.
src/i18n/locales/uk-UA.json Adds placeholder entries for new keys.
src/i18n/locales/zh.json Adds placeholder entries for new keys.
src/App.vue Relaxes content-type matching for problem+json/json responses in the global Axios error handler.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/App.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
@nscuro nscuro force-pushed the improve-project-creation-ux branch from 92cc986 to 29ae1e5 Compare April 22, 2026 15:39
@nscuro nscuro requested a review from Copilot April 22, 2026 15:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
@nscuro nscuro force-pushed the improve-project-creation-ux branch 4 times, most recently from c26c66f to 66ebec9 Compare May 27, 2026 21:27
@nscuro nscuro changed the title Improve UX of project creation modal Improve UX of project creation and details modals May 27, 2026
@nscuro nscuro requested a review from Copilot May 27, 2026 21:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue
Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue Outdated
Comment thread src/views/portfolio/projects/ProjectDetailsModal.vue
@nscuro nscuro force-pushed the improve-project-creation-ux branch from 66ebec9 to 7a75da8 Compare May 27, 2026 21:41
@nscuro nscuro requested a review from Copilot May 27, 2026 21:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Comment thread src/views/portfolio/projects/ProjectCreateProjectModal.vue
Comment thread src/views/portfolio/projects/ProjectDetailsModal.vue
Comment thread src/views/portfolio/projects/ProjectDetailsModal.vue
* For the creation modal, replaces the separate "General" and "Identity" tabs with a non-tabbed view. "Identity" is now a collapsible section that is explicitly marked as optional.
* Makes both modals a proper form, such that it supports confirmation by pressing enter etc.
* Adds proper input validation to prevent invalid configurations from being submitted, e.g. missing classifier, collection project enabled but no collection logic selected, etc.
* Prevents the modals from closing when project creation fails. Lets users refine their inputs and retry.
* Waits for the creation / update requests to complete before closing the modals.
* Redirects directly to the created project instead of back to the project list.
* Moves common logic to a shared mixin.

Also fixes a reactivity issue in the details modal, where it was initialized with a deep clone of a project object, which lead to field changes not being observable.

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro force-pushed the improve-project-creation-ux branch from 7a75da8 to 90f7efb Compare May 27, 2026 21:55
@nscuro nscuro merged commit c4ba213 into main May 27, 2026
5 of 6 checks passed
@nscuro nscuro deleted the improve-project-creation-ux branch May 27, 2026 22:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants