Skip to content
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

Clicking on an activity list item for a file opens the local file if available #4748

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Jul 18, 2022

If the activity refers to more than one item, it will open the containing folder (since activities with several files will contain files that are within the same folder)

Addresses a point in #4433 and fixes #4063

Signed-off-by: Claudio Cambra claudio.cambra@gmail.com

@claucambra claucambra self-assigned this Jul 18, 2022
@camilasan
Copy link
Member

when do we show the file activity window?

@claucambra
Copy link
Collaborator Author

when do we show the file activity window?

When we want to see the file's activity from the file browser extension

IMO we should add context menus to the activity list items at some point, so we can interact with them in more than one way. I would say this is out of scope though

@camilasan
Copy link
Member

IMO we should add context menus to the activity list items at some point, so we can interact with them in more than one way. I would say this is out of scope though

right click context menu? We do have a '...' menu but the way we list most actions right now with more buttons/links, the 'extra' menu never gets used or displayed. IMO showFileActivity should be there or in a button in the activities list.

@claucambra
Copy link
Collaborator Author

IMO we should add context menus to the activity list items at some point, so we can interact with them in more than one way. I would say this is out of scope though

right click context menu? We do have a '...' menu but the way we list most actions right now with more buttons/links, the 'extra' menu never gets used or displayed. IMO showFileActivity should be there or in a button in the activities list.

That would also work :)

@claucambra claucambra force-pushed the feature/open-local-files branch from 213225c to bc10da7 Compare July 21, 2022 16:54
@codecov
Copy link

codecov bot commented Jul 21, 2022

Codecov Report

Merging #4748 (a2d00af) into master (9a84edf) will decrease coverage by 0.14%.
The diff coverage is n/a.

❗ Current head a2d00af differs from pull request most recent head 7891792. Consider uploading reports for the commit 7891792 to get more accurate results

@@            Coverage Diff             @@
##           master    #4748      +/-   ##
==========================================
- Coverage   56.80%   56.66%   -0.15%     
==========================================
  Files         138      138              
  Lines       17142    17142              
==========================================
- Hits         9738     9713      -25     
- Misses       7404     7429      +25     
Impacted Files Coverage Δ
src/libsync/vfs/cfapi/hydrationjob.cpp 52.68% <0.00%> (-3.77%) ⬇️
src/libsync/vfs/cfapi/vfs_cfapi.cpp 85.09% <0.00%> (-2.36%) ⬇️
src/libsync/vfs/cfapi/cfapiwrapper.cpp 72.43% <0.00%> (-2.28%) ⬇️
src/libsync/syncengine.cpp 86.65% <0.00%> (-0.55%) ⬇️
src/libsync/propagatedownload.cpp 65.18% <0.00%> (+0.14%) ⬆️

@claucambra claucambra requested a review from mgallien July 27, 2022 10:16
@claucambra claucambra force-pushed the feature/open-local-files branch from bc10da7 to a2d00af Compare August 2, 2022 15:26
…available

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the feature/open-local-files branch from a2d00af to 7891792 Compare August 2, 2022 15:43
@sonarcloud
Copy link

sonarcloud bot commented Aug 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

60.0% 60.0% Coverage
0.0% 0.0% Duplication

@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4748-789179214f1e0334d2b692c7bc361fe8f1b55680-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@claucambra claucambra merged commit be2ed7a into master Aug 2, 2022
@claucambra claucambra deleted the feature/open-local-files branch August 2, 2022 16:26
@mgallien mgallien added this to the 3.6.0 milestone Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening file from taskbar option
4 participants