-
Notifications
You must be signed in to change notification settings - Fork 889
feat: allow configuring display apps from template #9100
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
3ef47ec
to
d6f467c
Compare
fda5adc
to
a71e3c8
Compare
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 first review round is done. Good job!
@@ -1,6 +1,6 @@ | |||
{ |
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.
There are many files changes in testdata
, can we limit changes to only relevant ones?
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 just ran the generate.sh
script 🤷 . I could remove all the unrelated changes but given I'm just running our dogfood image I don't think it's a big deal to go ahead and update them now. Especially if it'll keep happening to others. No strong opinion here though.
type DisplayApp string | ||
|
||
const ( | ||
DisplayAppVSCodeDesktop DisplayApp = "vscode" |
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.
QQ: do we need to take any action on the API level based these enum values? Maybe codersdk
/API can be just a "dumb proxy", I mean "any" app.
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.
No not really it's mainly for discoverability and it also helps with the generated typescript types but I also don't mind removing it, wdyt?
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.
My idea is to reduce the number of places to update when you add another application, so if we don't intend to use let's just drop it. Unless we will use it in TypeScript/site, then we can leave it 👍
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.
Implementation LGTM 👍 but please take a look at e2e tests as it is failing for webTerminal? maybe it is just flake
This PR implements the control plane portion of the
display_apps
field.false
to all fields.true
.This PR implements both the backend and frontend portions of the feature. Notably on the frontend the dropdown for
VSCode Desktop
ceases to be a dropdown if only one ofVSCode Desktop
orVSCode Insiders
is enabled.Some screenshots:
fixes #8033