-
Notifications
You must be signed in to change notification settings - Fork 804
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
Show file details within the tray dialog, rather than in a separate dialog #5139
Conversation
Nice work @claucambra! It does seem like it could use a back arrow button in the top left for example, or "Cancel"? However, on "Back" it should still be saved, whereas on "Cancel" all changes should be rolled back, which might be a bit complex. What do you think @claucambra @nimishavijay? |
I'm not sure what's being more broadly suggested here -- are we talking about the possibility of backward/forward navigation? Or just, at its core, just different positioning of the buttons? If it's the latter I think that is overkill -- we are just switching back and forth between a one page hierarchy, where the user can just re-click the share button in the main activity list to return to the file details page, and just click the "done" button to remove the file details page. If it's the latter, that's okay, but it clashes with our "done/accept/cancel" button positioning in the rest of the application, which is always at the bottom (see the user status modal popup, for example) EDIT: also, what changes are you suggesting should be able to roll back? I don't think a "settings menu" type paradigm where the settings can be changed and then be applied or not applied is not a good fit here (and I have my gripes with it in general, it has no place for non-destructive changes) |
94fbc02
to
9e0b4ab
Compare
Notes from the design review call:
|
b747138
to
1656b8f
Compare
@jancborchardt @nimishavijay Here is the current state of the file details drawer: Screen.Recording.2022-11-09.at.13.12.04.mov |
Bullets 2 and 6->9 we will do in a separate 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.
Very nice! :)
1656b8f
to
a036fe5
Compare
a036fe5
to
d62f107
Compare
Indeed very nice |
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.
comments about some warnings coming from qml side
(see the inline comment)
there is also
qrc:/qml/src/gui/tray/Window.qml:190:30: QML FileDetailsPage: Binding loop detected for property "implicitHeight"
04a3baa
to
5de1c75
Compare
Is fixed now :) |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5139 +/- ##
==========================================
- Coverage 57.63% 57.54% -0.09%
==========================================
Files 138 138
Lines 17490 17399 -91
==========================================
- Hits 10081 10013 -68
+ Misses 7409 7386 -23
|
Note to self: will need incorporating changes from #5194 |
942695b
to
38c7fad
Compare
625f5d3
to
afb32b3
Compare
@claucambra I am not able to open the tray with this PR. |
afb32b3
to
1ac7eec
Compare
rebase issue, fixed now |
…ialog Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
…-right Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
1ac7eec
to
5930fb4
Compare
AppImage file: nextcloud-PR-5139-5930fb4ac912d33ba431a017cef103c9cf8cbc6c-x86_64.AppImage |
Kudos, SonarCloud Quality Gate passed! |
Screen.Recording.2022-11-07.at.14.04.13.mov
Closes #4937
Please note that this PR depends on #5129
Signed-off-by: Claudio Cambra claudio.cambra@nextcloud.com