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 755780 - Use stars instead of hearts for favorite places.
Use stars instead of hearts for favorite places.
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-29 10:13 UTC by Jonas Danielsson
Modified: 2015-11-01 09:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Using stars instead of hearts for favorite places (4.70 KB, patch)
2015-10-30 09:15 UTC, amisha
none Details | Review
Using stars instead of hearts for favorite places (4.69 KB, patch)
2015-10-30 11:20 UTC, amisha
committed Details | Review

Description Jonas Danielsson 2015-09-29 10:13:23 UTC
Stars are used more in GNOME.
Comment 1 Jonas Danielsson 2015-09-29 10:13:45 UTC
I would be willing to mentor anyone interested in fixing this.
Comment 3 Anuj 2015-10-06 15:29:23 UTC
Hi Jonas,

I would love to help out on the issue. But, I am a complete beginner to GNOME (never touched codebase). Would that be ok?
Comment 4 Jonas Danielsson 2015-10-06 16:56:54 UTC
(In reply to Anuj from comment #3)
> Hi Jonas,
> 

Hi Anuj!

> I would love to help out on the issue. But, I am a complete beginner to
> GNOME (never touched codebase). Would that be ok?

That sounds awesome! Let me know what kind of help you want!
You can ask here or on IRC at #gnome-maps (GIMPnet) or using our mailing list!
That is on maps-list@gnome.org!

Have you seen the Newcomers guide?
https://wiki.gnome.org/action/show/Newcomers

Welcome to Maps!
Comment 5 amisha 2015-10-30 09:15:44 UTC
Created attachment 314442 [details] [review]
Using stars instead of hearts for favorite places
Comment 6 amisha 2015-10-30 09:38:24 UTC
Screenshot:
Favorite image https://imgur.com/azTIA8x
Non-favorite image https://imgur.com/ypiqpxT
Comment 7 Jonas Danielsson 2015-10-30 10:59:58 UTC
Review of attachment 314442 [details] [review]:

Thanks looks great!

Small small nitpick: Please use the present form in commit message.
So "Use stars instead..." and not "Used stars instead..."

I would like to hear designers view on this as well. So the button still get de-pressed, or toggled on click, but now we also switch between the non-starred and starred icon.

A question: Should the icon in the header-bar be non-starred when there are no favorite places?

::: src/mapBubble.js
@@ +116,3 @@
         button.active = isFavorite;
+
+        if(button.active)

Should be a space after if here.
Comment 8 Jonas Danielsson 2015-10-30 11:01:39 UTC
Review of attachment 314442 [details] [review]:

Also I noticed there were som white-space damage as well, on line 122. I noticied this by going:

$ git diff HEAD~1 --check
src/mapBubble.js:122: trailing whitespace.

Get in to the habit of checking this on your own!
Thanks!
Comment 9 amisha 2015-10-30 11:20:59 UTC
Created attachment 314452 [details] [review]
Using stars instead of hearts for favorite places
Comment 10 Jonas Danielsson 2015-10-30 11:23:34 UTC
Review of attachment 314452 [details] [review]:

Thanks looks fine!
Comment 11 Andreas Nilsson 2015-10-30 11:34:43 UTC
I'm on the road and don't have my machine with jhbuild with me right now, but I'll take a look during the weekend.