Add user preference to view project activity and starred project activity as default dashboard
Merge request reports
Activity
mentioned in issue #2662 (closed)
I hadn't thought about it until looking at this, but this custom dashboard feature is kind of confusing now. It made sense to me when both options in the dropdown ("Your Projects", "Starred Projects") existed as root-level menu elements.
But now the dashboard menu has "Projects" which contains "Your Projects" and "Starred Projects" as filters.
Similarly, there's the "Activity" menu item which contains "Your Projects" and "Starred Projects" as filters.
Maybe we should set the two options to "Project" and "Activity", and then remember which filter they select with a cookie or something.
@rspeicher I don't think its much confusing. You can add 2 activity options instead one: for your and starred projects.
I don't like having mix of db setting and cookies. I would like same behavior between devices. Basically i always want to know which page i will see visiting root path.
@stanhu can you please add an option with activity for starred projects too? In this case it would be nicely balanced
@dzaporozhets Done!
@stanhu
♥️ @stanhu can you check specs?
@stanhu Thank you very much!
Added 1 commit:
- 0383afc6 - Add user preference to view project activity and starred project activity as default dashboard
@stanhu Thanks!
✨ mentioned in commit ac34ce86
There seems to be a bug here. Now if the "Your Projects' Activity" selection is clicked, there is no way of seeing the list of projects available. It looks like we can fix this by only doing the redirect if the referral is blank.
EDIT: A better way would be to link to the project page directly instead of the root page.
Edited by Stan Humentioned in merge request !1459 (merged)
mentioned in commit abae352e
mentioned in commit 2e8a3e39
mentioned in issue #2655 (closed)