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

feat(mission): compute status and complete for stats (front) #500

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

xtiannyeto
Copy link
Collaborator

  • Service to get mission
  • hook to calculate status
  • hook to compute completeness for actions
  • add store's entries on timeline / general infos(completeness for stats)
  • add store's entries on mission (status/ isMissionFinished

 - Service to get mission
 - hook to calculate status
 - hook to compute completeness for actions
 - add store's entries on timeline / general infos(completeness for stats)
 - add store's entries on mission (status/ isMissionFinished
@xtiannyeto xtiannyeto linked an issue Jan 15, 2025 that may be closed by this pull request
Copy link

Coverage Report for frontend

Status Category Percentage Covered / Total
🟢 Lines 58.93% (🎯 40%) 2539 / 4308
🟢 Statements 58.01% (🎯 40%) 2642 / 4554
🟢 Functions 44.34% (🎯 40%) 612 / 1380
🟢 Branches 48.95% (🎯 40%) 1029 / 2102
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
frontend/src/v2/features/common/components/layout/mission-page-header-wrapper.tsx 42.85% 0% 0% 42.85% 32, 41-98
frontend/src/v2/features/common/hooks/use-mission-report-export.tsx 33.33% 0% 50% 33.33% 21-35
frontend/src/v2/features/common/hooks/use-mission-timeline.tsx 20% 0% 0% 20% 17-32
frontend/src/v2/features/common/hooks/use-mission-type.tsx 84.21% 0% 70% 86.66% 34, 37, 40
frontend/src/v2/features/common/hooks/use-mission.tsx 0% 0% 0% 0% 18-51
frontend/src/v2/features/common/services/use-mission.tsx 16.66% 0% 0% 25% 6-12
frontend/src/v2/features/common/types/mission-types.ts 100% 100% 100% 100%
frontend/src/v2/features/mission-action/components/elements/mission-action-header-action.tsx 11.11% 0% 0% 12.5% 18-44
frontend/src/v2/features/mission-action/components/elements/mission-action-item-control.tsx 20% 0% 0% 20% 13-19
frontend/src/v2/features/mission-control/components/elements/mission-control-env-form.tsx 14.28% 0% 0% 16.66% 26-48
frontend/src/v2/features/mission-timeline/components/layout/mission-timeline-wrapper.tsx 6.25% 0% 0% 7.69% 30-58
frontend/src/v2/features/mission-timeline/hooks/use-timeline-complete-for-stats.tsx 0% 0% 0% 0% 5-16
frontend/src/v2/features/mission-timeline/hooks/use-timeline.tsx 0% 0% 0% 0% 51-141
frontend/src/v2/features/pam/components/element/mission-action-pam.tsx 20% 0% 0% 25% 15-33
frontend/src/v2/features/pam/components/element/mission-list/mission-list-header-pam.tsx 100% 100% 100% 100%
frontend/src/v2/features/ulam/components/element/mission-action-item-ulam.tsx 8.33% 0% 0% 10% 17-33
frontend/src/v2/features/ulam/components/element/mission-action-ulam.tsx 20% 0% 0% 25% 15-33
frontend/src/v2/features/ulam/components/element/mission-general-information-initial-form.tsx 83.33% 66.66% 66.66% 83.33% 83
frontend/src/v2/features/ulam/components/element/mission-list/mission-list-header-ulam.tsx 100% 100% 100% 100%
frontend/src/v2/pages/mission-pam-page.tsx 7.14% 0% 0% 9.09% 22-59
frontend/src/v2/pages/mission-ulam-page.tsx 7.14% 0% 0% 9.09% 23-60
frontend/src/v2/store/index.ts 100% 100% 100% 100%
frontend/src/v2/store/slices/general-infos-complete-for-stats-reducer.ts 0% 100% 0% 0% 4-12
frontend/src/v2/store/slices/mission-reducer.ts 33.33% 100% 0% 33.33% 5-12
frontend/src/v2/store/slices/timeline-complete-for-stats-reducer.ts 33.33% 100% 0% 33.33% 5-12
Generated in workflow #1566 for commit cb48e4e by the Vitest Coverage Report Action

Copy link

Overall Project 49.62%

There is no coverage information present for the Files changed

@xtiannyeto xtiannyeto merged commit 479a3ae into main Jan 16, 2025
9 checks passed
@xtiannyeto xtiannyeto deleted the 499-front-completeforstats-and-status branch January 16, 2025 08:48
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.

Front completeForStats and status
2 participants