Skip to content
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 UI tests #7091

Closed
wants to merge 44 commits into from
Closed

Corel UI tests #7091

wants to merge 44 commits into from

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    f902607 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0687d25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2391a4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    088c2df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4059a1b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9e5f76d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4e569ef View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ddc12ce View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d828598 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3b97171 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b32fbaa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    71701d9 View commit details
    Browse the repository at this point in the history
  13. feat(sanity): update document title + version popover - add new and f…

    …rom existing versions
    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    243be24 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4083bc2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8a6eff1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0e93dcf View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    75ea1fa View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b516055 View commit details
    Browse the repository at this point in the history
  19. update isVersion

    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c34020e View commit details
    Browse the repository at this point in the history
  20. docs(sanity): update comments

    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    7dd612a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a27be0f View commit details
    Browse the repository at this point in the history
  22. refactor(sanity): update comments

    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    81b4166 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    671054d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7f4ceb9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c071441 View commit details
    Browse the repository at this point in the history
  26. feat(corel): integrate bundles store (#7040)

    * feat(corel): add bundles store
    pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0622e9d View commit details
    Browse the repository at this point in the history
  27. 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
    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    1c90eb5 View commit details
    Browse the repository at this point in the history
  28. 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 <anarita151@gmail.com>
    Co-authored-by: Pedro Bonamin <pedrobonamin@gmail.com>
    Co-authored-by: Pedro Bonamin <46196328+pedrobonamin@users.noreply.github.com>
    4 people committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d045a3a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    6259c8e View commit details
    Browse the repository at this point in the history
  30. chore(corel): add bundles provider (#7054)

    * chore(corel): add bundles provider
    
    * fix(corel): update bundles overview tests
    pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3fb2c50 View commit details
    Browse the repository at this point in the history
  31. 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
    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    6650623 View commit details
    Browse the repository at this point in the history
  32. 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
    RitaDias authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3705d9c View commit details
    Browse the repository at this point in the history
  33. 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
    pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    6bdaa63 View commit details
    Browse the repository at this point in the history
  34. 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 <anarita151@gmail.com>
    Co-authored-by: RitaDias <rita@sanity.io>
    3 people authored and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    89bd857 View commit details
    Browse the repository at this point in the history
  35. refactor(sanity): move bundle metadata store to resource cache

    Co-authored-by: Pedro Bonamin <pedrobonamin@gmail.com>
    juice49 and pedrobonamin committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    f241d33 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    291fb9b View commit details
    Browse the repository at this point in the history
  37. wip: add theme provider to test

    juice49 authored and RitaDias committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c694573 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    6a84ee0 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    e056703 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    d621870 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    f71c357 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    89d6d4b View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    f0bf1a5 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    e31e8db View commit details
    Browse the repository at this point in the history