Git Product home page Git Product logo

Comments (10)

lmorchard avatar lmorchard commented on August 28, 2024

Tweaked the title on this - we have a metrics schema, we need to finish whatever tweaks are necessary

from firefoxcolor.

lmorchard avatar lmorchard commented on August 28, 2024

A thing that occurred to me - we have this ping in metrics.md:

ec: theme-change,
ea: select-full,
ev: {$id} // unique integer value id of the selected theme

That {$id} should probably change to a title or a filename of the theme JSON - or, at least, an integer manually chosen and kept in the JSON.

Currently, the "id" in the code is the index of the preset theme in the list. But, that will be unstable and change based on the ordering of those themes - which right now is just filename alpha sort.

from firefoxcolor.

apoorvasingh17 avatar apoorvasingh17 commented on August 28, 2024

I would like to work on this issue. Can someone give me pointers?

from firefoxcolor.

pdehaan avatar pdehaan commented on August 28, 2024

@apoorvasingh17 probably best to start on a “good first issue”; https://github.com/mozilla/Themer/labels/good%20first%20issue

from firefoxcolor.

lmorchard avatar lmorchard commented on August 28, 2024

Do we have any further changes to make here for mvp versus what is already in metrics.md? /cc @johngruen

from firefoxcolor.

johngruen avatar johngruen commented on August 28, 2024

@lmorchard will check this today

from firefoxcolor.

johngruen avatar johngruen commented on August 28, 2024

Making some notes here...

  • Doesn't look like the tab_line has a value. this makes sense since we added it later.
    Filed #258
  • in src/lib/metrics comments say we're passing hsla colors, but they're rgb(a), we should correct that Fixed in #259
  • Also wrt @lmorchard's comments above, we could pass in the title, but we would do it as the event label rather than the event value since the ev as to be a number.
    Fixed in #259

from firefoxcolor.

lmorchard avatar lmorchard commented on August 28, 2024

in src/lib/metrics comments say we're passing hsla colors, but they're rgb(a), we should correct that.

Would be easiest to change metrics.md than convert all the internal RGBA values to HSLA on every metric hit, unless there's a reason they absolutely have to be HSLA

from firefoxcolor.

johngruen avatar johngruen commented on August 28, 2024

@lmorchard yeah, i'll add that to the metrics docs PR

from firefoxcolor.

johngruen avatar johngruen commented on August 28, 2024

kk, fixed.

from firefoxcolor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.