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

How to create a widget to show followed items? #1

Open
giannik opened this issue Feb 7, 2017 · 4 comments
Open

How to create a widget to show followed items? #1

giannik opened this issue Feb 7, 2017 · 4 comments

Comments

@giannik
Copy link

giannik commented Feb 7, 2017

Currently I can follow discussions and wiki pages. Is there a widget to show items I am following ?
Thanks.

@siyamandayubi
Copy link
Owner

No not at the moment. The followers are stored in the ContentItem and they are not persisted in their own table which in terms of performance in loading the ContentItem is good, but it makes it difficult to run a query that give us the list of items that I am following. We can have a special widget that build an HqlQuery that searches for userId in the FollowerPart. It would not be nice & best practice, but it would work.

@giannik
Copy link
Author

giannik commented Feb 8, 2017

Ok, I get it.
Thanks.

@giannik
Copy link
Author

giannik commented Feb 8, 2017

So , I guess the benefit of following an item is to receive notifications if something changes ? Correct?

@siyamandayubi
Copy link
Owner

Yep, that is true. Also it would be trivial to represent list of people who follow an item.

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

No branches or pull requests

2 participants