Remove additional headers in Generic Versioned Sync from Local Storage - #3715
Conversation
Signed-off-by: Akshay Gupta <gravity.akshay@gmail.com>
🦋 Changeset detectedLatest commit: 557c408 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
|
Commit SHA:39d45ed0b20137393b634dff9060f84867b1aed2 |
|
Commit SHA:1568bcaeaa2b8177ec7056d1f29c894a8d65a964 |
|
@copilot the dialog to display users regarding the security update regarding generic versioned storage is being displayed to the user every time they open the plugin, it should be displayed once till the user clicks on OK on the dialog |
|
@akshay-gupta7 I've opened a new pull request, #3724, to work on those changes. Once the pull request is ready, I'll request review from you. |
* Initial plan * Fix dialog persistence by adding effect to persist flag to storage Co-authored-by: akshay-gupta7 <9948167+akshay-gupta7@users.noreply.github.com> * Move dialog flag to top-level settings for proper persistence Co-authored-by: akshay-gupta7 <9948167+akshay-gupta7@users.noreply.github.com> * remove changeset * Add flag to notifyUISettings and message type Co-authored-by: akshay-gupta7 <9948167+akshay-gupta7@users.noreply.github.com> * Fix tests to include new seenGenericVersionedHeaderMigrationDialog flag Co-authored-by: akshay-gupta7 <9948167+akshay-gupta7@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: akshay-gupta7 <9948167+akshay-gupta7@users.noreply.github.com> Co-authored-by: Akshay Gupta <gravity.akshay@gmail.com>
Why does this PR exist?
Closes #3672 #3704
What does this pull request do?
This pull request removes the storage of additional headers in Local Storage for the Generic Versioned Sync functionality. Previously, these headers were being stored and possibly utilized in the sync flow, which could present security or consistency issues. By cleaning up the handling and removing unnecessary headers from Local Storage, the sync logic is more streamlined and secure, reducing the chance of accidental leakage or unintended behavior. This change ensures only required information is persisted between sessions.
Testing this change
Additional Notes (if any)