multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Icon inconsistencies

Open RuinTD opened this issue 9 years ago • 16 comments

The icons in the popup and in Options (in Firefox 57) are inconsistent in both appearance and order: Popup Options

Notable inconsistencies:

  1. The circle icon is positioned at the end in the popup.
  2. The positions of the gift and vacation icons are switched.
  3. The cart icon is more "solid" in the popup and has more detail in Options.
  4. The dollar icon is contained within a circle in the popup.
  5. The briefcase icon is more "solid" in Options and has more detail in the popup.
  6. Small detail, but still an inconsistency: In the popup, the Color options are shown before the Icon options, while Options shows Icon first.

RuinTD avatar Nov 10 '17 05:11 RuinTD

@FayneAldan Can I work on this issue? And where can I find the Add new container window? I'm using Firefox version 62.0

Paarmita avatar Sep 21 '18 04:09 Paarmita

Make sure you have the extension installed. The first menu is when you click the extension icon and the second menu can be found in Firefox's settings in General.

RuinTD avatar Sep 21 '18 13:09 RuinTD

@FayneAldan @jonathanKingston Can u plz help me find the file for the menu window in Firefox's settings. I got the file for the popup window.

Paarmita avatar Sep 21 '18 15:09 Paarmita

@FayneAldan @jonathanKingston @groovecoder Can I work on this issue? And can anyone of you guide me through this?

yatri1609 avatar Sep 23 '18 13:09 yatri1609

@yatri1609 I was working on this. :)

Paarmita avatar Sep 23 '18 13:09 Paarmita

@Paarmita https://searchfox.org/ is a good code searching tool for Firefox.

Finding the code in Firefox

Sometimes searching for the string like the name in the modal is actually the simplest way to find the code: "Add new Container" search result returns two results, one is the button that opens the modal and another is the modal. The code being a ftl translation file:

containers-window-new =
    .title = Add New Container

"containers-window-new" search result returns one more result which is the code that uses the translation:

function setTitle() {
  let params = window.arguments[0] || {};

  let winElem = document.documentElement;
  if (params.userContextId) {
    document.l10n.setAttributes(winElem, "containers-window-update", {
      name: params.identity.name,
    });
  } else {
    document.l10n.setAttributes(winElem, "containers-window-new");
  }
}

Looking through this code in the rest of the file you can see it's responsible for opening up the modal and generating these icons.

The issues

These are all issues within the Firefox codebase and can be changed and tested within a 'artefact build' and shouldn't require a compile of Firefox. Follow the instructions to setup your machine: Mac Windows Linux

  • After you get the bootstrap.py select artefact build and the script will setup your environment with mercurial and download the code too (you will be prompted at the end, if not follow the rest of the guide).

  • Some of the icons being wrong is actually the icons that were in the initial set in Firefox were never updated (the briefcase, cart, dollar)

  • The ordering of the modal in the extension came second to the modal within Firefox.

  • Likely there will need to be some optimisations to the icons to be placed into the Mozilla codebase.

The work however will need to be moved and logged in http://bugzilla.mozilla.org/ rather than Github. You can mark me as a review when you are done. Please feel to reach out to me with any questions you might have :).

jonathanKingston avatar Sep 27 '18 23:09 jonathanKingston

@jonathanKingston Can u please provide what is the communication platform of this project, I tried #containers in irc but there was no response.

Paarmita avatar Sep 28 '18 04:09 Paarmita

@Paarmita irc is correct for now certainly (sorry I have been a little busy lately) please mention my irc handle (jkt) when messaging. Feel free to email Luke and I directly though instead.

jonathanKingston avatar Oct 02 '18 19:10 jonathanKingston

Can I work on this one or someone is already doin it? @jonathanKingston @groovecoder

iillx avatar Oct 06 '18 15:10 iillx

@iillx I think @Paarmita is already working on this.

groovecoder avatar Oct 07 '18 13:10 groovecoder

@iillx You can take this up 👍 As I am busy with my university exams So won't be able to work on the issues. :)

Paarmita avatar Oct 07 '18 17:10 Paarmita

@groovecoder Can I take up this issue as my first issue for outreachy?

nidhi-nigam avatar Oct 12 '18 06:10 nidhi-nigam

@iillx - are you already working on this? Or can @nidhi-nigam work on it?

groovecoder avatar Oct 16 '18 20:10 groovecoder

Hi. I would like to work on this issue.

sakshi97 avatar Jan 15 '19 09:01 sakshi97

@jonathanKingston I have fixed this. I have submitted a bug to bugzilla here https://bugzilla.mozilla.org/show_bug.cgi?id=1570005

I'm working on next steps to get this submitted for review.

Screenshot from 2019-07-29 14-57-58

kendallwerts avatar Jul 30 '19 15:07 kendallwerts

Thanks @kendallcorner I just approved the change.

jonathanKingston avatar Jul 31 '19 09:07 jonathanKingston