-
-
Notifications
You must be signed in to change notification settings - Fork 104
feat: show project name either from config or from directory name #350
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
Conversation
F1bonacc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @jcmuller!
That looks good, a few minor questions and suggestions in the comments.
|
Similarly to the other PR, I have pushed a new commit with the changes. I can amend the original one once approved. |
|
@F1bonacc1 what do you think about also having the project name on the title bar? I have a commit somewhere with that already and was doubtful about including it on this PR. |
Sounds interesting! Do you mean the terminal title bar or something else? |
|
Yeah, I think it's a great idea, especially if one has more than one PC terminal tabs open. |
|
Done! |
F1bonacc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I left a few minor comments and suggestions.
F1bonacc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @jcmuller!
It looks great!.
I just don't want to break backward compatibility by removing the /hostname endpoint. I know there are some automations that use REST.
Let's have 2 separate endpoints::
/hostnamefor backward compatibility/project/namefor the new functionality
I hope you have time for this last change.
Thanks again!
F1bonacc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is another minor issue.
Please correct me if I am wrong.
Which is the host/server name + the name of the project if defined, otherwise CWD. Signed-off-by: Juan C. Müller <[email protected]>
Signed-off-by: Juan C. Müller <[email protected]>
Signed-off-by: Juan C. Müller <[email protected]>
|
|
Yeah, there was. Thanks! |
F1bonacc1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!





Show project name. If
nameis present in process-compose.yaml, display that. Otherwise, show the directory name.closes #346