Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5c215f7
remove unused sandboxes field from TeamSidebarData query
sannek Sep 23, 2025
1cd0a35
remove unused likeCount field from sandbox fragment
sannek Sep 23, 2025
b28eff9
do not use unfetched sandboxes
sannek Sep 23, 2025
0bfa2b8
temp: log caught error
sannek Sep 23, 2025
a361f08
do not use unfetched sandboxes
sannek Sep 23, 2025
f5c2023
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
014f116
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
608967d
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
cb5b587
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
d13f831
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
03ec55e
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
adf6c5a
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
88336ef
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
714342c
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
f22ff2d
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
ab5f1ce
do not use unfetched sandboxes
sannek Sep 23, 2025
2a52359
remove console log
sannek Sep 23, 2025
52a9343
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
16e8434
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
13cbc30
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
38d6ed3
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
c1ddb94
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
089225c
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
87e86e0
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
5516247
Merge branch 'sanne/perf-remove-unused-gql-fields' of https://github.…
codesandbot Sep 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const sandboxFragmentDashboard = gql`
screenshotUrl
screenshotOutdated
viewCount
likeCount
isV2
draft
restricted
Expand Down
4 changes: 0 additions & 4 deletions packages/app/src/app/overmind/effects/gql/sidebar/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,10 @@ export const getTeamSidebarData: Query<
projects(syncData: false) {
...sidebarProjectFragment
}
sandboxes(limit: 10, orderBy: { field: "updatedAt", direction: DESC }) {
...sandboxFragmentDashboard
}
}
}
}
${sidebarSyncedSandboxFragment}
${sidebarTemplateFragment}
${sidebarProjectFragment}
${sandboxFragmentDashboard}
`;
2 changes: 0 additions & 2 deletions packages/app/src/app/overmind/namespaces/sidebar/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const getSidebarData = async (
const result = await queries.getTeamSidebarData({ id: teamId });

const syncedSandboxes = result.me?.team?.syncedSandboxes || null;
const sandboxes = result.me?.team?.sandboxes || [];
const templates = result.me?.team?.templates || null;
const repositories =
result.me?.team?.projects?.map(p => ({
Expand All @@ -30,7 +29,6 @@ export const getSidebarData = async (
state.sidebar[teamId] = {
hasSyncedSandboxes,
hasTemplates,
sandboxes,
repositories,
};
} catch {
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/app/overmind/namespaces/sidebar/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ type SidebarState = {
hasSyncedSandboxes: boolean | null;
hasTemplates: boolean | null;
repositories: Array<RepoInfo>;
sandboxes: Array<Sandbox>;
};

export type State = Record<string, SidebarState>;
Expand Down
Loading