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

Activities from other files are visible even if "Limit activities for favorites" is ticked #687

Open
skshetry opened this issue Jan 25, 2019 · 6 comments
Labels

Comments

@skshetry
Copy link
Member

Steps to reproduce

  1. Enable "Limit notifications about creation and changes to your favorite files" from General Settings page.
  2. Add a tag or comment on any file/folder that is not favorited.
  3. Check activity log from the webUI

Expected behaviour

Log should be there mentioning creation of comment or assignment of tag.

Actual behaviour

No log related to step 2.
Disabling the limit, and again checking the logs does show up the log related to step 2.
So, the log is being generated but not visible. Filtering log by "Comments" or "Tags" does show up the log, and is also visible on the sidebar. Only in the default view, it is not displayed.

@skshetry skshetry added the bug label Jan 25, 2019
@pmaier1
Copy link
Contributor

pmaier1 commented Jan 25, 2019

Well, this works as designed, I'd say. Why would you expect to see entries for not favorited files if you explicitly configure it to only show entries for favorited files?

The term "notifications" might be misleading here as it's actually the configuration for the Activity app and the digest mails it sends.

Anyway, I can't see the benefit of this option as you can simply filter by favorites in the activity app itself and the option only refers to the activity stream, not the digest mails.
screenshot from 2019-01-25 11-55-44

Any clue? @PVince81 maybe?

@pmaier1
Copy link
Contributor

pmaier1 commented Jan 25, 2019

Well, the "Favorites" filter doesn't seem to work properly as I have no favorites set at all in my account but still see a lot of entries -_- WTF.

@phil-davis
Copy link
Contributor

phil-davis commented Jan 25, 2019

"Limit notifications about creation and changes to your favorite files"

In English I have trouble understanding exactly what this sentence should mean:

  1. "Limit notifications about creation and changes to only be shown for files that you have favorited"
    or
  2. "Do not show notifications about creation and changes for files that you have favorited"
    (and also, why does it explicitly just say "creation and changes" - probably this is meant to apply to all "file and file meta-data events", which also means rename, delete, tag add/remove, comment add/remove/edit...)

Probably the intention is (1)?

After deciding that (1) is the requirement, then the question is how are the activity notifications are expected to be limited:
a) Just hidden on webUI, but they have still actually all been logged in the backend and so there is the potential to re-display them in the future
b) The "limited" activity events are not logged at all, so there is no way in future to see them
c) What is expected to happen for any other "backend" functionality, e.g. if activity events are being "sent somewhere" (another logging backend, emails to somewhere, whatever...) - are those things supposed to happen or not for the acctivity events that have been "limited"

If the high-level requirements are written down, then we can write test scenarios for them (or the person writing the high-level requirements can write example test scenarios...)

@skshetry
Copy link
Member Author

@phil-davis I thought it to be 2. Even if it is 1, the logs are still generated (for changes/creation/deletion), but not for tags/comments.

@PVince81
Copy link
Contributor

this option was introduced with #271 and owncloud/core#15196 (comment)

not sure about the exact design decision

@skshetry
Copy link
Member Author

I thought the option was related to limiting activities from favorited files (idk why that came to me). But, still, other files (not favorited ones) are still shown in the activity. So, I'll rename the issue title.

@skshetry skshetry changed the title Some Activities are not visible if "Limit activities for favorites" is ticked Activities from other files are visible even if "Limit activities for favorites" is ticked Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants