Skip to content

Conversation

@nimish-ks
Copy link
Member

🔍 Overview

This PR expands the range of possible folder and path names beyond alphanumeric name by adding support snake_case and kebab-case paths.

The new regex pattern:

const folder_name_pattern = /^[a-zA-Z0-9_-]*$/

💡 Proposed Changes

  • Updated the folder_name_pattern in NewFolderMenu

🖼️ Screenshots or Demo

image

📝 Release Notes

  • Enhanced path handling to support kebab-case and snake_case in folder and path names.
  • Users can now use paths like /backend/user-service/config or /frontend/user_profile/settings in their configurations.

✨ How to Test the Changes Locally

  1. Create folder names with - and _ in the Phase Console
  2. Fetch secrets via the CLI, API, SDKs etc.
  3. Test secret referencing

@nimish-ks nimish-ks changed the title feat: allow kebab and snake case folder names feat: allow kebab and snake case folders Sep 17, 2024
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