console
console copied to clipboard
feat: allow kebab and snake case folders
:mag: 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_-]*$/
:bulb: Proposed Changes
- Updated the
folder_name_pattern
inNewFolderMenu
:framed_picture: Screenshots or Demo
:memo: 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.
:sparkles: How to Test the Changes Locally
- Create folder names with
-
and_
in the Phase Console - Fetch secrets via the CLI, API, SDKs etc.
- Test secret referencing