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

remove session summary data file updates #457

Merged
merged 3 commits into from
Mar 23, 2023

Conversation

xavluiz
Copy link
Collaborator

@xavluiz xavluiz commented Mar 22, 2023

  • this removes the logic of updating the sessionSummary.json and will now use the global storage to save and retrieve the current day stats

@@ -10,15 +10,14 @@ export function setSessionStorageManager(storageManager: LocalStorageManager) {
storageMgr = storageManager;

// convert old storage to new storage if needed
if (!storageMgr?.getValue('session_jwt')) {
if (!storageMgr?.getValue('session_converion_complete')) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@pbstriker38 and I walked through installing his vscode with the previous version and with multiple windows, the following change will ensure the session.json data is transferred allowing non-focused windows to also transfer if the focused window isn't fast enough in setting the JWT

@xavluiz xavluiz added the enhancement New feature or request label Mar 22, 2023
Copy link
Contributor

@mmclead mmclead left a comment

Choose a reason for hiding this comment

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

working for me.

we should probably kick the version up to a minor bump 2.7.0 since this wraps up a bigger feature of using global storage instead of local files

@xavluiz
Copy link
Collaborator Author

xavluiz commented Mar 23, 2023

working for me.

we should probably kick the version up to a minor bump 2.7.0 since this wraps up a bigger feature of using global storage instead of local files

good point. i'll update the version

@xavluiz xavluiz merged commit 239602c into main Mar 23, 2023
@xavluiz xavluiz deleted the remove-session-summary-file-creation branch March 23, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants