-
Notifications
You must be signed in to change notification settings - Fork 420
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corel #7011
base: next
Are you sure you want to change the base?
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 28eccf4 - Browse repository at this point
Copy the full SHA 28eccf4View commit details -
feat(preview): add
unstable_observeDocument(s)
to preview store (#7176) * chore: remove futile circular dependency workaround * refactor(core): lift global listener out of preview store * fix(preview): cleanup code so it matches current conventions + add some docs * feat(preview): add unstable_observeDocument + unstable_observeDocuments to preview store * fix: use includeMutations: false * fix: expect ts error on includeMutations: false for now
Configuration menu - View commit details
-
Copy full SHA for 06f7219 - Browse repository at this point
Copy the full SHA 06f7219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92e6163 - Browse repository at this point
Copy the full SHA 92e6163View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b1f27d - Browse repository at this point
Copy the full SHA 9b1f27dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d72b8c - Browse repository at this point
Copy the full SHA 5d72b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ec4c69 - Browse repository at this point
Copy the full SHA 4ec4c69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55ec5e9 - Browse repository at this point
Copy the full SHA 55ec5e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e937af9 - Browse repository at this point
Copy the full SHA e937af9View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa542ca - Browse repository at this point
Copy the full SHA aa542caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11148b6 - Browse repository at this point
Copy the full SHA 11148b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22db127 - Browse repository at this point
Copy the full SHA 22db127View commit details -
Configuration menu - View commit details
-
Copy full SHA for d376e79 - Browse repository at this point
Copy the full SHA d376e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 344671e - Browse repository at this point
Copy the full SHA 344671eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca7b93c - Browse repository at this point
Copy the full SHA ca7b93cView commit details -
feat(sanity): update document title + version popover - add new and f…
…rom existing versions
Configuration menu - View commit details
-
Copy full SHA for 4621a8c - Browse repository at this point
Copy the full SHA 4621a8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6fb3d6 - Browse repository at this point
Copy the full SHA f6fb3d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9369186 - Browse repository at this point
Copy the full SHA 9369186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 496d333 - Browse repository at this point
Copy the full SHA 496d333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44a9dd1 - Browse repository at this point
Copy the full SHA 44a9dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64f8e3a - Browse repository at this point
Copy the full SHA 64f8e3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49345e4 - Browse repository at this point
Copy the full SHA 49345e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e140e9 - Browse repository at this point
Copy the full SHA 8e140e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 960d7ab - Browse repository at this point
Copy the full SHA 960d7abView commit details -
Configuration menu - View commit details
-
Copy full SHA for af11c39 - Browse repository at this point
Copy the full SHA af11c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cb7b5b - Browse repository at this point
Copy the full SHA 5cb7b5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 124f794 - Browse repository at this point
Copy the full SHA 124f794View commit details -
feat(corel): integrate bundles store (#7040)
* feat(corel): add bundles store
Configuration menu - View commit details
-
Copy full SHA for 034ab4a - Browse repository at this point
Copy the full SHA 034ab4aView commit details -
feat(corel): doc and structure updates (#7039)
* docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug
Configuration menu - View commit details
-
Copy full SHA for 1f79630 - Browse repository at this point
Copy the full SHA 1f79630View commit details -
feat(releases): initialising releases plugin (#7048)
* docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3abad23 - Browse repository at this point
Copy the full SHA 3abad23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6a409 - Browse repository at this point
Copy the full SHA 4c6a409View commit details -
chore(corel): add bundles provider (#7054)
* chore(corel): add bundles provider * fix(corel): update bundles overview tests
Configuration menu - View commit details
-
Copy full SHA for a5b1709 - Browse repository at this point
Copy the full SHA a5b1709View commit details -
feat(COREL): update types to bundle + add create bundle functionality (…
…#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments
Configuration menu - View commit details
-
Copy full SHA for 00bb78a - Browse repository at this point
Copy the full SHA 00bb78aView commit details -
refactor(COREL): refactor version context & renaming (#7071)
* feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge
Configuration menu - View commit details
-
Copy full SHA for af171cd - Browse repository at this point
Copy the full SHA af171cdView commit details -
fix(corel): update uses of collate, add typeguard for bundles and add…
… release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues
Configuration menu - View commit details
-
Copy full SHA for 96080cd - Browse repository at this point
Copy the full SHA 96080cdView commit details -
feat(releases): archive and unarchive releases (#7072)
* refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85e13b9 - Browse repository at this point
Copy the full SHA 85e13b9View commit details -
refactor(sanity): move bundle metadata store to resource cache
Co-authored-by: Pedro Bonamin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 042c436 - Browse repository at this point
Copy the full SHA 042c436View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5564562 - Browse repository at this point
Copy the full SHA 5564562View commit details -
feat(corel): releases details screen. (#7092)
* fix(corel): update releases router to use bundle name * feat(corel): add bundle details screen * chore: update @sanity/icons package * feat(corel): releases DocumentRow updates * fix(corel): update BundleIconEditorPicker types * fix(corel): update bundles table test * fix(corel): add filter in documents table * chore(corel): update file location and naming * feat(corel): add document actions to document row * fix(core): remove references to bundles in useListener hook * fix(corel): add search params to IntentLink * chore(corel): remove router type change and restore previous pnpm-lock file * fix(corel): update bundlesTable tests
Configuration menu - View commit details
-
Copy full SHA for 841a9cb - Browse repository at this point
Copy the full SHA 841a9cbView commit details -
test(COREL): add core tests (#7119)
* test(sanity): try to find solution for test * wip: add theme provider to test * test(sanity): add test to bundleForm & add createWrapper in core * test(sanity): add test to BundleIconEditorPicker * chore(sanity): update createWrapper * test(sanity): update bundleForm test * test(sanity) add createBundleDialog tests * test(sanity) add BundleMenu tests * refactor(sanity): add prop to createWrapper to access TestProviderOptions --------- Co-authored-by: Ash <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38f9ccf - Browse repository at this point
Copy the full SHA 38f9ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed148f1 - Browse repository at this point
Copy the full SHA ed148f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4650583 - Browse repository at this point
Copy the full SHA 4650583View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a832fc - Browse repository at this point
Copy the full SHA 6a832fcView commit details -
refactor(COREL): update title & date validation (#7148)
* refactor(sanity): refactor error setting * refactor(sanity): refactor title error setting * refactor(sanity): refactor date error setting * docs(sanity): update comments * chore(sanity): clean up * test(sanity): update bundleiconeditorpicker test * test(sanity): update bundleForm test * test(sanity): update bundleForm & createBundleDialog test * test: update form and update tests
Configuration menu - View commit details
-
Copy full SHA for 2dbb602 - Browse repository at this point
Copy the full SHA 2dbb602View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad55f8d - Browse repository at this point
Copy the full SHA ad55f8dView commit details -
feat(releases): last edited and document count in bundle (#7124)
* feat(sanity): add support for sticky query params * feat(sanity): add 'perspective' dropdown * feat(sanity): include `_version` field in search results * feat(types): add `_version` field to `SanityDocument` and `SanityDocumentLike` * fix(sanity): global perspective state restoration * feat(sanity): hardcode `summerDrop` and `autumnDrop` bundles * wip: allow pairs to include multiple drafts * feat(sanity): support versioned document ids in `getPublishedId` function * feat(sanity): add `_version` field to preview observation * feat(sanity): reflect checked out bundle in document lists and list previews * debug(sanity): add version debug output to list previews * feat(sanity): add action to create new version based on an doc id * feat(sanity): update document title + version popover - add new and from existing versions * chore(sanity): move versions menu to versions folder * chore(sanity): update check for checking version * fix(sanity): ability to add new versions to doc * feat(sanity): add dumb bundle and version data, add icons and hues * feat(sanity): update styles and don't rely on random * update isVersion * docs(sanity): update comments * feat(sanity): add "latest version" menu button * refactor(sanity): update comments * chore(sanity): remove import from format date. will use something else * fix(sanity): allow uppercase characters in version identifiers * feat(sanity): add tag to list document versions request * feat(corel): integrate bundles store (#7040) * feat(corel): add bundles store * feat(corel): doc and structure updates (#7039) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug * feat(releases): initialising releases plugin (#7048) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): removing shortRelativeDate (#7051) * chore(corel): add bundles provider (#7054) * chore(corel): add bundles provider * fix(corel): update bundles overview tests * feat(COREL): update types to bundle + add create bundle functionality (#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]> * refactor(sanity): move bundle metadata store to resource cache Co-authored-by: Pedro Bonamin <[email protected]> * feat(releases): bundle store starts to support bundle metadata * feat(releases): loading state only on initial fetch of metadata * feat(releases): added created at col * feat(releases): patching mutated bundle slugs * feat(releases): aggregate all metadata listening calls * fix(releases): fixing empty observed result state * refactor(releases): move to slugs; split agg from createBundleStore * fix(deps): Update dev-non-major (#7100) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency get-it to ^8.6.3 (#7108) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @sanity/client to ^6.20.2 (#7111) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * refactor(sanity): remove "features" (#7097) * fix(deps): update dependency @sanity/client to ^6.20.2 (#7110) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @sanity/bifur-client to ^0.4.1 (#7102) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @sanity/ui to ^2.6.3 (#7104) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-rx to ^3.1.1 (#7113) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sanity/tsdoc to v1.0.83 (#7080) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to ^0.23.0 (#7106) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * test(cli): use separate tarball location for cursor export test (#7118) * fix(core): minor typo fix in i18n comment (#7115) * fix(core): minor typo fix in i18n comment * refactor(structure): add missing space to tsdoc * feat(router): update router to support query params in intent links (#7095) * feat(router): update router to support query params in intent links * fix(core): update RouterStateEvent interface * chore(core): add tests for query param intents * feat(sanity): add 'perspective' dropdown * fix(sanity): global perspective state restoration * feat(sanity): hardcode `summerDrop` and `autumnDrop` bundles * feat(sanity): reflect checked out bundle in document lists and list previews * debug(sanity): add version debug output to list previews * feat(sanity): add action to create new version based on an doc id * feat(sanity): update document title + version popover - add new and from existing versions * chore(sanity): move versions menu to versions folder * chore(sanity): update check for checking version * fix(sanity): ability to add new versions to doc * feat(sanity): add dumb bundle and version data, add icons and hues * feat(sanity): update styles and don't rely on random * update isVersion * docs(sanity): update comments * feat(sanity): add "latest version" menu button * refactor(sanity): update comments * chore(sanity): remove import from format date. will use something else * fix(sanity): allow uppercase characters in version identifiers * feat(sanity): add tag to list document versions request * feat(corel): integrate bundles store (#7040) * feat(corel): add bundles store * feat(corel): doc and structure updates (#7039) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug * feat(releases): initialising releases plugin (#7048) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): removing shortRelativeDate (#7051) * chore(corel): add bundles provider (#7054) * chore(corel): add bundles provider * fix(corel): update bundles overview tests * feat(COREL): update types to bundle + add create bundle functionality (#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]> * refactor(sanity): move bundle metadata store to resource cache Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): only adding metadata context when not already existing * refactor(releases): only adding metadata context when not already existing * refactor(releases): creating tableBundles in BundlesOverview * refactor(releases): renaming projection of query for metadata * chore(releases): code comments * fix(releases): fixing issue with removing bundles from aggregator listener * refactor(releases): nesting bundle doc metadata in TableBunde * fix(corel): update releases router to use bundle name * feat(corel): add bundle details screen * chore: update @sanity/icons package * feat(corel): releases DocumentRow updates * fix(corel): update BundleIconEditorPicker types * fix(corel): update bundles table test * fix(corel): add filter in documents table * chore(corel): update file location and naming * feat(corel): add document actions to document row * fix(core): remove references to bundles in useListener hook * fix(corel): add search params to IntentLink * chore(corel): remove router type change and restore previous pnpm-lock file * fix(releases): fixing tests for BundlesTable * fix(releases):adding tests for doc count and updated time to bundles table * fix(corel): update bundlesTable tests * fix(releases): fixing BundlesOverview tests * feat(releases): delete bundle confirm lists document count in bundle * refactor(releases): update BundlesMetadataContext to export interface * fix(releases): fix BundlesTable tests * refactor(releases): rename components and files to releases rather than bundles * feat(releases): assigning authorId on release creation * fix(releases): update BundleMenuButton test with hue and icon properties * feat(releases): release detail delete uses documents count in bundle * fix(releases): using short and temporal version of relative time * refactor(releases): startWith to handle initial loading state on fetch --------- Co-authored-by: Bjørge Næss <[email protected]> Co-authored-by: Ash <[email protected]> Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Espen Hovlandsdal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73c182d - Browse repository at this point
Copy the full SHA 73c182dView commit details -
feat(corel): Add review changes screen (#7155)
* fix(corel): add prepareForPreview in useDocumentPreviewValues * feat(corel): add review changes screen * fix(corel): update ReleaseReview to use new documents history data * feat(corel): add published document listener to review changes screen * feat(core): add new useObserveDocument hook * feat(corel): move active screen state to query params * chore(corel): make documentDiff component agnostic to releases * fix(corel): update document diff is changed check * fix(corel): update useObserveDocument hook, export it as unstable * chore(corel): add tests to release review screen
Configuration menu - View commit details
-
Copy full SHA for 59d6d51 - Browse repository at this point
Copy the full SHA 59d6d51View commit details -
chore(corel): rename bundle.name to bundle.slug (#7171)
* chore(corel): rename bundle.name to bundle.slug * chore(corel): add migration script and handlers * fix(corel): update BundleDocument interface definition
Configuration menu - View commit details
-
Copy full SHA for e49d115 - Browse repository at this point
Copy the full SHA e49d115View commit details -
refactor: update document badge logic and navigation (#7175)
* feat(sanity): add support for sticky query params * feat(sanity): add 'perspective' dropdown * feat(sanity): include `_version` field in search results * feat(types): add `_version` field to `SanityDocument` and `SanityDocumentLike` * fix(sanity): global perspective state restoration * feat(sanity): hardcode `summerDrop` and `autumnDrop` bundles * wip: allow pairs to include multiple drafts * feat(sanity): support versioned document ids in `getPublishedId` function * feat(sanity): add `_version` field to preview observation * feat(sanity): reflect checked out bundle in document lists and list previews * debug(sanity): add version debug output to list previews * feat(sanity): add action to create new version based on an doc id * feat(sanity): update document title + version popover - add new and from existing versions * chore(sanity): move versions menu to versions folder * chore(sanity): update check for checking version * fix(sanity): ability to add new versions to doc * feat(sanity): add dumb bundle and version data, add icons and hues * feat(sanity): update styles and don't rely on random * update isVersion * docs(sanity): update comments * feat(sanity): add "latest version" menu button * refactor(sanity): update comments * chore(sanity): remove import from format date. will use something else * fix(sanity): allow uppercase characters in version identifiers * feat(sanity): add tag to list document versions request * feat(corel): integrate bundles store (#7040) * feat(corel): add bundles store * feat(corel): doc and structure updates (#7039) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug * feat(releases): initialising releases plugin (#7048) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): removing shortRelativeDate (#7051) * chore(corel): add bundles provider (#7054) * chore(corel): add bundles provider * fix(corel): update bundles overview tests * feat(COREL): update types to bundle + add create bundle functionality (#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]> * refactor(sanity): move bundle metadata store to resource cache Co-authored-by: Pedro Bonamin <[email protected]> * feat(corel): remove version documents when deleting bundle (#7107) * feat(corel): releases details screen. (#7092) * fix(corel): update releases router to use bundle name * feat(corel): add bundle details screen * chore: update @sanity/icons package * feat(corel): releases DocumentRow updates * fix(corel): update BundleIconEditorPicker types * fix(corel): update bundles table test * fix(corel): add filter in documents table * chore(corel): update file location and naming * feat(corel): add document actions to document row * fix(core): remove references to bundles in useListener hook * fix(corel): add search params to IntentLink * chore(corel): remove router type change and restore previous pnpm-lock file * fix(corel): update bundlesTable tests * test(COREL): add core tests (#7119) * test(sanity): try to find solution for test * wip: add theme provider to test * test(sanity): add test to bundleForm & add createWrapper in core * test(sanity): add test to BundleIconEditorPicker * chore(sanity): update createWrapper * test(sanity): update bundleForm test * test(sanity) add createBundleDialog tests * test(sanity) add BundleMenu tests * refactor(sanity): add prop to createWrapper to access TestProviderOptions --------- Co-authored-by: Ash <[email protected]> * feat(sanity): #TEMPORARY #DELETE handle versions in `DocumentPaneProvider` * fix(sanity): avoid fetching in a loop * fix(corel): refactor version history to fetch all release documents (#7150) * refactor(COREL): update title & date validation (#7148) * refactor(sanity): refactor error setting * refactor(sanity): refactor title error setting * refactor(sanity): refactor date error setting * docs(sanity): update comments * chore(sanity): clean up * test(sanity): update bundleiconeditorpicker test * test(sanity): update bundleForm test * test(sanity): update bundleForm & createBundleDialog test * test: update form and update tests * chore: hide publish date (#7162) * feat(releases): last edited and document count in bundle (#7124) * feat(sanity): add support for sticky query params * feat(sanity): add 'perspective' dropdown * feat(sanity): include `_version` field in search results * feat(types): add `_version` field to `SanityDocument` and `SanityDocumentLike` * fix(sanity): global perspective state restoration * feat(sanity): hardcode `summerDrop` and `autumnDrop` bundles * wip: allow pairs to include multiple drafts * feat(sanity): support versioned document ids in `getPublishedId` function * feat(sanity): add `_version` field to preview observation * feat(sanity): reflect checked out bundle in document lists and list previews * debug(sanity): add version debug output to list previews * feat(sanity): add action to create new version based on an doc id * feat(sanity): update document title + version popover - add new and from existing versions * chore(sanity): move versions menu to versions folder * chore(sanity): update check for checking version * fix(sanity): ability to add new versions to doc * feat(sanity): add dumb bundle and version data, add icons and hues * feat(sanity): update styles and don't rely on random * update isVersion * docs(sanity): update comments * feat(sanity): add "latest version" menu button * refactor(sanity): update comments * chore(sanity): remove import from format date. will use something else * fix(sanity): allow uppercase characters in version identifiers * feat(sanity): add tag to list document versions request * feat(corel): integrate bundles store (#7040) * feat(corel): add bundles store * feat(corel): doc and structure updates (#7039) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug * feat(releases): initialising releases plugin (#7048) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): removing shortRelativeDate (#7051) * chore(corel): add bundles provider (#7054) * chore(corel): add bundles provider * fix(corel): update bundles overview tests * feat(COREL): update types to bundle + add create bundle functionality (#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]> * refactor(sanity): move bundle metadata store to resource cache Co-authored-by: Pedro Bonamin <[email protected]> * feat(releases): bundle store starts to support bundle metadata * feat(releases): loading state only on initial fetch of metadata * feat(releases): added created at col * feat(releases): patching mutated bundle slugs * feat(releases): aggregate all metadata listening calls * fix(releases): fixing empty observed result state * refactor(releases): move to slugs; split agg from createBundleStore * fix(deps): Update dev-non-major (#7100) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency get-it to ^8.6.3 (#7108) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @sanity/client to ^6.20.2 (#7111) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * refactor(sanity): remove "features" (#7097) * fix(deps): update dependency @sanity/client to ^6.20.2 (#7110) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @sanity/bifur-client to ^0.4.1 (#7102) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @sanity/ui to ^2.6.3 (#7104) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-rx to ^3.1.1 (#7113) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sanity/tsdoc to v1.0.83 (#7080) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to ^0.23.0 (#7106) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * test(cli): use separate tarball location for cursor export test (#7118) * fix(core): minor typo fix in i18n comment (#7115) * fix(core): minor typo fix in i18n comment * refactor(structure): add missing space to tsdoc * feat(router): update router to support query params in intent links (#7095) * feat(router): update router to support query params in intent links * fix(core): update RouterStateEvent interface * chore(core): add tests for query param intents * feat(sanity): add 'perspective' dropdown * fix(sanity): global perspective state restoration * feat(sanity): hardcode `summerDrop` and `autumnDrop` bundles * feat(sanity): reflect checked out bundle in document lists and list previews * debug(sanity): add version debug output to list previews * feat(sanity): add action to create new version based on an doc id * feat(sanity): update document title + version popover - add new and from existing versions * chore(sanity): move versions menu to versions folder * chore(sanity): update check for checking version * fix(sanity): ability to add new versions to doc * feat(sanity): add dumb bundle and version data, add icons and hues * feat(sanity): update styles and don't rely on random * update isVersion * docs(sanity): update comments * feat(sanity): add "latest version" menu button * refactor(sanity): update comments * chore(sanity): remove import from format date. will use something else * fix(sanity): allow uppercase characters in version identifiers * feat(sanity): add tag to list document versions request * feat(corel): integrate bundles store (#7040) * feat(corel): add bundles store * feat(corel): doc and structure updates (#7039) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug * feat(releases): initialising releases plugin (#7048) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): removing shortRelativeDate (#7051) * chore(corel): add bundles provider (#7054) * chore(corel): add bundles provider * fix(corel): update bundles overview tests * feat(COREL): update types to bundle + add create bundle functionality (#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]> * refactor(sanity): move bundle metadata store to resource cache Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): only adding metadata context when not already existing * refactor(releases): only adding metadata context when not already existing * refactor(releases): creating tableBundles in BundlesOverview * refactor(releases): renaming projection of query for metadata * chore(releases): code comments * fix(releases): fixing issue with removing bundles from aggregator listener * refactor(releases): nesting bundle doc metadata in TableBunde * fix(corel): update releases router to use bundle name * feat(corel): add bundle details screen * chore: update @sanity/icons package * feat(corel): releases DocumentRow updates * fix(corel): update BundleIconEditorPicker types * fix(corel): update bundles table test * fix(corel): add filter in documents table * chore(corel): update file location and naming * feat(corel): add document actions to document row * fix(core): remove references to bundles in useListener hook * fix(corel): add search params to IntentLink * chore(corel): remove router type change and restore previous pnpm-lock file * fix(releases): fixing tests for BundlesTable * fix(releases):adding tests for doc count and updated time to bundles table * fix(corel): update bundlesTable tests * fix(releases): fixing BundlesOverview tests * feat(releases): delete bundle confirm lists document count in bundle * refactor(releases): update BundlesMetadataContext to export interface * fix(releases): fix BundlesTable tests * refactor(releases): rename components and files to releases rather than bundles * feat(releases): assigning authorId on release creation * fix(releases): update BundleMenuButton test with hue and icon properties * feat(releases): release detail delete uses documents count in bundle * fix(releases): using short and temporal version of relative time * refactor(releases): startWith to handle initial loading state on fetch --------- Co-authored-by: Bjørge Næss <[email protected]> Co-authored-by: Ash <[email protected]> Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Espen Hovlandsdal <[email protected]> * feat(corel): Add review changes screen (#7155) * fix(corel): add prepareForPreview in useDocumentPreviewValues * feat(corel): add review changes screen * fix(corel): update ReleaseReview to use new documents history data * feat(corel): add published document listener to review changes screen * feat(core): add new useObserveDocument hook * feat(corel): move active screen state to query params * chore(corel): make documentDiff component agnostic to releases * fix(corel): update document diff is changed check * fix(corel): update useObserveDocument hook, export it as unstable * chore(corel): add tests to release review screen * test(sanity): add tests * chore(corel): rename bundle.name to bundle.slug (#7171) * chore(corel): rename bundle.name to bundle.slug * chore(corel): add migration script and handlers * fix(corel): update BundleDocument interface definition * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * feat(releases): support for (un)archive * chore(releases): updating testing for BundlesOverview * chore(releases): new tests for BundleMenuButton and (un)archive * fix(releases): disabling bundle menu btn when action is performed --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: RitaDias <[email protected]> * refactor(sanity): move bundle metadata store to resource cache Co-authored-by: Pedro Bonamin <[email protected]> * feat(corel): remove version documents when deleting bundle (#7107) * feat(corel): releases details screen. (#7092) * fix(corel): update releases router to use bundle name * feat(corel): add bundle details screen * chore: update @sanity/icons package * feat(corel): releases DocumentRow updates * fix(corel): update BundleIconEditorPicker types * fix(corel): update bundles table test * fix(corel): add filter in documents table * chore(corel): update file location and naming * feat(corel): add document actions to document row * fix(core): remove references to bundles in useListener hook * fix(corel): add search params to IntentLink * chore(corel): remove router type change and restore previous pnpm-lock file * fix(corel): update bundlesTable tests * test(COREL): add core tests (#7119) * test(sanity): try to find solution for test * wip: add theme provider to test * test(sanity): add test to bundleForm & add createWrapper in core * test(sanity): add test to BundleIconEditorPicker * chore(sanity): update createWrapper * test(sanity): update bundleForm test * test(sanity) add createBundleDialog tests * test(sanity) add BundleMenu tests * refactor(sanity): add prop to createWrapper to access TestProviderOptions --------- Co-authored-by: Ash <[email protected]> * feat(sanity): #TEMPORARY #DELETE handle versions in `DocumentPaneProvider` * fix(sanity): avoid fetching in a loop * fix(corel): refactor version history to fetch all release documents (#7150) * refactor(COREL): update title & date validation (#7148) * refactor(sanity): refactor error setting * refactor(sanity): refactor title error setting * refactor(sanity): refactor date error setting * docs(sanity): update comments * chore(sanity): clean up * test(sanity): update bundleiconeditorpicker test * test(sanity): update bundleForm test * test(sanity): update bundleForm & createBundleDialog test * test: update form and update tests * chore: hide publish date (#7162) * feat(releases): last edited and document count in bundle (#7124) * feat(sanity): add support for sticky query params * feat(sanity): add 'perspective' dropdown * feat(sanity): include `_version` field in search results * feat(types): add `_version` field to `SanityDocument` and `SanityDocumentLike` * fix(sanity): global perspective state restoration * feat(sanity): hardcode `summerDrop` and `autumnDrop` bundles * wip: allow pairs to include multiple drafts * feat(sanity): support versioned document ids in `getPublishedId` function * feat(sanity): add `_version` field to preview observation * feat(sanity): reflect checked out bundle in document lists and list previews * debug(sanity): add version debug output to list previews * feat(sanity): add action to create new version based on an doc id * feat(sanity): update document title + version popover - add new and from existing versions * chore(sanity): move versions menu to versions folder * chore(sanity): update check for checking version * fix(sanity): ability to add new versions to doc * feat(sanity): add dumb bundle and version data, add icons and hues * feat(sanity): update styles and don't rely on random * update isVersion * docs(sanity): update comments * feat(sanity): add "latest version" menu button * refactor(sanity): update comments * chore(sanity): remove import from format date. will use something else * fix(sanity): allow uppercase characters in version identifiers * feat(sanity): add tag to list document versions request * feat(corel): integrate bundles store (#7040) * feat(corel): add bundles store * feat(corel): doc and structure updates (#7039) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(sanity): update method * refactor(sanity): update drafts name (draft -> drafts) in LATEST & context * refactor(sanity): use handleBundleChange instead of two separate methods * refactor(sanity): update title to use LATEST const * refactor(sanity): update draft filtering and checks (global and document level) * refactor(sanity): update context to rely on router & update query to match existing bundles (MOCK) * refactor(sanity): update handle methods to have callback * feat(sanity): add guardrails for title naming on bundle create * docs(sanity): update comments to potentially move things to plugin * refactor(sanity): merge version badges & icons * refactor(sanity): use speakingurl instead of toSlug * feat(releases): initialising releases plugin (#7048) * docs(sanity): update comment on getAllVersionsOfDocument * fix(sanity): listing existing versions didn't account for published * chore(sanity): move latest version up (temp) * feat(sanity): update navigation of perspective + add "current badge" * feat(sanity): add global version navigation * refactor(sanity): hide document version picker, update the document icon * feat(sanity): update studio nav bar (reduce create button + spacing) * chore(sanity): general cleanup * feat(sanity): add version provider, hide only the version picker in document * feat(releases): create releases tool as default plugin * feat(releases): styling and components for basic releases overview * feat(releases): adding release detail page and routing * feat(releases): uri decoding releaseID * chore(sanity): clean up version context * chore(sanity): clean up, move components & files to single folder * chore(sanity): clean up, move components & files to single folder * feat(corel): add bundles store * chore(sanity): add ready button to document footer * refactor(sanity): remove isVersion and add frontend guardrails * chore(sanity): clean duplicate component * chore(sanity): clean up missing dependencies * refactor(sanity): update button * chore(corel): use rxjs in bundlesStore listener * refactor(sanity): clear up naming * chore(sanity): hide ready * chore(sanity): ready todos * feat(corel): add retry to initialFetch * feat(releases): remove the ready concepts * feat(corel): include useBundleOperations and story * fix(corel): update imports paths * feat(sanity): add bundle modal + update colours + remove add new version from doc * refactor(sanity): rename from release to bundle * refactor(sanity): clean up code for types (bundleform) * refactor(releases): refactor releases to bundles * feat(releases): using bundle ops to fetch and create add-on bundles * refactor(releases): type guard for at least one bundle returned * fix(releases): fixing issue where overview header not hidden when no bundles * feat(releases): search filters list of releases * refactor(releases): minor refactor of hooks in BundlesOverview * refactor(sanity): update method * feat(releases): addijg concept loosely of bundle documents * feat(releases): testing for BundlesTable * feat(releases): testing for BundlesTable * feat(releases): testing for releases overview page * refactor(release): fixing types on the custom queries * refactor(releases): Creating BundleIcon * refactor(releases): minor refactor and tidy to component logic * refactor(releases): minor format changes * refactor(releases): create bundle dialog creates itself and then returns * refactor(releases): create bundle dialog creates itself and then returns * feat(releases): minor style update to match prototype on the mode picker * feat(releases): minor style update to match prototype on the mode picker * refactor(releases): moving search into table header as per prototype * chore(corel): add eslintrc change, remove progress icon and update types (#7050) --------- Co-authored-by: RitaDias <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> Co-authored-by: Pedro Bonamin <[email protected]> * refactor(releases): removing shortRelativeDate (#7051) * chore(corel): add bundles provider (#7054) * chore(corel): add bundles provider * fix(corel): update bundles overview tests * feat(COREL): update types to bundle + add create bundle functionality (#7047) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of store * chore(sanity): update bundleRow to use the new name for badge * chore(sanity): clean up code * refactor(sanity): re-add oncancel and oncreate props in dialog * refactor(sanity): add scroll to bundle menu * refactor(sanity): move from archived to archivedAt * refactor(sanity): only show the list of bundles if it has more than published / drafts * chore(sanity): remove warnings comments * refactor(COREL): refactor version context & renaming (#7071) * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * chore(sanity): update LATEST type to Partial * refactor(sanity): make single bundle menu + clean up * chore(sanity): remove warnings comments * refactor(sanity): move version provider to its own file + organise + add useVersion * refactor(sanity): remove provider + context, move logic to hook * chore(sanity): remove comments + change name from setCurrentVersion to setGlobalBundle * chore(sanity): rename useVersion to useBundle * chore(sanity): update comments * chore(sanity): Rename currentVersion * refactor(sanity): rename currentBudnle and setGlobalBundle * chore(sanity): rename versions to bundles in core directory * chore(sanity): rename to GlobalPerspectiveMenu and move to navbar directory * chore(sanity): rename to DocumentPerspectiveMenu and move to navbar directory * chore(sanity): remove isDraft from usePerspective, add new util * refactor(sanity): remove isDraft * refactor(sanity): use current global in the bundle badge * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider (#7074) * fix(corel): update uses of collate, add typeguard for bundles and add release tag to addonDatasetProvider * fix(corel): update imports for bundleRow test * chore(corel): disable publish tests * fix(corel): update failing tests * fix(corel): update bundle actions definition * fix(corel): remove not used file * fix(corel): update DocumentHeaderTitle test * fix(corel): fix lint issues * feat(releases): archive and unarchive releases (#7072) * refactor(sanity): update types to bundle * feat(sanity): add ability to create releases from dialog + update types * feat(sanity): update list on global and document to use store * feat(sanity): update types, add icon and hue picker to bundles, update uis * feat(sanity): add date picker to bundleform * refactor(sanity): update publishAt fields in menus * refactor(sanity): update type in dummyGetter * chore(sanity): remove BUNDLES const * chore(sanity): update LATEST type to Partial * chore(sanity): update validation for bundle date creation * chore(sanity): clean up code * refactor(sanity): add archived filter * refactor(sanity): make single bundle menu + clean up * chore(sanity): add missing properties * feat(sanity): add loading & remove unused code * feat(sanity): add loading to document version, update filter * chore(sanity): rename VersionBadge to BundleBadge * chore(sanity): clean up methods and style * chore(sanity): remove unused import * refactor(sanity): use Bundle provider instead of …
Configuration menu - View commit details
-
Copy full SHA for a0609fe - Browse repository at this point
Copy the full SHA a0609feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e64d059 - Browse repository at this point
Copy the full SHA e64d059View commit details -
feat(releases): sorting release overview table (#7159)
* feat(releases): sorting releases table with new Table component * fix(releases): fixing sanity require for DocumentPerspectiveMenu.test * refactor(releases): clarifying generic names; minor tidies to naming * refactor(releases): default table data type of unknown; rename of some variables; improved types for TableProvider * refactor(releases): default table data type of unknown; rename of some variables; improved types for TableProvider
Configuration menu - View commit details
-
Copy full SHA for 0682fa7 - Browse repository at this point
Copy the full SHA 0682fa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa69c3d - Browse repository at this point
Copy the full SHA fa69c3dView commit details -
feat(sanity): supporting editing bundle metadata (#7180)
* feat: supporting editing bundle metadata * test(sanity): updating tests for Bundle form * fix(releases): fixing issue with mocked imports on ReleasesOverview * refactor(core): bundle detail dialog form computes action from initial value rather than passing as a prop * refactor(core): bundle detail dialog form computes action from initial value rather than passing as a prop * refactor(core): only passing diff when editing bundle details
Configuration menu - View commit details
-
Copy full SHA for efcf4cd - Browse repository at this point
Copy the full SHA efcf4cdView commit details -
fix: move createWrapper to test package, update name -> slug (#7177)
* fix: issue with slugs and condition * fix: issue with badge with global bundle + tests * chore: update test imports * test: update createWrapper import * refactor: update dummygetters to reflect corel
Configuration menu - View commit details
-
Copy full SHA for da7dae6 - Browse repository at this point
Copy the full SHA da7dae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aa05b6 - Browse repository at this point
Copy the full SHA 7aa05b6View commit details -
feat(corel): add search input to release review screen (#7213)
* feat(corel): add search input to release review screen * chore(corel): add tests for release review search
Configuration menu - View commit details
-
Copy full SHA for 0dc78ed - Browse repository at this point
Copy the full SHA 0dc78edView commit details -
feat: add documents validation (#7207)
* feat(corel): add validation to document list * fix: create documentsValidation function to support a list of documents * fix: refactor document-pair validation function to use validateDocumentWithReferences * fix(corel): update ui to show validation errors * fix(corel): create a new map instance to force re render * fix: update types * chore(corel): replace map for object in bundle documents validation * fix(corel): update release review test * chore(corel): replace map for object in documents history
Configuration menu - View commit details
-
Copy full SHA for 39ca830 - Browse repository at this point
Copy the full SHA 39ca830View commit details -
refactor: update GROQ query for document versions (#7208)
* temp: initial set up * refactor: update fetch and query * refactor: update documentPerspectiveMenu & BundleActions * refactor: remove all getDocumentVersions (old) * refactor: add guardrail to welcome event * chore: update types on hook * chore: rename hook * chore: remove unused code * test: add basic tests * test: rename dummGetters * chore: add guardrail * docs: add comment to hook * test: update test * refactor: use getpublishedid * test: fix test * chore: update the types
Configuration menu - View commit details
-
Copy full SHA for 0bb8c09 - Browse repository at this point
Copy the full SHA 0bb8c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aeb4ea - Browse repository at this point
Copy the full SHA 3aeb4eaView commit details -
test(releases): testing release detail/summary screen (#7230)
* test(releases): testing release summary * chore(releases): removing migration from name to slug * test(releases): Testing release detail header * test(releases): Resolving type commit issue * test(releases): mocking validation
Configuration menu - View commit details
-
Copy full SHA for 7c82dc8 - Browse repository at this point
Copy the full SHA 7c82dc8View commit details -
fix(structure): update PaneItemPreview to reflect when a document is …
…in the current perspective (#7234) * feat(core): add getDocumentIsInPerspective function * fix(structure): update PaneItemPreview to reflect when a document is in the current perspective * chore(core): add PUBLISHED_SLUG to return from getBundleSlug function * fix(core): restore lint check in useReleaseHistory
Configuration menu - View commit details
-
Copy full SHA for c34bb6d - Browse repository at this point
Copy the full SHA c34bb6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b484a - Browse repository at this point
Copy the full SHA 00b484aView commit details -
feat(releases): publish all documents in a bundle (#7194)
* temp: bump max allowed react compiler eslint warnings for now * feat(releases): publish all documents when validation is passing * chore(releases): minor refactor of name for addOn dataset client * chore(releases): improved type guard on useBundleOperations against no add on client * refactor(releases): moving ReleasePublishAllButton to separate component * refactor(releases): handling checking of local vs remote _rev values when publishing * chore(core): fixing merge conflict * fix(core): BundleBadge has max width * fix(releases): disabling publish all until observe documents has resolved for first time * fix(core): correctly memoising the bundle operations --------- Co-authored-by: Bjørge Næss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 976b701 - Browse repository at this point
Copy the full SHA 976b701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84de2c5 - Browse repository at this point
Copy the full SHA 84de2c5View commit details -
fix(structure): update DocumentPerspective menu test (#7254)
Co-authored-by: Pedro Bonamin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cca670 - Browse repository at this point
Copy the full SHA 8cca670View commit details -
feat(releases): default sorting version documents in release (#7242)
* temp: bump max allowed react compiler eslint warnings for now * feat(releases): default sort order on release list * chore: resolving mis-rebased file * feat(core): not possible to add documents to archived bundle * refactor: PR comments * refactor: PR comments --------- Co-authored-by: Bjørge Næss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea45af6 - Browse repository at this point
Copy the full SHA ea45af6View commit details -
chore(core): refactor useDocumentVersion to use ListenQuery (#7241)
* chore(core): refactor useDocumentVersion to use ListenQuery * fix(core): update useDocumentVersions state
Configuration menu - View commit details
-
Copy full SHA for cadfd22 - Browse repository at this point
Copy the full SHA cadfd22View commit details -
fix(core): unify items to render in BundlesMenu (#7262)
* fix(core): unify items to render in BundlesMenu * fix(core): replace b for bundle --------- Co-authored-by: Pedro Bonamin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce0ec66 - Browse repository at this point
Copy the full SHA ce0ec66View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd209d0 - Browse repository at this point
Copy the full SHA bd209d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a61fd1b - Browse repository at this point
Copy the full SHA a61fd1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 319990a - Browse repository at this point
Copy the full SHA 319990aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22c5388 - Browse repository at this point
Copy the full SHA 22c5388View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e6a14 - Browse repository at this point
Copy the full SHA 91e6a14View commit details -
feat(core): fix infinite loading in releases and create addon dataset…
… if it doesn't exist (#7255) * fix(core): update bundle stores to avoid infinite loading if no addon client or no bundles exists * feat(core): create addon dataset when creating first release if it doesn't exist * fix(releases): fixing issue loading metadata and controlling aggregator loading state (#7259) * fix(releases): fixing issue with loading metadata and controlling the loading staet on metadata aggregator * fix(releases): fixing failing ReleaseOverview tests after showing empty screen * fix(core): noop bundle store state is initialising * fix(core): update createBundlesStore loading state to use addon dataset ready --------- Co-authored-by: pedrobonamin <[email protected]> --------- Co-authored-by: Jordan Lawrence <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc0ece9 - Browse repository at this point
Copy the full SHA bc0ece9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69154d4 - Browse repository at this point
Copy the full SHA 69154d4View commit details -
feat(corel): virtualize content releases plugin lists (#7301)
* feat(core): virtualise the content releases lists * feat(corel): lift preview values state to useBundles hook * fix(core): update corel sort actions * fix(core): update useBundleDocuments return value * fix(core): rename BundleDocumentResult to DocumentInBundleResult * fix(corel): remove Row prop from releases Table * fix(core): update how preview is calculated in useBundleDocuments, reuse the fetched document * feat(core): update corel summary and overview virtual tables * fix(core): update release summary types import * feat(core): virtualize review changes screen - corel-91
Configuration menu - View commit details
-
Copy full SHA for 1e33383 - Browse repository at this point
Copy the full SHA 1e33383View commit details -
refactor(sanity, release): Add translation keys (#7339)
* refactor(core/bundles): add translations to bundles folders * refactor: add i18n to plugin * refactor(release): first batch of translation components * refactor(release): second batch of translation components * refactor(releases): update keys to remove 'release', update keys. remove linting rule * chore(releases): remove "release" from overview * chore(releases): add parameters to releasesOverviewColumnDefs * refactor(releases): add translation to header * refactor: add testid to dialog component * refactor: add testid and translation to bundlemenubutton * test(releases): update tests * test(releases): update tests and test ids (WIP) * test(releases): 'fixing' ReleaseDetail string test * test(releases): update tests & tags (ReleaseSummary and releaseDetail) * test(releases): update tests & tags (ReleasesOverview) * refactor(tests): remove createWrapper, use already existing createTestProvider * refactor(releases): update count for translation warning --------- Co-authored-by: Jordan Lawrence <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a13af5d - Browse repository at this point
Copy the full SHA a13af5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6387c - Browse repository at this point
Copy the full SHA 1e6387cView commit details -
fix(preview): remove full document preview support
This was an interesting thing to explore, but it doesn't scale well, so turning this off for now.
Configuration menu - View commit details
-
Copy full SHA for 72d0aae - Browse repository at this point
Copy the full SHA 72d0aaeView commit details -
feat(test-studio): switch off Actions API integration; versions not c…
…urrently supported in Content Lake
Configuration menu - View commit details
-
Copy full SHA for f3d28d2 - Browse repository at this point
Copy the full SHA f3d28d2View commit details -
Revert "wip: allow pairs to include multiple drafts"
This reverts commit 92a4c43.
Configuration menu - View commit details
-
Copy full SHA for a6e655e - Browse repository at this point
Copy the full SHA a6e655eView commit details -
Revert "feat(sanity): #TEMPORARY #DELETE handle versions in `Document…
…PaneProvider`" This reverts commit 4e9be02.
Configuration menu - View commit details
-
Copy full SHA for 853b6e8 - Browse repository at this point
Copy the full SHA 853b6e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a1b4c - Browse repository at this point
Copy the full SHA 46a1b4cView commit details -
feat(core): document diff review for new documents (#7356)
* feat(core): update corel new document review difference * fix(core): add memoKey to corel documents in bundle, memoize components
Configuration menu - View commit details
-
Copy full SHA for 6b331ef - Browse repository at this point
Copy the full SHA 6b331efView commit details -
feat(releases, core): supporting remotely deleted bundles (#7342)
* feat(releases, core): supporting remotely deleted bundles * test(releases, core): testing for remotely deleted bundles * test(releases, core): further tests for remote deleted * test(releases, core): fixing failures due to translation tests * fix(releases): table prop type * test(releases, core): resolving mocking issue for sanity useTranslation * fix(releases, core): fixing incorrect formatted translation * chore(releases, core): fixing imports in tests * chore(releases, core): fixing lint error in DocumentHeaderTitle * chore(releases, core): PR comments
Configuration menu - View commit details
-
Copy full SHA for 9aa4c6d - Browse repository at this point
Copy the full SHA 9aa4c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46694bb - Browse repository at this point
Copy the full SHA 46694bbView commit details -
feat: support version documents creation from document list (#7280)
* feat(structure): add document creation intent with version * fix(core): update BundleActions to not depend on the documentVersions * fix(structure): validate user is in perspective he clicked on add new
Configuration menu - View commit details
-
Copy full SHA for 2d98c7d - Browse repository at this point
Copy the full SHA 2d98c7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82cb2d6 - Browse repository at this point
Copy the full SHA 82cb2d6View commit details -
feat(releases): suffix to bundle slug (#7374)
* feat(releases): suffix to bundle slug * tests(releases, core): testing for new logic around generating bundle slugs when already existing * feat(releases): trimming title of bundle * refactor(core): minor refactor to getBundleSlug * refactor(core): minor refactor to details dialog * feat(core, releases): using lowest available suffix rather than next maximum
Configuration menu - View commit details
-
Copy full SHA for 406b6b6 - Browse repository at this point
Copy the full SHA 406b6b6View commit details -
refactor(sanity): update version id to match
versions.[bundle].[id]
(……#7357) * feat(sanity): Add isVersionId, getVersionId & update isPublishedId, getPublishedId, collate * test(sanity): Add getVersionId, getPublishedId test * refactor(sanity): update getPublishId in useDocumentVersions hook * refactor(sanity): update getPublished ID (specific to isVersion) * refactor(sanity): update bundle key to use "versions.(bundle).(id)" * refactor(sanity): update getBundleSlug and add tests * refactor(sanity): update getBundleSlug and add update tests for versionDocumentExists * refactor(sanity): update locations to use getVersionId / isVersion * refactor(sanity): change query in createBundlesMetadataAggregator & draftUtils condition * test(sanity): update useDocumentVersion test * refactor(sanity): fix sanity package import * refactor(sanity): add drafts slug const * refactor(sanity): remove using _version * refactor(sanity): remove _version from newVersion operation * refactor(sanity): update useBundleOperations to not rely on _version * TEMP: fix(sanity): groq query for useDocumentVersions * fix(sanity): fix issue where the doc list wasn't showing them as "active" based on perspective * fix(sanity): fix issue where the version document was readOnly * refactor(sanity): update to use getVersionId * chore(sanity): update doc tags * test(releases): update releaseReview test * test(sanity): update util test, use Drafts slug instead * refactor(sanity): update useInitialValue to use getVersionId * docs(sanity): update tag for getVersionId * refactor(sanity): update getBundleSlug, remove last split portion * refactor(sanity): update getBundleSlug, rename prefix in doc split * refactor(sanity): update removePublishedWithDrafts, isVersion refactor * refactor(sanity): make getBundleSlug return undefined if it's a draft or a published id * docs(sanity): add comment with todo for the groq path * test(sanity): update tests after getBundleSlug change * refactor(sanity): make sure that the get published id returns complex id structures (by cutting versions prefix and bundle * chore(sanity): remove linting comments * chore(sanity): update test names
Configuration menu - View commit details
-
Copy full SHA for 919e0db - Browse repository at this point
Copy the full SHA 919e0dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 265d274 - Browse repository at this point
Copy the full SHA 265d274View commit details -
feat(releases, core): supporting banner display for remote deleted bu…
…ndles (#7371) * feat(releases, core): remote deleted version documents will show as banner instead of toast warning * chore(releases, core): using UI components where available and supported * chore(core, releases): removing padding and using ui-component buttons * tests(structure): adding tests for new deleted document banner consolidation * chore(structure): fixing test imports and mocks
Configuration menu - View commit details
-
Copy full SHA for da9542a - Browse repository at this point
Copy the full SHA da9542aView commit details -
fix(sanity): update the title to be ellipsed when the text is too long (
#7380) * fix(sanity): update the title to remain ellipsed when it's too long * refactor(sanity): add title to the title (hovering) * refactor(sanity): remove inline style for flex + hoist inline style
Configuration menu - View commit details
-
Copy full SHA for 762f6ab - Browse repository at this point
Copy the full SHA 762f6abView commit details -
Configuration menu - View commit details
-
Copy full SHA for d785f1c - Browse repository at this point
Copy the full SHA d785f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1578585 - Browse repository at this point
Copy the full SHA 1578585View commit details -
refactor(sanity): remove commented publishat input (#7412)
* chore(sanity): uncomment bundleform code * refactor(sanity): use DateTimeInput in bundleform
Configuration menu - View commit details
-
Copy full SHA for deea91a - Browse repository at this point
Copy the full SHA deea91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff78001 - Browse repository at this point
Copy the full SHA ff78001View commit details -
refactor(sanity): Add toast when discarding version and for deleting …
…releases (#7419) * refactor(sanity): add toast when deleting a release * refactor(sanity): update translation for toast delete * refactor(sanity): update translation and add toast for version discarding * refactor(sanity): move toast from finally * test(sanity): fix test (relative imports)
Configuration menu - View commit details
-
Copy full SHA for acf2415 - Browse repository at this point
Copy the full SHA acf2415View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1391a34 - Browse repository at this point
Copy the full SHA 1391a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46f884f - Browse repository at this point
Copy the full SHA 46f884fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12267df - Browse repository at this point
Copy the full SHA 12267dfView commit details -
refactor(sanity): add changes to allow for comments in version docume…
…nts (#7404) * refactor(sanity): add changes to allow for comments in version documents * refactor(sanity): send version via prop to commentsListItemLayout * docs(sanity): add comments for todo for readonly * refactor(sanity): fix comments * refactor(sanity): reverts changes to the potential ui for the future * chore(sanity): remove "comments support" comment * refactor(sanity): rename document ids and revert change in CommentsProvider for useEditState * refactor(sanity): refactor solution for re-rendering panes when switching between versions
Configuration menu - View commit details
-
Copy full SHA for 9404d2b - Browse repository at this point
Copy the full SHA 9404d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f46f32 - Browse repository at this point
Copy the full SHA 0f46f32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dfc7ca - Browse repository at this point
Copy the full SHA 9dfc7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7683bc - Browse repository at this point
Copy the full SHA d7683bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef75e21 - Browse repository at this point
Copy the full SHA ef75e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3957e82 - Browse repository at this point
Copy the full SHA 3957e82View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9dc8f0 - Browse repository at this point
Copy the full SHA c9dc8f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d070e3 - Browse repository at this point
Copy the full SHA 7d070e3View commit details -
fix(core): version document's history was returning error (#7438)
* fix: draftId correct set in timeline for version docs * refactor: timeline uses documentId rather than publishedId for agnostic use with versions * refactor(core): defining versionId rather than draftId * refactor(core): refactor to better reflect use of version nomenclature in history * fix(core): resolving tsdoc issue with destructure * fix(core): resolving tsdoc issue with destructure
Configuration menu - View commit details
-
Copy full SHA for 04f9fc2 - Browse repository at this point
Copy the full SHA 04f9fc2View commit details -
feat(sanity): add telemetry for versions (#7460)
* fix(sanity): issue where the createVersionSuccess was never resolving * feat(sanity): add telemetry when adding version * refactor(sanity): rename bundles to releases telemetry * feat(sanity): add telemetry when creating release * feat(sanity): add telemetry when updating release * feat(sanity): add telemetry when deleting release * feat(sanity): add telemetry when publishing release * feat(sanity): add telemetry when archive and unarchive release * chore(sanity): fix dependencies * feat(sanity): add telemetry when creating a draft * refactor(sanity): add telemetry for tracking drafts and include version * refactor(sanity): update telemetry request for creating release * refactor(sanity): reuse interface for OriginInfo * docs(sanity): clarify unarchive / archive telemetry track
Configuration menu - View commit details
-
Copy full SHA for 9dd29a2 - Browse repository at this point
Copy the full SHA 9dd29a2View commit details -
fix(core): update useReleaseHistory to fetch with the version documen…
…ts (#7463) * fix(core): update useReleaseHistory to fetch with the version documents * fix(core): rename publishedIds to versionIds in useReleaseHistory
Configuration menu - View commit details
-
Copy full SHA for 5d44e66 - Browse repository at this point
Copy the full SHA 5d44e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb019df - Browse repository at this point
Copy the full SHA cb019dfView commit details -
fix(core): update intent link for releases tool (#7468)
* fix(core): update intent link for releases tool * chore(core): rename releases tool bundleId param to releaseId * chore(core): update DocumentPerspectiveMenu test
Configuration menu - View commit details
-
Copy full SHA for 3c2b805 - Browse repository at this point
Copy the full SHA 3c2b805View commit details -
feat(sanity): update document footer for versions (#7466)
* feat(sanity): update restore button * chore(sanity): update translations * feat(sanity): add left side information on footer (revision status line) * refactor(sanity): set up button action to discard version * feat(sanity): add badge to footer on versions * refactor(sanity): remove unused translations (moved them to core) * docs(sanity): add to do on discard documents? * refactor(sanity): move bundleactions props to const * refactor(sanity): fix issues with translation packages
Configuration menu - View commit details
-
Copy full SHA for 2a08b00 - Browse repository at this point
Copy the full SHA 2a08b00View commit details -
refactor(sanity, release): rename interface focused components from b…
…undle to release (#7469) * refactor(sanity): update bundles metada to releases metadata * refactor(sanity): rename bundlebadge to releasebadge * refactor(sanity): rename bundlesMenu to ReleasesMenu * refactor(sanity): rename BundleDetailsDialog to ReleaseDetailDialog * refactor(sanity): rename bundleForm to ReleaseForm * refactor(sanity): rename ReleaseDetailsDialog test * refactor(sanity): rename BundleIconEditorPicker to ReleaseIconEditorPicker * fix(sanity): fix issues with renaming within ReleaseDetailsDialog * refactor(sanity): rename BundleActions to ReleaseActions * refactor(sanity): fix translation * refactor(sanity): remove workshop story * refactor(sanity): rename bundlePerspective to perspective on getPReviewStateObservable * refactor(sanity): rename BundleMenuButton to perspective on ReleaseMenuButton * test(sanity): fix test for ReleaseMenuButton * test(sanity): clean up (remove duplicates and clean up button) * chore(sanity): remove unused bundle translations
Configuration menu - View commit details
-
Copy full SHA for 21b31c7 - Browse repository at this point
Copy the full SHA 21b31c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3283b1 - Browse repository at this point
Copy the full SHA f3283b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff0d61f - Browse repository at this point
Copy the full SHA ff0d61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84ed316 - Browse repository at this point
Copy the full SHA 84ed316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1956113 - Browse repository at this point
Copy the full SHA 1956113View commit details -
chore(releases): moving from bundles to releases directory (#7500)
* chore(releases): moving releases/components to releases/tool/components * chore(releases): moving bundles/components to releases/components * chore(releases): moving bundles/hooks to releases/hooks * chore(releases): moving rest of bundles to releases * chore(releases): fixing various test imports * chore(releases): fixing various test imports * chore(releases): fixing various test imports * chore(releases): further experimentation on SanityDocumentPreview test failures * chore(releases): fixing ReleaseSummary and Review by mocking components * chore(releases): reverting irrelevent changes
Configuration menu - View commit details
-
Copy full SHA for f30b97e - Browse repository at this point
Copy the full SHA f30b97eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 177e88b - Browse repository at this point
Copy the full SHA 177e88bView commit details