Suffix ISFS folder name with web app path#1484
Merged
gjsjohnmurray merged 4 commits intointersystems-community:masterfrom Feb 13, 2025
Merged
Suffix ISFS folder name with web app path#1484gjsjohnmurray merged 4 commits intointersystems-community:masterfrom
gjsjohnmurray merged 4 commits intointersystems-community:masterfrom
Conversation
isc-bsaviano
requested changes
Feb 13, 2025
| const project = params.get("project"); | ||
| const csp = params.has("csp"); | ||
| const name = `${project ? `${project} - ` : ""}${serverName}:${namespace}${csp ? " web files" : ""}${ | ||
| const name = `${project ? `${project} - ` : ""}${serverName}:${namespace}${!csp ? "" : ["", "/"].includes(uri.path) ? " web files" : ` web files (${uri.path})`}${ |
Contributor
There was a problem hiding this comment.
Can we make the names shorter? How about server:NS (Web) and server (app/path)? We should change the project one to server:NS (project) as well to match.
Contributor
Author
Contributor
There was a problem hiding this comment.
I like that better, but I think we can remove the namespace when we're tied to a specific web app. IMO that extra info isn't worth the space in that case. I see what you mean with the potential web and project conflict. Do you want to leave the "web files" suffix then? I doubt that conflict will come up in reality but it could be confusing for a user if it does.
Contributor
Author
Contributor
Author
Contributor
There was a problem hiding this comment.
Oh, I forgot that the project used to come first! I agree, let's put that back.
isc-bsaviano
previously approved these changes
Feb 13, 2025
isc-bsaviano
approved these changes
Feb 13, 2025
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.



This PR fixes #1483
Before the change the result was: