dir buttons start with / so only the correct dir will be shown and no…#13957
Merged
AUTOMATIC1111 merged 3 commits intoAUTOMATIC1111:devfrom Dec 2, 2023
Merged
dir buttons start with / so only the correct dir will be shown and no…#13957AUTOMATIC1111 merged 3 commits intoAUTOMATIC1111:devfrom
AUTOMATIC1111 merged 3 commits intoAUTOMATIC1111:devfrom
Conversation
…t dirs with a substrings as name from the dir
Owner
|
The reason for using them without a slash is to make it possible to create dirs that server as keywords for search and this change would make them not work. |
Contributor
Author
|
Okay. What about a setting for this with the current behavior as default? |
Owner
|
That would be fine. |
Contributor
Author
|
I have added a setting for this. I hope the description in the setting is understandable, but I am of course open to suggestions for improvement. |
AUTOMATIC1111
approved these changes
Dec 2, 2023
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
when show dirs is selected, a / is not only inserted after the folder name, but also before it. so that only the selected folder is actually displayed, and not also other folders whose name is a substring of the selected folder.
Screenshots/videos:
Checklist: