-
Notifications
You must be signed in to change notification settings - Fork 24
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
Rename dataRepo and org in the local storage #220
Rename dataRepo and org in the local storage #220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR @wweqg. It would be better to extract all the magic string literals into a constant instead
@@ -125,9 +125,9 @@ export class PhaseService { | |||
* Retrieves the repository url from local storage and sets to current repository. | |||
*/ | |||
async initializeCurrentRepository() { | |||
const org = window.localStorage.getItem('org'); | |||
const repoName = window.localStorage.getItem('dataRepo'); | |||
this.logger.info(`PhaseService: received initial org (${org}) and initial name (${repoName})`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not change the logging message in the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. I have updated it accordingly.
Please follow the git commit message conventions in https://se-education.org/guides/conventions/git.html In particular, please have a proper subject, and a body |
Thanks for the reminder. I have updated the proposed commit message |
Summary:
Fixes #106
Type of change:
Changes Made:
Rename dataRepo and org in the local storage to WATcher:dataRepo and WATcher:org
Proposed Commit Message:
Checklist: