-
Notifications
You must be signed in to change notification settings - Fork 806
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
Bugfix/user status #3182
Bugfix/user status #3182
Conversation
Oh this is great @camilasan! All the cases covered, hopefully no room for confusion anymore. :) One little feedback from my side: You write "Fix alignment" but in the screenshot the text is not left-aligned at the same line, but there’s 2 different lines? Would look better if it’s all left-aligned along the same line. |
I was just trying to align username + status in each of the places where they are displayed. I was not trying to align the top one with the bottom. But I can try to fix it. |
d974e09
to
5d68484
Compare
|
2b14fb0
to
ac67d79
Compare
37b1104
to
3a0dcea
Compare
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.
Looks great now with fixed alignment, thanks @camilasan! :)
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.
A few last things
this is really going to be a very nice improvement !
2ca921b
to
0ca9f7f
Compare
src/gui/tray/UserLine.qml
Outdated
text: statusMessage | ||
elide: Text.ElideRight | ||
color: "black" | ||
font.pixelSize: 10 |
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.
Are you sure that is not needed also for the emoji in the previous label ?
I think that we could run into problem if the font inherited from system has a different size than the one you tested with
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 we shouldn't force any pixel size. This will look wrong on hidpi.
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.
OK, the font pixel size is used everywhere at the moment.
I just to want point out that this file is outdated. I am afraid you haven't seen my recent changes - the ones I really would like to get feedback on.
/rebase |
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Rename ServerUserStatus to ServerUserStatusRole. Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Display the server url instead. Signed-off-by: Camila <hello@camila.codes>
…Allowed. - User !== instead of !=. - Fix code style. Signed-off-by: Camila <hello@camila.codes>
In AccountState::setDesktopNotificationsAllowed. Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
- serverHasUserStatus Q_PROPERTY is CONSTANT. - Fix code style. Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Remove unnecessary connection to refreshCurrentUserGui signal. Signed-off-by: Camila <hello@camila.codes>
Use only QML property bindings to refresh the UI. Signed-off-by: Camila <hello@camila.codes>
It allows to align the emoji with the message. Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
d604c2c
to
f758157
Compare
AppImage file: Nextcloud-PR-3182-f7581579732642d62766df11d0ec8d751d58e5d2-x86_64.AppImage |
/backport to stable-3.2 |
It should help with #3147, addresses some points of #3045:
Fix alignment:
When is user is connected to the server:
When user is connected to the server and do NOT have a user defined message:
When user is connected to the server and do have a user defined message:
When is user is NOT connected to the server:
A Server with NO user status feature (<20):
If the user has only one folder configured for synchronisation and then removes the synchronisation and opens the main dialog again. The folder is still displayed in the main dialog. The folder should not be displayed anymore. (For questions regarding this contact @FlexW)
If the user has zero folders configured for synchronisation, the main dialog should not display the green icon that the sync was successful on the right hand side of the account information (For questions regarding this contact @FlexW)
With folders configured:
With no folders configured:
this is on the server too: