yeatmanlab / roar-dashboard

A dashboard to administer ROAR assessments
https://roar.education
Other
4 stars 4 forks source link

Migrate List Users page to composable TanStack queries #775

Closed maximilianoertel closed 1 month ago

maximilianoertel commented 1 month ago

Proposed changes

This PR migrates the List Users page to use new composable TanStack queries.

Types of changes

Checklist

Justification of missing checklist items

n/a

Further comments

n/a

Ref https://github.com/yeatmanlab/roar/issues/318

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 1.41% 107 / 7543
🔵 Statements 1.36% 113 / 8298
🔵 Functions 1.2% 22 / 1830
🔵 Branches 0.7% 32 / 4513
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/components/ListUsers.vue 0% 0% 0% 0% 139, 141-143, 145-146, 148, 167-169, 171-227, 229-230, 235, 237-241, 238-240, 243, 245-260, 246, 246-247, 249-259, 252-254, 257-258, 262-265, 263-264, 267-273, 268-271, 268-272, 278-280, 280-296, 299-315, 301-314, 305-310, 313, 319-322, 320, 320-321, 324-326, 325, 325, 328-331, 329, 329-330, 2-3, 1, 5-6, 11-13, 16, 20-22, 28, 58, 65, 74, 38-39, 47, 109, 53, 1-59, 1-67, 78
src/composables/queries/useOrgUsersQuery.js 100% 100% 100% 100%
src/constants/queryKeys.js 100% 100% 100% 100%
Generated in workflow #251
github-actions[bot] commented 1 month ago

Visit the preview URL for this PR (updated for commit 5294ff2):

https://roar-staging--pr775-ref-318-query-compos-4efn4lz0.web.app

(expires Mon, 16 Sep 2024 22:25:43 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460

cypress[bot] commented 1 month ago

roar-dashboard-e2e    Run #6029

Run Properties:  status check passed Passed #6029  •  git commit 5294ff224b: E2E Tests for PR 775 "Migrate List Users page to composable TanStack queries" fr...
Project roar-dashboard-e2e
Branch Review ref/318/query-composables-list-users
Run status status check passed Passed #6029
Run duration 05m 11s
Commit git commit 5294ff224b: E2E Tests for PR 775 "Migrate List Users page to composable TanStack queries" fr...
Committer Maximilian Oertel
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 32
View all changes introduced in this branch ↗︎