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

Add new user metrics to Home page #15950

Merged
merged 27 commits into from
Dec 11, 2020
Merged

Conversation

Josmorsot
Copy link
Contributor

@Josmorsot Josmorsot commented Nov 24, 2020

Task Feature/ch121627 (project dashboard metrics)

  • First version for memory usage widget
  • First version for map loads
  • Use correct properties to show metrics
  • Remove mocked data
  • Add correct "help links" and tooltip

image

How to check

Login using juanra-do-org-admin, this user has subscriptions to DO so you'll check that appears Your plan and addons. Subscribing a public data the remaing quota for your plan should change. Subscribing a premium dataset addons size must change (It shouldn't modify remaining quota for your plan)

Login using metrics-empty-user, this user is a new one so you chan check how appears in an empty user. If you import some CSV datasets should be updated. As it user doesn't have subscriptions, both sections should be hidden. If you mark FF map_loads_metric_disabled Map loads is not visible.

⚠️ Map loads still being hardcoded on the backend side, so always appears 123 used.

@Josmorsot Josmorsot force-pushed the feature/ch121627/add-metrics-i-memory branch 2 times, most recently from f0f625a to 9c99f7f Compare December 1, 2020 12:30
:availableQuota="getAmountInUnit(availableQuota)"
:unit="getUnit(availableQuota)"
:formatToLocale="false"
helpText="TODO"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this TODO should be replaced properly!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, @borja-munoz I need text and links for each one

@Josmorsot Josmorsot force-pushed the feature/ch121627/add-metrics-i-memory branch from 5d1b76b to f0bdad2 Compare December 1, 2020 16:34
@VictorVelarde VictorVelarde changed the title Feature/ch121627/add metrics i memory Add new user metrics to Home page Dec 1, 2020
Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just small details, most of them already tackled by you.
Don't forget to drop a line into NEWS (the changelog) to pass the checks.

Please also add the acceptance description in a note inside the header of this PR, so we can test at staging cloud. Once that acceptance is ready to be passed, ping me and also @borja-munoz. Thx!

@Josmorsot
Copy link
Contributor Author

@VictorVelarde @borja-munoz I've added info for acceptance test.

@Josmorsot Josmorsot force-pushed the feature/ch121627/add-metrics-i-memory branch from a32f3e1 to 06f7c09 Compare December 2, 2020 10:41
Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last changes at FE LGTM @Josmorsot. Not sure if anything else is required on the backend side before merging. @thedae

@Josmorsot Josmorsot force-pushed the feature/ch121627/add-metrics-i-memory branch from 870fd08 to 55ef3fb Compare December 11, 2020 13:45
@Josmorsot Josmorsot merged commit 3e9b173 into master Dec 11, 2020
@Josmorsot Josmorsot deleted the feature/ch121627/add-metrics-i-memory branch December 11, 2020 16:41
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.

3 participants