diohub icon indicating copy to clipboard operation
diohub copied to clipboard

Pinned issues should be pinned

Open Madis0 opened this issue 3 years ago • 5 comments

That "pinned" button is weird, I'd suggest doing a carousel of issues above all other issues, with a separator below and a pin icon on the top right corner for all of those.

Madis0 avatar Aug 16 '21 04:08 Madis0

I thought about doing it that way, but the issue is mostly that I don't want it to take too much screen space. How does a drop-down sound? That says "X Pinned Issues" right below the search bar and tapping on it opens the carousel?

namanshergill avatar Aug 16 '21 04:08 namanshergill

The reason why repos use pinned issues in the first place is to make sure people read them before viewing/creating any other issues. So having it take space by default for all repos should be preferred, afterwards the user could collapse them per-repo per-session (not permanently in case they are updated later on).

Madis0 avatar Aug 16 '21 05:08 Madis0

I'm thinking of changing how tabs work (making them openable/closable to prevent clutter), one way the issue with them taking too much space could be prevented could be opening a new screen for issues instead of a tab. I could have a horizontal list at the top for the pinned issues then. Would you prefer it that way?

namanshergill avatar Aug 16 '21 05:08 namanshergill

Hmm no, tabs are good. You could do the pinned issues vertically as well, something like

Pinned v
[Issue 1]
[Issue 2]
[Issue 3]

where clicking "v" would collapse them.

(Issues would still be multiline cards)

Madis0 avatar Aug 16 '21 05:08 Madis0

Cool! That sounds good.

I could give a setting in the app to have them collapsed/uncollapsed on load, default being uncollapsed, later on, if someone would like to change it.

namanshergill avatar Aug 16 '21 05:08 namanshergill