-
Notifications
You must be signed in to change notification settings - Fork 899
Notifications #197
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
Notifications #197
Conversation
Signed-off-by: Camila San <[email protected]>
…, join a call, etc. Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
…planation about it. - Changes the configuration name in ConfigFile and GeneralSettings accordingly with the new text. - Makes sure the user sees error and conflict messages even if the setting is disabled. Signed-off-by: Camila San <[email protected]>
- Changes spacing. - Removes QFrame. - Changes icon size. Signed-off-by: Camila San <[email protected]>
… the Activity. Signed-off-by: Camila San <[email protected]>
…r. Server activities and notifications are off by default. Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
…age. Signed-off-by: Camila San <[email protected]>
browser. - Removes debug messages. - Removes Activity data _appName - not used anymore. Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
|
Cool! 2 things:
|
ok, will change it
The second one means a mistake :) Removing it. |
Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
…rtup. Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
…otifications. Signed-off-by: Camila San <[email protected]>
|
@camilasan Is this also ready for review? Feel free to update the label if so. |
| a._id = json.value("notification_id").toInt(); | ||
| a._subject = json.value("subject").toString(); | ||
| a._message = json.value("message").toString(); | ||
|
|
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.
Ideally we could also use and cache the icon value and use that in the UI, but that is also something that could be done later.
src/libsync/configfile.cpp
Outdated
| { | ||
| QSettings settings(configFile(), QSettings::IniFormat); | ||
| return settings.value(QLatin1String(optionalDesktopNoficationsC), true).toBool(); | ||
| return settings.value(QLatin1String(optionalServerNotificationsC), false).toBool(); |
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.
I think notifications should be enabled by default. Any opinions @jancborchardt
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.
Done.
…code is 304. Signed-off-by: Camila San <[email protected]>
Signed-off-by: Camila San <[email protected]>
I think now you can review it. Could you try to run it too? Thanks. |
I did. Works pretty nice 👍 I'll have another look for a final review. |
|
And @juliushaertl ? :) |
|
@rullzer could you review it too? thanks! |
rullzer
left a comment
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.
Good stuff. Lets get this in!
Notification widget:

One user notification:

Multiple users notification:

Settings:
