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 748714 - Refine the list view
Refine the list view
Status: RESOLVED OBSOLETE
Product: bijiben
Classification: Applications
Component: UI
3.17.x
Other Linux
: Normal normal
: ---
Assigned To: Bijiben maintainer(s)
Bijiben maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-04-30 16:27 UTC by Allan Day
Modified: 2018-05-04 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main-view: Improve list view (3.96 KB, patch)
2018-01-26 04:30 UTC, Isaque Galdino
none Details | Review
main-view: Improve list view (3.31 KB, patch)
2018-01-29 16:12 UTC, Isaque Galdino
none Details | Review
main-view: Improve list view (3.13 KB, patch)
2018-01-29 16:17 UTC, Isaque Galdino
none Details | Review
main-view: Improve list view (3.16 KB, patch)
2018-02-05 20:37 UTC, Isaque Galdino
committed Details | Review

Description Allan Day 2015-04-30 16:27:09 UTC
The current list view could be a lot better:

 * Titles aren't verticlly centered within each row.
 * The type column isn't needed - this should be communicated with the icon instead. It introduces a lot of visual noise.
 * The location column shouldn't be needed, in my opinion - since all notes should have the same location. It certainly isn't needed if the location is always the same.
 * The list is unnecessarily wide.

Mockups for something better:

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/notes/windowed-notes-list.png
Comment 1 Isaque Galdino 2018-01-23 14:24:35 UTC
(In reply to Allan Day from comment #0)
> The current list view could be a lot better:
> 
>  * Titles aren't verticlly centered within each row.
This is being addressed by https://bugzilla.gnome.org/show_bug.cgi?id=792665.

>  * The type column isn't needed - this should be communicated with the icon
> instead. It introduces a lot of visual noise.
I agree.
 
>  * The location column shouldn't be needed, in my opinion - since all notes
> should have the same location. It certainly isn't needed if the location is
> always the same.
Today Bijiben shows and work with more than one location, so I think that should remains.

>  * The list is unnecessarily wide.
It grows/shrinks according to the window size. What do you suggest?

Thanks.
Comment 2 Isaque Galdino 2018-01-26 04:30:16 UTC
Created attachment 367452 [details] [review]
main-view: Improve list view

This patch removes the type column from list view, reducing visual
noise, as that information is also communicated by the icon.

It also adds border to notebooks, improving contrast to the shown
icons.
Comment 3 Isaque Galdino 2018-01-26 04:32:15 UTC
(In reply to Allan Day from comment #0)
>  * The type column isn't needed - this should be communicated with the icon
> instead. It introduces a lot of visual noise.

Above patch addresses that.
Comment 4 Mohammed Sadiq 2018-01-27 06:31:41 UTC
Review of attachment 367452 [details] [review]:

I think before removing the column Note/Notebook, we have to consider that Notebook and Note are having the same icons in Adwaita light theme.

Say, running: GTK_THEME=Adwaita bijiben
the list view shows both note and notebook icon to have sharp corners (a square), while in dark theme, the notebook have a rounded corner, which can be distinguished easily.

Also, we have have to put an accessible name (GtkAccessible) for Note and Notebook as such, so that this change won't be an issue for such people.

Should we do those changes in a separate commit?
Comment 5 Isaque Galdino 2018-01-29 16:12:11 UTC
Created attachment 367586 [details] [review]
main-view: Improve list view

This patch removes the type column from list view, reducing visual
noise, as that information is also communicated by the icon.

It also adds border to notebooks, improving contrast to the shown
icons.
Comment 6 Isaque Galdino 2018-01-29 16:14:43 UTC
(In reply to Mohammed Sadiq from comment #4)
> Review of attachment 367452 [details] [review] [review]:
> 
> I think before removing the column Note/Notebook, we have to consider that
> Notebook and Note are having the same icons in Adwaita light theme.
> 
> Say, running: GTK_THEME=Adwaita bijiben
> the list view shows both note and notebook icon to have sharp corners (a
> square), while in dark theme, the notebook have a rounded corner, which can
> be distinguished easily.

Thanks Sadiq for noticing that. I've fixed it in the above commit.
> 
> Also, we have have to put an accessible name (GtkAccessible) for Note and
> Notebook as such, so that this change won't be an issue for such people.

Yeah, I believe we need to fix that, but I believe that's a separate commit.
Comment 7 Isaque Galdino 2018-01-29 16:17:25 UTC
Created attachment 367587 [details] [review]
main-view: Improve list view

This patch removes the type column from list view, reducing visual
noise, as that information is also communicated by the icon.

It also adds border to notebooks, improving contrast to the shown
icons.
Comment 8 Mohammed Sadiq 2018-02-01 04:09:04 UTC
Review of attachment 367587 [details] [review]:

lgtm. Please push to master after the suggested changes. Thanks for your patch.

::: data/resources/Adwaita.css
@@ +1,2 @@
 .biji-notebook-icon {
+    border: 1px solid rgba(0,0,0,0.4);

nitpick: put spaces after commas

::: src/bjb-main-view.c
@@ +476,1 @@
 

suggestion: As you are already removing the function, may be you can remove these whitelines too. May be we should stick with the style that every function is separated with one (and only one) blank line.

Feel free to do what you think is better.
Comment 9 Isaque Galdino 2018-02-05 20:37:06 UTC
Created attachment 367930 [details] [review]
main-view: Improve list view

This patch removes the type column from list view, reducing visual
noise, as that information is also communicated by the icon.

It also adds border to notebooks, improving contrast to the shown
icons.
Comment 10 Isaque Galdino 2018-02-05 20:38:55 UTC
Review of attachment 367930 [details] [review]:

Hi Sadiq, I've done the changes you asked for.
I agree, we should keep only one empty line between lines, I just overlook that when I did the first patch.
Thanks for checking that.
Comment 11 GNOME Infrastructure Team 2018-05-04 12:20:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-notes/issues/51.