This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Create a proof-of-concept for Pinia migration #906
Merged
Changes from 19 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
99142ea
Install Pinia
dhruvkb b30c432
Update the active media store to use Pinia
dhruvkb 361730e
Delete the Vuex store
dhruvkb 9989251
Update type definition and use it
dhruvkb c2e2df5
Document the store composition variable
dhruvkb 61945b9
Fix a lint error that Prettier did not catch locally
dhruvkb 846b0c2
Use `~` instead of `@` in imports
dhruvkb c4221bb
Update the nav store to use Pinia
dhruvkb 299f255
Merge branch 'main' into pinia
dhruvkb 5173d09
Rename store
dhruvkb 46b1639
Make mutation payload fields non-nullable
dhruvkb 1ce982a
Merge branch 'main' into pinia
dhruvkb 2c9c8ba
Fix leftover incorrect usage of the active media store
dhruvkb 1f66bfe
Make active media setup store and add unit tests (#997)
obulat 53f4029
Merge branch 'main' into pinia
obulat 8a218f0
Merge branch 'main' into pinia
obulat 580b96f
merge main
obulat 113e46c
fix possibly undefined
obulat 0db4452
Add tests and other small fixes
obulat e9f017e
Update nuxt.config.ts
obulat 7c59473
Move converted modules to /stores/ and add unit tests
obulat 5934ff1
Merge branch 'pinia' of github.com:WordPress/openverse-frontend into …
obulat 819ad80
Fix linting error
obulat 7c8bd91
Update nuxt.config.ts
obulat 5820d15
Add changes from review
obulat dcfcfb2
Register component
obulat cf4229b
Merge branch 'pinia' of github.com:WordPress/openverse-frontend into …
obulat 6942747
Make properties readonly
obulat 66fd73b
Merge branch 'main' into pinia
obulat d701ee9
Remove dublicates
obulat 4647efe
Merge branch 'main' into pinia
obulat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Wow! What a weird find.
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.
Yes, definitely. It seems that the bug reports are from 2018, but I'm having this problem now 🤷