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

Show only own and forked projects in dashboard #2522

Open
bequrios opened this issue May 12, 2023 · 8 comments
Open

Show only own and forked projects in dashboard #2522

bequrios opened this issue May 12, 2023 · 8 comments
Labels
status/accepted Issue accepted for roadmap/fixing

Comments

@bequrios
Copy link

Is your feature request related to a problem? Please describe.
We use renku for teaching (and we really like it!). We create a public project and instruct our students to fork this public project into their own user account. Students are often confused because they see now two identically named projects in their dashboard and sometimes start the public project only to realise that they cannot save their (valuable) work afterwards.

Describe the solution you'd like
It's probably better to show only your own and your forked projects in the dashboard and no public projects.

Describe alternatives you've considered
Give an option on the search page to filter for forked projects:

Author

  • All
  • Owned by me
  • Forked by me
@bequrios bequrios added the status/triage Issue needs to be triaged label May 12, 2023
@lorenzo-cavazzi
Copy link
Member

Hello @bequrios , thank you for your feedback. We understand the problem, and we realize how confusing having duplicate names might be, especially for the aforementioned use case. We already got a similar comment recently.

"Forked by me" is a sub-category of "Owned by me". I suggest keeping it simple, considering only "All" and "Owned by me". We could easily introduce a switch or a dropdown to select the category.
We'll run this through our designer to pick a nice solution and plan for its implementation. To better track and update the issue, I will move this to the UI repository.

P.S. One annoying limitation is that we currently don't store user preferences permanently in a database on the backend, so the last selection will only be saved in the current browser.

@lorenzo-cavazzi lorenzo-cavazzi added status/accepted Issue accepted for roadmap/fixing and removed status/triage Issue needs to be triaged labels May 15, 2023
@lorenzo-cavazzi lorenzo-cavazzi transferred this issue from SwissDataScienceCenter/renku May 15, 2023
@jdupre81
Copy link

Design proposals:

Switch button

Switch.mov

Dropdown button

dropdown.mov

I guess that for switching from one option to the other (All / Owned by me) will take a few milliseconds and the screen will show the 3 dots while processing the information.

@bequrios
Copy link
Author

Thanks for the quick response and the proposed solution. I would prefer the switch button - and for our use case, it would be best to have the switch on "Owned by me" as default - because I'm sure that although we explain the difference between a public project and a forked project and would instruct our students to have the switch always on "Owned by me", some of them would still manage to start the public project ;-)

@jdupre81
Copy link

jdupre81 commented May 17, 2023

here another design proposal.. the switch button could be at the same level of the user's name and the text can indicate that the selected option applies for both, projects and datasets.
I changed the shape of the button due to our guidelines https://dev.renku.ch/style-guide/buttons

Image

all.mine.mov

@lorenzo-cavazzi
Copy link
Member

lorenzo-cavazzi commented Jun 19, 2023

@bequrios Sorry for taking longer here; we are in the process of changing the backend source for fetching the most recent projects and datasets to have a reliable permanent source (this will remove the limitation I previously mentioned in this comment).

It might take additional time before we can fix this, but we haven't forgotten about the issue.

@bequrios
Copy link
Author

Thanks for the update. We are very happy that you all work hard to improve the renku ecosystem. We are very happy to work with your tools and they are a tremendous help for our courses. Thanks for your efforts!

@jdupre81
Copy link

jdupre81 commented Jul 3, 2023

As discussed on June 29, here is the Design updated for the dashboard switch button (All / Mine). The switching option will always apply parallel for both, projects and datasets .

Figma prototype

all.mine.final.mov

@lorenzo-cavazzi
Copy link
Member

Requires #2599

@lorenzo-cavazzi lorenzo-cavazzi moved this from Todo 📌 to On hold 🛑 in UI Sprints - DEPRECATED Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/accepted Issue accepted for roadmap/fixing
Projects
None yet
Development

No branches or pull requests

3 participants