Skip to content

Conversation

@gibkigonzo
Copy link
Contributor

Related Issues

closes #4066
Related pr: #4077

Short Description and Why It's Useful

This change adds isBackRoute getter which determines if we returned to same route:
page1 => page2 => return to page1 (isBackRoute === true)

And as we have this information we can skip some actions.

Also updated default config for 1.11 (#4072)

Screenshots of Visual Changes before/after (if There Are Any)

Before:
before2

After:
after2

Which Environment This Relates To

Check your case. In case of any doubts please read about Release Cycle

  • Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
  • RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
  • Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

  • No upgrade steps required (100% backward compatibility and no breaking changes)
  • I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change

Contribution and Currently Important Rules Acceptance

@gibkigonzo gibkigonzo changed the title Bugfix/4066 return for back route skip product fetch when returns to same category Feb 14, 2020
Copy link
Collaborator

@pkarw pkarw left a comment

Choose a reason for hiding this comment

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

Great job

@andrzejewsky andrzejewsky merged commit 6db6b02 into vuestorefront:hotfix/v1.11.2 Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants