-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
refactor dialog #3764
refactor dialog #3764
Conversation
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
@grummbeer do you have any idea about this dialog design which is for login to headless linux? Different from normal login, remote linux user/password is required for headless linux. I still think current dialog does explain clearly, the users can be confused by the additonal user name and password. |
Let me try it first. How it feels and how it behave on (wrong) input.
sorry, which?
On the first glace, the message from toolip could placed directly obove the system login to avoid question marks. And below that, a heading for rustdesk password, even the placeholder already says so. |
both sides are the same |
|
Sorry, i meant the new dialog above. |
Yes, @fufesou place it under title directly with smaller smaller light font, and change title to original one (before this PR). You even do not put a big question mark there, no guys know moving mouse there to show a tooltip. |
According to material https://m3.material.io/components/dialogs/guidelines#fb75c64c-81c1-45ea-b97b-eb0bcb4c5dc9 The headline should smaller and a kind of heading/description goes to both sections. Section 1. Login to system, section 2. Login to rustdesk. |
Yes, @fufesou |
Seperator line can be remove if so, I think, with heading (and its padding). |
yes separation made by heading. |
sorry if this is a stupid question but … rustdesk/flutter/lib/common/widgets/dialog.dart Lines 499 to 509 in 12a5a7c
|
They should be sent to the controlled side. These variables are keet here for the near future work. |
Thanks for your reminder, I'll add some comments. |
Thank you for the clarification! |
Mainly move dialogs from
mobile
path tocommon
path.