- Notifications
You must be signed in to change notification settings - Fork1k
refactor(site): refactor resource and agents#11647
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
just a quick remark. We can dynamic create coder applications. So this makes it easy for us to expose multiple microservices from one workspace. In this particular case we have a workpspace with at least 9 extra buttons across multiple lines. Nevertheless I like the new layout |
@MrPeacockNLB can you share how it looks like? |
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.
Related to#11491
Uh oh!
There was an error while loading.Please reload this page.
constshowVSCode= | ||
(agent.display_apps.includes("vscode")|| | ||
agent.display_apps.includes("vscode_insiders"))&& | ||
!hideVSCodeDesktopButton; |
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 display code in this file is fairly complicated - there is a lot of conditional logic and you must understand the difference between the various VS Code apps and the difference betweenagent.apps
andagent.display_apps
. I think we could really benefit from some tests here, and maybe a comment or two. We have sometests for very similar logic in theAgentRowPreview
component that might be worth looking at. Open to storybook tests, too...I'm just not sure how one could describe the business logic adequately through those, but interactions might help out!
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.
This is true. Thx for sharing a good test example 🙏
BrunoQuaresmaJan 18, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Weird glitch with GitHub – all of my pending review comments got published, even though I wasn't done reviewing yet. Still planning to go through the rest of the code! |
Parkreiner left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Still reviewing, and sorry to do something so heavy-handed, but getting rid of the mutation for the server data is really important
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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.
Overall, I think this all looks really good! And again, sorry for the PR rejection – I trust you, and know you wouldn't let the code go through. I just kind of panicked, especially since I already had GitHub randomly change my review comments, even just for this PR specifically
Uh oh!
There was an error while loading.Please reload this page.
@Parkreiner@Kira-Pilot I think I solved all the comments. Let me know if there is anything open. |
@Parkreiner Idk why but some of your comments were posted as "regular comments" so I was not able to reply or mark as resolved 😢 |
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.
Thanks for working so hard on this!
Before:

Now:
