Files
growstuff/app/views
google-labs-jules[bot] 323c7dc3ee Optimize Data Improvement Page (#4356)
* feat: Add data improvement page to crops controller

This commit introduces a new data improvement page to the crops controller. The page displays tabbed lists of crops with missing data, allowing users to easily identify areas for data quality improvement.

The following data quality categories are included:
- Crops without photos
- Crops without descriptions
- Crops without a youtube video
- Crops without alternate names
- Crops without a scientific name with a wikidata id
- Crops without row spacing
- Crops without sun requirements
- Crops without height

All lists are sorted by planting count in descending order.

* refactor: Optimize data improvement page to load tab data on demand

This commit refactors the data improvement page to load data for each tab on demand, rather than loading all queries at once. This improves the performance of the page by only executing the query for the currently active tab.

The controller action now uses a `case` statement based on a `tab` URL parameter to execute the appropriate query. The view has been updated to pass this parameter when a tab is clicked.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-12-01 19:41:28 +10:30
..
2025-08-24 21:10:16 +09:30
2019-05-24 01:24:29 +00:00
2019-09-28 17:23:25 +12:00
2024-03-10 11:49:22 +10:30
2025-09-07 07:59:51 +00:00
2025-11-30 03:41:15 +00:00
2025-09-07 05:20:35 +00:00
2025-09-07 05:14:18 +00:00
2019-07-23 09:38:30 +12:00
2024-02-04 15:08:18 +10:30
2025-08-24 21:10:16 +09:30
2025-11-30 03:41:15 +00:00
2025-08-24 21:10:16 +09:30
2025-11-30 03:41:15 +00:00