-
Notifications
You must be signed in to change notification settings - Fork 26
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
Changed webmail to mail #888
base: master
Are you sure you want to change the base?
Changed webmail to mail #888
Conversation
src/app/app-settings.ts
Outdated
@@ -54,14 +54,14 @@ export class AppSettingsService { | |||
constructor( | |||
private storage: StorageService, | |||
) { | |||
this.storage.getSubject('webmailSettings').pipe(filter(s => s)).subscribe( | |||
this.storage.getSubject('mailSettings').pipe(filter(s => s)).subscribe( |
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.
This will effectively reset settings for existing users, who currently have them under webmailSettings
. We could migrate them, but I don't think it's worth all the effort in the APIs and internals – I think the original intention was to just change it in the user-facing bits. @gtandersen?
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.
Yes, "any references" in #886 was meant to include items visible in user interfaces only. :)
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.
@tadzik @gtandersen I didn't get what this actually mean? Could you please let me know where exactly i have to make correction in 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.
Just skip the above change -- only human-readable instances of "webmail" should be changed to "mail".
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.
@gtandersen Done.
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.
This still breaks the settings, for example in https://github.com/runbox/runbox7/pull/888/files#diff-97880cd37962b5628664ad1984e174376d6cda35dfefb3dc0376c204516e0998R65.
The change should only concern the words that the user can see – to put it simply, those appear in the HTML files (and instances like https://github.com/runbox/runbox7/pull/888/files#diff-884f7f49640e5923f6bcac4c51d90340330a178f662defbe61e5f5aac1c512deR1130) :) In the internals it's not a problem – it's in fact useful to distinguish between a singular mail (as in, a message), and webmail the application component.
In https://github.com/runbox/runbox7/pull/888/files#diff-ce434ef5cc161194b450135a3586eb89357fc270e8aaa8e336db5a04e8d52fbeR15 both words would actually be helpful – hinting the search engines that we deal with webmail is still useful as this is a term people may use to find us.
This PR will resolve issue #886 .