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

Display a message to the user when a fluctuation occurs #30

Merged
merged 2 commits into from
Apr 8, 2018

Conversation

LauraAubin
Copy link
Owner

@LauraAubin LauraAubin commented Apr 8, 2018

What does this do?

Part of #26

This makes it obvious to the user when the currently selected process has jumped or drastically decreased in CPU usage by an interval of 30%.

Option 1 for the design was to use the exact Polaris layout:

screen shot 2018-04-08 at 1 40 42 am

What I did initially:





What I changed for fun (cause who doesn't love expressing themselves with emojis):



How is this accomplished?

...An embarrassing collection of layered circles and text fields.

The container header is literally created with 2 em dashes with a large font size. That's how I made a rectangle that I could change the background colour of.

How I copied emojis/text icons: https://en.wikipedia.org/wiki/Check_mark


Instability logic:

Array: [41, 10]
If 10 < (41 - 30)

Array: [10, 41]
If 41 > (10 + 30)

@LauraAubin LauraAubin merged commit 43f460b into master Apr 8, 2018
@LauraAubin LauraAubin deleted the display-fluctuating-text-to-user branch April 8, 2018 06:05
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

Successfully merging this pull request may close these issues.

1 participant