-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new GraphQL API for all API requests on project index page (#376)
## What's changed? * Adds apollo-client, graphql packages * Removes useProjectList hook] * Fetches ProjectIndex data using GraphQL API, with fragments for pagination, project list item etc. * Uses GraphQL API for DeleteProject and RenameProject modals ## Points for consideration * When renaming a project the list doesn't get re-sorted by "updated at" time * We're sorta changing state without telling Redux ## Before deployment [editor-api#139](RaspberryPiFoundation/editor-api#139) needs merging --------- Co-authored-by: Izzy Smillie <[email protected]>
- Loading branch information
1 parent
59902c2
commit 2a0e2f5
Showing
20 changed files
with
687 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ build/ | |
dist/ | ||
.git/ | ||
node_modules/ | ||
.yarn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.