Skip to content

feat: QuickView Dive states - #226

Merged
Felix Frank (feliopterix) merged 21 commits into
trunkfrom
feat/quick-view-state
Aug 6, 2026
Merged

feat: QuickView Dive states#226
Felix Frank (feliopterix) merged 21 commits into
trunkfrom
feat/quick-view-state

Conversation

@feliopterix

@feliopterix Felix Frank (feliopterix) commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

1. Why is this change necessary?

We want to apply whole states through the QuickView plugin of dive. Currently QuickView only support single urls/models.

2. What does this change do, exactly?

  • Adds SetStateAction that strictly applies a state completely to a scene (clears the scene, strict set!).
  • Adds GetStateAction that return the complete state in the State plugin (replaces GetAllSceneDataAction).
  • Adds multi-objects focus to OrbitController.
  • Adds multi-objects support to BoundingBox class.
  • Adds QuickViewUri fork to QuickView plugin function (to quick-view single model files).
  • Adds QuickViewState fork to QuickView plugin function (to quick-view whole states).
  • Changes return types of AddObjectAction to return Promises of added scene objects (Promise because of model fetching).
  • Changes return types of UpdateObjectAction to return Promises of added scene objects (Promise because of model fetching).
  • Deprecates GetAllSceneDataAction (replaced by GetStateAction).

3. Describe each step to reproduce the issue or behaviour.

4. Please link to the relevant issues (if any).

5. Checklist

  • I have rebased my changes to remove merge conflicts
  • I have written tests and verified that they fail without my change
  • I have written or adjusted the documentation according to my changes
  • This change has comments for package types, values, functions, and non-obvious lines of code
  • I have read the contribution requirements and fulfil them.

@feliopterix
Felix Frank (feliopterix) requested a review from a team as a code owner August 6, 2026 08:07
@feliopterix Felix Frank (feliopterix) added the service/shopping-experience Issues and PRs related to this service. label Aug 6, 2026
@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.67%. Comparing base (d33e39c) to head (e67dd25).
⚠️ Report is 17 commits behind head on trunk.

Additional details and impacted files
@@            Coverage Diff             @@
##            trunk     #226      +/-   ##
==========================================
- Coverage   99.69%   99.67%   -0.02%     
==========================================
  Files         141      146       +5     
  Lines        7435     7802     +367     
  Branches     1723     1809      +86     
==========================================
+ Hits         7412     7777     +365     
- Misses         23       25       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

);
dive.clock.addTicker(orbitController);

const state = new (await import('@shopware-ag/dive/state')).State(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why no direct import 🫣

@feliopterix
Felix Frank (feliopterix) merged commit d861a5b into trunk Aug 6, 2026
10 of 11 checks passed
@feliopterix
Felix Frank (feliopterix) deleted the feat/quick-view-state branch August 6, 2026 10:02
@octo-sts octo-sts Bot mentioned this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

service/shopping-experience Issues and PRs related to this service.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants