fedora-infra / mobile

An Android app that allows the Fedora community to interact with Fedora's web apps on the go.
https://fedoraproject.org/mobile
Other
27 stars 10 forks source link

Collapse similar newsfeed entries #31

Closed relrod closed 9 years ago

relrod commented 10 years ago

This is probably way down the road (and we may be able to do something in Datagrepper itself to make this easier somehow? Maybe @ralphbean has some ideas? :P), but it would be nice if we could collapse similar entries.

Something like...

Instead of:

| Some newsfeed story here
| Another here
| codeblock did X on the el6 branch
| codeblock did X on the fedora18 branch
| codeblock did X on the fedora19 branch
| codeblock did X on the fedora20 branch
| X was tagged into trashcan by oscar
| X was tagged into trashcan by oscar
| X was tagged into trashcan by oscar
| X was tagged into trashcan by oscar

Have:

| Some newsfeed story here
| Another here
| codeblock did 4 things to X. Tap to expand.
| oscar tagged 5 things into trashcan. Tap to expand.

I think this would make the newsfeed easier to comprehend and more useful.

relrod commented 10 years ago

Maybe we could somehow offer an endpoint in datagrepper where similar stories are sent as a list object or something? I'm not sure how intelligent we could have to make it. i.e., what constitutes a "similar story"?

@ralphbean is this worth filing a bug on in the datagrepper repo? Or something I should just try to do in Mobile at some point way down the road on my own?

ralphbean commented 10 years ago

Maybe we could somehow offer an endpoint in datagrepper where similar stories are sent as a list object or something? I'm not sure how intelligent we could have to make it. i.e., what constitutes a "similar story"?

Good idea.

@ralphbean is this worth filing a bug on in the datagrepper repo? Or something I should just try to do in Mobile at some point way down the road on my own?

Yeah, let's do it in datagrepper. We have /raw, /id.. maybe we add a /summary?

relrod commented 9 years ago

Closing this, track in fedora-infra/datagrepper#132.