governance-ui
governance-ui copied to clipboard
Turning on/off a filter adds those types of proposals to the top instead of putting them all together
Before
After adding drafts to filter
Expected there to be various completed results as those were more recent
Just wanted to understand the problem better...
Is the list supposed to be arranged in ascending order with all the list items??
whereas, its currrently its just pushing all the draft items in the starting oof the list items...
am i correct??
Yup that's correct. Ascending order of dates. Current logic pushes all draft items to the top.
I can take a look at it. can you assign it to me ??
I'm not a maintainer so I don't have the power to assign that. I just noticed the bug when using the UI.
I'll take a look at this too, I just dealt with filters, so can probably figure out how it works
Actually, it's probably better to keep the drafts at the top of the list. Because the only reason people might want to see the drafts is to access them again to deploy a proposal. So it would make sense it goes to the top.