gh4a icon indicating copy to clipboard operation
gh4a copied to clipboard

Improved milestone selection dialog

Open Tunous opened this issue 6 years ago • 4 comments

I've changed the milestone selection dialog to consist of view pager that allows for selection of closed milestones.

I'm not 100% sure about the look of this. We could modify a bit the appearance of milestones to highlight which one is selected. And I'm not really sure if the "deselect" button is a good idea. Sadly I don't have a better one. Also, we might want to colorize the pager tabs.

What is missing is the functionality of old "Manage milestones" buttons. We could add it like in old dialog (perhaps stack buttons) but I'm open to other suggestions.

Preview: milestone-dialog

Closes #570

Tunous avatar Sep 23 '17 18:09 Tunous

I'm not 100% sure about the look of this. We could modify a bit the appearance of milestones to highlight which one is selected.

That would indeed make sense, I think.

And I'm not really sure if the "deselect" button is a good idea. Sadly I don't have a better one.

What about placing a full-width 'Select none' or 'Any milestone' (wording improvements welcome) between the view pager and the button bar? That way we'd not mix selection and dialog dismissal in the button bar.

Also, we might want to colorize the pager tabs.

Worth a try, but my gut feeling is that the current version will look better. In general I think having more than one large block of color (let alone different colors) looks 'too much'. It's basically the same thing as with the advanced editor.

What is missing is the functionality of old "Manage milestones" buttons. We could add it like in old dialog (perhaps stack buttons) but I'm open to other suggestions.

What do you mean by that?

maniac103 avatar Sep 26 '17 06:09 maniac103

What is missing is the functionality of old "Manage milestones" buttons. We could add it like in old dialog (perhaps stack buttons) but I'm open to other suggestions.

What do you mean by that?

Go to issue edit screen and click on the button to add milestone. You can see here that the dialog has additional button which is missing in new design.

Tunous avatar Sep 26 '17 07:09 Tunous

Go to issue edit screen and click on the button to add milestone. You can see here that the dialog has additional button which is missing in new design.

Ah, right. Should be easy to add though when moving the deselect button out.

maniac103 avatar Sep 26 '17 07:09 maniac103

Rebased onto latest master and finished missing changes. I'm still not convinced about the looks of this but at least now everything is functional.

Tunous avatar Feb 03 '19 15:02 Tunous