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

Feature/pgov 487 order metrics by date #57

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

vauxia
Copy link
Collaborator

@vauxia vauxia commented Jan 29, 2025

This is a first step towards getting the indicator/measurement data in a usable format by ensuring that the values are ordered sequentially.

I had originally intended to effect this on the migration, but using an entity_load removes that burden and will make this self-healing.

Testing:

  • Edit a populated Objective. On the 'Performance indicators' tab, compare the list of Measurements applied to that indicator. The measurement values should be ordered by date.

Compare: https://pgov-cms.app.cloud.gov/node/2146/edit?destination=/admin/content

Editing a performance indicator on the live site:
image

Editing the same after enabling the module, on this branch:
image

vauxia added 19 commits January 21, 2025 16:45
… View, as they are complex, underused and D11 incompatible
…_date' into feature/PGOV-487-Order_metrics_by_date

# Conflicts:
#	web/modules/custom/pgov_indicator/pgov_indicator.module
@vauxia vauxia requested review from dgading and acabouet January 29, 2025 17:39
@vauxia
Copy link
Collaborator Author

vauxia commented Jan 30, 2025

@acabouet This is a low-impact change (sits on an entity_load and doesn't directly change data)

It's also a prerequisite to adding the json array of measurements to Indicators, as we'll use the module that's getting set up here.

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.

2 participants