After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767646 - UI tweaks towards new panel design
UI tweaks towards new panel design
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Sharing
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-14 12:43 UTC by Felipe Borges
Modified: 2018-01-18 01:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sharing: properly resize listbox rows (2.46 KB, patch)
2016-06-14 12:43 UTC, Felipe Borges
committed Details | Review
sharing: update media sharing dialog description (1.18 KB, patch)
2016-06-14 12:44 UTC, Felipe Borges
committed Details | Review
sharing: update Screen Sharing dialog description (2.24 KB, patch)
2016-06-14 12:44 UTC, Felipe Borges
committed Details | Review
sharing: use a checkbutton in Screen Sharing dialog (3.88 KB, patch)
2016-06-14 12:44 UTC, Felipe Borges
committed Details | Review
sharing: move Remote Login switch to headerbar (3.28 KB, patch)
2016-06-14 12:44 UTC, Felipe Borges
committed Details | Review
sharing: update Remote Login dialog description (16.25 KB, patch)
2016-06-14 12:44 UTC, Felipe Borges
needs-work Details | Review
sharing: drop the "Personal" from "Personal File Sharing" (2.16 KB, patch)
2016-06-14 12:44 UTC, Felipe Borges
needs-work Details | Review
sharing: Drop the "Personal" from "Personal File Sharing" (2.16 KB, patch)
2016-06-14 14:11 UTC, Felipe Borges
none Details | Review
sharing: Drop the "Personal" from "Personal File Sharing" (2.16 KB, patch)
2016-06-15 09:41 UTC, Felipe Borges
committed Details | Review
sharing: Update "Remote Login" dialog description (1.39 KB, patch)
2016-06-15 09:41 UTC, Felipe Borges
committed Details | Review
sharing: Update label text for "Remote Login" (1.60 KB, patch)
2016-06-15 09:41 UTC, Felipe Borges
needs-work Details | Review

Description Felipe Borges 2016-06-14 12:43:18 UTC
The Sharing panel doesn't require big structural changes such as the Printers, Keyboard, Mouse, and UserAccounts panels -- but there are UI differences between the current implementation and the up-to-date mockups available at https://wiki.gnome.org/Design/SystemSettings/Sharing

The following patches address these UI tweaks.
Comment 1 Felipe Borges 2016-06-14 12:43:55 UTC
Created attachment 329778 [details] [review]
sharing: properly resize listbox rows
Comment 2 Felipe Borges 2016-06-14 12:44:00 UTC
Created attachment 329779 [details] [review]
sharing: update media sharing dialog description

To match the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 3 Felipe Borges 2016-06-14 12:44:06 UTC
Created attachment 329780 [details] [review]
sharing: update Screen Sharing dialog description

To match the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 4 Felipe Borges 2016-06-14 12:44:14 UTC
Created attachment 329781 [details] [review]
sharing: use a checkbutton in Screen Sharing dialog

According to the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
We should use a checkbutton instead of a switch for
the "Allow connections to control the screen" option.
Also, this commit changes this option label accordingly.
Comment 5 Felipe Borges 2016-06-14 12:44:20 UTC
Created attachment 329782 [details] [review]
sharing: move Remote Login switch to headerbar

According to the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 6 Felipe Borges 2016-06-14 12:44:26 UTC
Created attachment 329783 [details] [review]
sharing: update Remote Login dialog description

To match the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 7 Felipe Borges 2016-06-14 12:44:31 UTC
Created attachment 329784 [details] [review]
sharing: drop the "Personal" from "Personal File Sharing"

According to the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 8 Bastien Nocera 2016-06-14 13:25:00 UTC
Review of attachment 329779 [details] [review]:

Sure. Please upper-case the beginning of the sentence after "sharing: " (and for all the other patches as well).
Comment 9 Bastien Nocera 2016-06-14 13:26:10 UTC
Review of attachment 329780 [details] [review]:

Quotes around the dialogue name in the commit message, and upper-case at the start of the sentence.
Comment 10 Bastien Nocera 2016-06-14 13:30:08 UTC
Review of attachment 329781 [details] [review]:

Same as before regarding the commit subject.
Comment 11 Bastien Nocera 2016-06-14 13:31:05 UTC
Review of attachment 329782 [details] [review]:

Sure.
Comment 12 Bastien Nocera 2016-06-14 13:33:46 UTC
Review of attachment 329783 [details] [review]:

Indentation is utterly broken here.

::: panels/sharing/cc-sharing-panel.c
@@ +683,3 @@
+	    text = g_strdup_printf (_("When remote login is enabled, remote users can connect using the Secure Shell command:\n<a href=\"ssh %s\">ssh %s</a>"), hostname, hostname);
+	  else if (label == WID ("screen-sharing-label"))
+	    text = g_strdup_printf (_("Screen sharing allows remote users to view or control your screen by connecting to <a href=\"vnc://%s\">vnc://%s</a>"), hostname, hostname);

Why did the indentation change on this unrelated line?

::: panels/sharing/sharing.ui
@@ +410,3 @@
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
+                    <property name="label">When remote login is enabled, remote users can connect using the Shell command:

Do this in a separate patch from getting the short name from Avahi.
Comment 13 Bastien Nocera 2016-06-14 13:34:28 UTC
Review of attachment 329784 [details] [review]:

::: panels/sharing/sharing.ui
@@ -72,3 @@
                             <property name="halign">start</property>
                             <property name="hexpand">True</property>
-                            <property translatable="yes" name="label">_Personal File Sharing</property>

We lost a mnemonic here, need to replace it.
Comment 14 Felipe Borges 2016-06-14 14:06:24 UTC
Attachment 329779 [details] pushed as 4d001f7 - sharing: Update "Media Sharing" dialog description
Attachment 329780 [details] pushed as 612ac49 - sharing: Update "Screen Sharing" dialog description
Attachment 329781 [details] pushed as 8b68961 - sharing: Use a checkbutton in the "Screen Sharing" dialog
Attachment 329782 [details] pushed as 8e414f8 - sharing: Move "Remote Login" switch to headerbar
Comment 15 Felipe Borges 2016-06-14 14:11:00 UTC
Created attachment 329798 [details] [review]
sharing: Drop the "Personal" from "Personal File Sharing"

According to the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 16 Bastien Nocera 2016-06-14 14:14:09 UTC
Review of attachment 329798 [details] [review]:

::: panels/sharing/sharing.ui
@@ +72,3 @@
                             <property name="halign">start</property>
                             <property name="hexpand">True</property>
+                            <property translatable="yes" name="label">File Sharing</property>

The mnemonic is on the label, not on the headerbar.
Comment 17 Felipe Borges 2016-06-15 09:41:40 UTC
Created attachment 329849 [details] [review]
sharing: Drop the "Personal" from "Personal File Sharing"

According to the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 18 Felipe Borges 2016-06-15 09:41:46 UTC
Created attachment 329850 [details] [review]
sharing: Update "Remote Login" dialog description

To match the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 19 Felipe Borges 2016-06-15 09:41:52 UTC
Created attachment 329851 [details] [review]
sharing: Update label text for "Remote Login"

This label is constructed after the avahi hostname discovery.

This change matches the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing
Comment 20 Bastien Nocera 2016-06-15 10:52:52 UTC
Review of attachment 329849 [details] [review]:

Looks good.
Comment 21 Bastien Nocera 2016-06-15 10:53:15 UTC
Review of attachment 329850 [details] [review]:

Yep.
Comment 22 Bastien Nocera 2016-06-15 10:55:12 UTC
Review of attachment 329851 [details] [review]:

> This label is constructed after the avahi hostname discovery.

It's not, yet.

This can be merged into the previous patch, as you're changing both the placeholder string in the .ui file, and the generated string.
Comment 23 Felipe Borges 2016-06-15 12:21:35 UTC
Attachment 329849 [details] pushed as f3b7c16 - sharing: Drop the "Personal" from "Personal File Sharing"
Attachment 329850 [details] pushed as da1d8f0 - sharing: Update "Remote Login" dialog description
Comment 24 Georges Basile Stavracas Neto 2018-01-18 01:55:41 UTC
Review of attachment 329778 [details] [review]:

This actually looks good, and applies on top of master.
Comment 25 Georges Basile Stavracas Neto 2018-01-18 01:56:32 UTC
Attachment 329778 [details] pushed as afbdddc - sharing: properly resize listbox rows

With that, this bug can be finally closed.

Rest in peace.