Replace download button with dropdown #158

Merged
sb10q merged 3 commits from esavkin/web2019:154-dropdown-download into master 2024-10-21 17:50:21 +08:00
Member

Closes #154

Screenshot from 2024-10-21 15-31-54

Closes #154 ![Screenshot from 2024-10-21 15-31-54](/attachments/536c8111-5ee2-4545-8a01-bfcd75c3a4b5)
esavkin added 1 commit 2024-10-18 12:33:22 +08:00
92f7428ac8 Replace download button with dropdown
Signed-off-by: Egor Savkin <es@m-labs.hk>
Owner

Just clicking on the button should download stable. The appearance and functionality should be similar to this button:
image

Just clicking on the button should download stable. The appearance and functionality should be similar to this button: ![image](/attachments/41861df7-df68-4f71-beb8-1e9d805ddf14)
3.5 KiB
esavkin added 1 commit 2024-10-21 15:32:24 +08:00
9d9a4c9f5a Split dropdown
On main click it downloads stable, in dropdown there are two choices - stable and beta. Similar to the downloads on jetbrains website

Signed-off-by: Egor Savkin <es@m-labs.hk>
Owner

Doesn't look good. Pay close attention to the model.

Doesn't look good. Pay close attention to the model.
Author
Member

Which model?

I don't think the gitea's merge button is suitable for downloads, as they have different effect. In gitea, the user chooses action first and then confirms it, because reverting it may be difficult.

Here the user just wants to download installer without additional clicks, and it was inspired from download button from the Jetbrains, since their purpose is the same and I'm pretty sure they've done proper UX research about it. Main button downloads the default option, and the dropdown contains all variants, and by clicking any the download starts shortly.
image

Which model? I don't think the gitea's merge button is suitable for downloads, as they have different effect. In gitea, the user chooses action first and then confirms it, because reverting it may be difficult. Here the user just wants to download installer without additional clicks, and it was inspired from download button from the Jetbrains, since their purpose is the same and I'm pretty sure they've done proper UX research about it. Main button downloads the default option, and the dropdown contains all variants, and by clicking any the download starts shortly. ![image](/attachments/2012e143-e473-4df1-a487-bcc6d0d6c671)
Owner

Hmm, valid points, but the button just becomes gigantic, which is why I was thinking of removing the "stable".
image
Just reduce the font sizes and/or margins perhaps?

Hmm, valid points, but the button just becomes gigantic, which is why I was thinking of removing the "stable". ![image](/attachments/1b7ff1ed-c6e8-4532-acf4-feb83c7e0e54) Just reduce the font sizes and/or margins perhaps?
esavkin added 1 commit 2024-10-21 17:46:47 +08:00
f29807a913 Optimize the download button
Replace download button with windows icon (just four squares).
Make the download button last so on certain screens it wouldn't cause additional empty-ish lines.
Redo the wording so the button is shorter, but the dropdown menu is filled.

Signed-off-by: Egor Savkin <es@m-labs.hk>
Author
Member

How about such design?

image

How about such design? ![image](/attachments/b5f85198-fe67-48cd-afc9-5cf8b381671b)
Owner

OK

OK
sb10q merged commit f29807a913 into master 2024-10-21 17:50:21 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/web2019#158
No description provided.