Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sreya merged 7 commits intomainfromjon/defaultapps
Aug 30, 2023
Merged

Conversation

sreya
Copy link
Collaborator

@sreyasreya commentedAug 15, 2023
edited
Loading

This PR implements the control plane portion of thedisplay_apps field.

  • The default behavior for the field is to opt-in to all apps (except vscode_insiders).
  • To opt-out of all you must specifyfalse to all fields.
  • Otherwise you only get the apps that you explicitly set totrue.

This PR implements both the backend and frontend portions of the feature. Notably on the frontend the dropdown forVSCode Desktop ceases to be a dropdown if only one ofVSCode Desktop orVSCode Insiders is enabled.

Some screenshots:

displays_apps {}
Screenshot 2023-08-28 at 5 29 28 PM
display_apps {  vscode = false  vscode_insiders = true}
Screenshot 2023-08-28 at 5 35 39 PM
display_apps {  vscode_insiders = true}
Screenshot 2023-08-28 at 5 41 18 PM

fixes#8033

@sreyasreya marked this pull request as ready for reviewAugust 18, 2023 22:30
@sreyasreya changed the titlefeat: add default_apps field to agentfeat: allow disabling default apps from templateAug 18, 2023
@sreyasreya changed the titlefeat: allow disabling default apps from templatefeat: allow configuring display apps from templateAug 24, 2023
@sreyasreyaforce-pushed thejon/defaultapps branch 9 times, most recently from3ef47ec tod6f467cCompareAugust 28, 2023 22:42
@sreyasreya requested a review frommtojekAugust 28, 2023 22:43
@sreyasreyaforce-pushed thejon/defaultapps branch 3 times, most recently fromfda5adc toa71e3c8CompareAugust 28, 2023 23:41
Copy link
Member

@mtojekmtojek left a 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 @@
{
Copy link
Member

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 intestdata, can we limit changes to only relevant ones?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I just ran thegenerate.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"
Copy link
Member

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? Maybecodersdk/API can be just a "dumb proxy", I mean "any" app.

Copy link
CollaboratorAuthor

@sreyasreyaAug 29, 2023
edited
Loading

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?

Copy link
Member

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 👍

Copy link
Member

@mtojekmtojek left a 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

@sreyasreya merged commitee24260 intomainAug 30, 2023
@sreyasreya deleted the jon/defaultapps branchAugust 30, 2023 19:53
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 30, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali left review comments

@mtojekmtojekmtojek approved these changes

Assignees

@sreyasreya

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Make helper apps optional (e.g. “VS Code Desktop”)
3 participants
@sreya@matifali@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp