-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
[WIP] Refactor #937
[WIP] Refactor #937
Conversation
As per discuss with the author of #822. Following are the main objectives for refactoring.
Change the Global Settings like
|
I have also added I was also thinking of removing some items from the
What do you think? |
webview.service.ts ---- Read version from package.json Update corresponding settings to match new sync service configs environment.ts ---- Read version from package.json init.service.ts settings.service.ts ---- Fix issue with IsConfigured()
Yes
Yes as we have UI now, most of the things can be managed from there. Its safe to remove them. |
@shanalikhan Since we added the buttons to References:
|
Lets keep this now, we will look into it later how we can improve it. |
I suggest you to close this PR. |
@arnohovhannisyan Any update on this ? |
Short description of what this resolves:
This PR separates different functionality into their own services to refactor the code.
Changes proposed in this pull request:
sync.ts
upload and download functionality and all gist functionality togist.service.ts
settings.service.ts
logger.service.ts
autoUpload.service.ts
localization.service.ts
init.service.ts
What definitely still works
Fixes: #935
How Has This Been Tested?
I have tested the functionality mentioned above, but it needs a lot more testing.
Checklist:
WARNING: This is a VERY EXPERIMENTAL PR and has LOTS of changes (for developers. end-users shouldn't be affected).