Skip to content
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

Icon inconsistencies #945

Closed
RuiNtD opened this issue Nov 10, 2017 · 16 comments
Closed

Icon inconsistencies #945

RuiNtD opened this issue Nov 10, 2017 · 16 comments

Comments

@RuiNtD
Copy link

RuiNtD commented Nov 10, 2017

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 RuiNtD changed the title Icon inconsistency Icon inconsistencies Nov 10, 2017
@Paarmita
Copy link

Paarmita commented Sep 21, 2018

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

@RuiNtD
Copy link
Author

RuiNtD commented Sep 21, 2018

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.

@Paarmita
Copy link

Paarmita commented Sep 21, 2018

@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.

@yatri1609
Copy link

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

@Paarmita
Copy link

@yatri1609 I was working on this. :)

@jonathanKingston
Copy link
Contributor

@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 :).

@Paarmita
Copy link

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

@jonathanKingston
Copy link
Contributor

@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.

@iillx
Copy link

iillx commented Oct 6, 2018

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

@groovecoder
Copy link
Member

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

@Paarmita
Copy link

Paarmita commented Oct 7, 2018

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

@nidhi-nigam
Copy link

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

@groovecoder
Copy link
Member

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

@sakshi97
Copy link

Hi. I would like to work on this issue.

@kendallcorner
Copy link
Collaborator

kendallcorner commented Jul 30, 2019

@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

@jonathanKingston
Copy link
Contributor

Thanks @kendallcorner I just approved the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants