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

Decay equation implementation #80

Closed
ariel-phet opened this issue May 16, 2023 · 15 comments
Closed

Decay equation implementation #80

ariel-phet opened this issue May 16, 2023 · 15 comments

Comments

@ariel-phet
Copy link
Contributor

Try some different mockups with the equation above the zoomed in chart.

@ariel-phet ariel-phet self-assigned this May 16, 2023
@ariel-phet
Copy link
Contributor Author

ariel-phet commented May 23, 2023

zoomed chart 1 zoomed chart 2 zoomed chart 3

@Luisav1
Copy link
Contributor

Luisav1 commented Jul 5, 2023

Will go with the first version for now.

@Luisav1
Copy link
Contributor

Luisav1 commented Jul 5, 2023

Design meeting 7/5:

  • What if there's no cell node, what's the DecayEquationNode representation?
    Leave the equation space, but make it blank.
    Keep the "Most likely decay" but hide the parenthetical percentage
  • What if the nuclide is stable? Should anything show?
    Swap out the equation for the word "Stable"
    Keep the "Most likely decay" but hide the parenthetical percentage
  • What if the decay percentage is null ("unknown")?
    we like a space after the unknown word
  • Unknown decay cases?
    two possibilities: 1. use the word "Unknown" like for "Stable" case. 2 Use "Unknown" only on the right ride of the equation.
    Will go with case 2 for now
  • mostLikelyDecay string font size should match legend

Design meeting 7/13:

  • Make the arrow and the plus sign black instead of blue.
  • Left align the decay equation with the left side of the zoomed in chart grid.

Design meeting 7/20:

  • Center align the decay equation on the zoomed in chart only when 'stable' is shown

@zepumph
Copy link
Member

zepumph commented Jul 5, 2023

First implementation of the decay equation for the zoomed in chart is above. Here is a screenshot of the NOT pixel polished prototype:

image

zepumph added a commit that referenced this issue Jul 7, 2023
@zepumph
Copy link
Member

zepumph commented Jul 7, 2023

From a design meeting today:

  • Let's use a different class from SymbolNode so that the numbers are bigger and closer together.
  • Decay button should be bigger.

@zepumph zepumph changed the title Decay equation layout for partial nuclide chart Decay equation implementation Jul 7, 2023
@zepumph
Copy link
Member

zepumph commented Jul 7, 2023

@Luisav1 and I worked on some of the items from our discussion with @ariel-phet today, but not everything. @Luisav1 will take the lead from here.

@zepumph
Copy link
Member

zepumph commented Jul 13, 2023

Current look, we still have a few more items to go,
image

Luisav1 added a commit that referenced this issue Jul 20, 2023
Luisav1 added a commit that referenced this issue Jul 20, 2023
Luisav1 added a commit that referenced this issue Jul 24, 2023
…name all text nodes to end in _Text instead of _String. See #80.
Luisav1 added a commit that referenced this issue Jul 25, 2023
@zepumph
Copy link
Member

zepumph commented Jul 27, 2023

  • From design meeting today. We need to remove the title arrow, and make the equation arrow match the white one used in the chart view.

@zepumph zepumph assigned zepumph and unassigned Luisav1 Jul 27, 2023
@zepumph
Copy link
Member

zepumph commented Jul 27, 2023

  • Center the "Stable" text over the zoomed in chart

@zepumph
Copy link
Member

zepumph commented Jul 27, 2023

The chart arrow is variable length depending on where in the chart the decay will take you, so I tried to pick a length that felt good compared to all possibilities:

image
image

@zepumph
Copy link
Member

zepumph commented Jul 27, 2023

Ok I think we are good to go here.

  • @Luisav1 will you give me a spot check about how the stable text is being positioned via a parameter now?
  • @ariel-phet how do you feel about the arrow look now?

@ariel-phet
Copy link
Contributor Author

@zepumph I think the arrow looks great!

@ariel-phet ariel-phet assigned zepumph and unassigned ariel-phet Jul 30, 2023
@zepumph
Copy link
Member

zepumph commented Jul 31, 2023

Excellent thanks. @Luisav1 feel free to close after spot check.

@zepumph zepumph removed their assignment Jul 31, 2023
@Luisav1
Copy link
Contributor

Luisav1 commented Aug 1, 2023

Thanks @zepumph, it's all looking good to me. Closing.

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

No branches or pull requests

3 participants