Skip to content

XIVY-18799 create process and casemap with spaces in namespace#1137

Open
ivy-dar wants to merge 2 commits intomasterfrom
bugfix/XIVY-18799-create-process-with-spaces-in-namespace
Open

XIVY-18799 create process and casemap with spaces in namespace#1137
ivy-dar wants to merge 2 commits intomasterfrom
bugfix/XIVY-18799-create-process-with-spaces-in-namespace

Conversation

@ivy-dar
Copy link
Copy Markdown
Contributor

@ivy-dar ivy-dar commented Apr 23, 2026

Support spaces within word groups in the namespace input. Allowed for

  • process
  • case map

Copy link
Copy Markdown

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

Updates namespace validation for creating processes and case maps to allow spaces within namespace segments (while still using / as the separator).

Changes:

  • Replace the namespace validator with a new regex that permits spaces within segments.
  • Update process/case-map creation flows to use the new validator.
  • Expand and adjust unit tests for the updated namespace validation behavior.

Reviewed changes

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

File Description
extension/src/project-explorer/utils/util.ts Introduces validateNamespaceWithSpace with updated namespace regex + message.
extension/src/project-explorer/utils/util.test.ts Updates tests to exercise the new namespace rules (and adds new cases).
extension/src/project-explorer/new-process.ts Switches the namespace input step to the new validator.
extension/src/project-explorer/new-case-map.ts Switches the namespace input step to the new validator.

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

Comment thread extension/src/project-explorer/new-process.ts
Comment thread extension/src/project-explorer/new-case-map.ts
Comment thread extension/src/project-explorer/utils/util.test.ts Outdated
Comment thread extension/src/project-explorer/utils/util.test.ts
@ivy-dar ivy-dar marked this pull request as ready for review April 23, 2026 15:06
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.

2 participants