Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: request/folder names should be independent of the actual file/directory name #3094

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

lohxt1
Copy link
Collaborator

@lohxt1 lohxt1 commented Sep 13, 2024

Description

~ request/folder name should not be normalized
~ should be independent of the actual file/directory name

request-folder-names.mp4

uses the below sanitize and validate functions for creating files/directories, extending the regex from @Its-treason's pr #349.

export const sanitizeName = (name) => {

export const validateName = (name) => {

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

@lohxt1 lohxt1 changed the title Feat/file name request name 2 feat: request/folder names should be independent of the actual file/directory name Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant