Skip to content

Collections, Checklist, and Remove Projects#1544

Draft
LouisThedroux wants to merge 122 commits into
devfrom
collections
Draft

Collections, Checklist, and Remove Projects#1544
LouisThedroux wants to merge 122 commits into
devfrom
collections

Conversation

@LouisThedroux
Copy link
Copy Markdown
Contributor

@LouisThedroux LouisThedroux commented Apr 17, 2025

Links to Jira Tickets

  • NA

Description of Changes

  • Adds a new data model and backend migration for survey collections; removes legacy grouping tables.
  • Implements hierarchical survey checklist with backend and frontend progress tracking.
  • Refactors survey page to use tab/checklist-based navigation for improved usability.
  • Introduces telemetry breakdowns (devices, deployments, locations) and new checklist items.
  • Integrates markdown-based guides into the survey checklist sidebar.
  • Cleans up codebase: moves/renames components, removes obsolete code, and improves UI (tooltips, overlays, progress bars).
  • Deletes legacy project/grouping code and updates documentation/migrations.

Testing Notes

  • Run migration scripts for new collections tables and to drop legacy grouping tables.
  • Verify new checklist and survey page navigation, telemetry breakdown, and markdown guide integration.
  • Confirm all references to legacy grouping/project code have been removed.
  • Review API and environment/documentation updates for checklist features.

@LouisThedroux LouisThedroux added Do Not Merge PR should not be merged Early Feedback Welcome PR is not finished, but early review feedback is welcomed labels Apr 17, 2025
@LouisThedroux LouisThedroux self-assigned this Apr 17, 2025
@github-actions
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.12%. Comparing base (7fb1061) to head (becce9d).

Additional details and impacted files
@@             Coverage Diff             @@
##              dev    #1544       +/-   ##
===========================================
- Coverage   47.57%   33.12%   -14.46%     
===========================================
  Files         926     1030      +104     
  Lines       24182    64834    +40652     
  Branches     3609     2355     -1254     
===========================================
+ Hits        11505    21474     +9969     
- Misses      12043    42824    +30781     
+ Partials      634      536       -98     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mauberti-bc mauberti-bc added Feature branch A branch used for staging, which will later be merged into main. and removed Do Not Merge PR should not be merged Early Feedback Welcome PR is not finished, but early review feedback is welcomed labels Apr 22, 2025
@mauberti-bc mauberti-bc changed the title Collections - Backend, API and Frontend Survey Collections Apr 22, 2025
mauberti-bc and others added 11 commits June 19, 2025 11:52
* added migration edits into this branch to prevent merge issues

* fix: ensure DataGrid pagination sticks to bottom of container

* edited no data overlay or collection and subcollection container

* fix pagination footer for subcollections

* added box componnet and 60vh height for members no data overlay

* Fixed no data overlay sizing and wording

* fixed no overlay sizing and wording for animals, deployments, telelmetry, habitat features

* fixed overview width glitch

* first pass

* Macgregor notes

* first pass at comments

* edited API schema to take participants rather than members

* added delete function for subcollections

* added delete function to collections

* strange error with the catch error issue that I dont understand, weird fix

* misc

* wip

* simplify delete collection logic & update tests

* add breadcrumbs to edit collection page

* change participants to members

* misc tweaks

* expand survey page progress button

* survey page layout changes

* remove survey header tabs

* survey page sidebar tweaks

* broken subcollection chevrons

* collections popover

* misc tweaks

* fix collections query

* fix find subcollections & fronteond accordion

* update toggle buttons

* fix deleting collections

* fix forbidden page on collection data tab

* fix creating surveys

* fix editing survey with collections

* fix applicable checkbox

---------

Co-authored-by: Andrew Thompson <andrew.thompson@gov.bc.ca>
@mauberti-bc mauberti-bc marked this pull request as ready for review July 8, 2025 16:54
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
12.7% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@dylanrogowsky-oxd dylanrogowsky-oxd force-pushed the dev branch 4 times, most recently from 9d98b27 to ca95d07 Compare September 18, 2025 22:10
@dylanrogowsky-oxd dylanrogowsky-oxd marked this pull request as draft February 4, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature branch A branch used for staging, which will later be merged into main.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants