-
Notifications
You must be signed in to change notification settings - Fork 22
fix: remove window option from open_in parameter #327
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
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.
LGTM. Thanks
@johnstcn I am a bit unsure about versioning for this change.
Technically, it is a breaking change. However, given that the added functionality in 2.1.0
was never released in Coder mainline
or stable
, it is safe to assume that no one should have been using it. And we can patch it as 2.1.1
.
Thoughts?
@@ -17,18 +17,11 @@ resource "coder_agent" "dev" { | |||
dir = "/workspace" | |||
} | |||
|
|||
resource "coder_app" "window" { | |||
resource "coder_app" "tab" { |
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.
The resource name is tab
, so we the property coder_app.tab.open_in
is available, but you're referring to coder_app.slim-window.open_in
hence the issue?
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.
Yes indeed , nice catch - just fixed it. 🤔
Another option would be that we just make WDYT @defelmnq ? |
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 agree it is "breaking" but as long as nobody had a chance to use, maybe we should not leave "deprecation" notice? The notice will stay with us forever...
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'm OK with the current approach in any case. 👍
The open_in parameter currently being released was first ment to contain
window
as one of the options - after more review it is not relevant anymore and has to be removed.