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

NAS-131766 / 25.04 / Refactor dashboard and other modules to standalone #10854

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

undsoft
Copy link
Collaborator

@undsoft undsoft commented Oct 13, 2024

Testing:

Test affected places.

@undsoft undsoft requested a review from a team as a code owner October 13, 2024 15:37
@undsoft undsoft requested review from AlexKarpov98 and removed request for a team October 13, 2024 15:37
@bugclerk
Copy link
Contributor

@bugclerk bugclerk changed the title NAS-131766: Refactor dashboard and other modules to standalone NAS-131766 / 25.04 / Refactor dashboard and other modules to standalone Oct 13, 2024
Copy link

codecov bot commented Oct 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.90%. Comparing base (21d6958) to head (a834543).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10854      +/-   ##
==========================================
+ Coverage   81.78%   81.90%   +0.11%     
==========================================
  Files        1590     1592       +2     
  Lines       55168    55551     +383     
  Branches     5817     5817              
==========================================
+ Hits        45119    45498     +379     
- Misses      10049    10053       +4     

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

Copy link
Contributor

@AlexKarpov98 AlexKarpov98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! 👏

@@ -38,49 +38,6 @@ import { systemInfoPassiveWidget } from 'app/pages/dashboard/widgets/system/widg
import { systemImageWidget } from 'app/pages/dashboard/widgets/system/widget-system-image/widget-system-image.definition';
import { systemUptimeWidget } from 'app/pages/dashboard/widgets/system/widget-system-uptime/widget-system-uptime.definition';

export const widgetComponents = [
Copy link
Contributor

@AlexKarpov98 AlexKarpov98 Oct 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have README.md (src/app/pages/dashboard/widgets/README.md) with non working example: 👇

  1. Connect widget definition to widgetComponents and widgetRegistry.

@undsoft undsoft enabled auto-merge (squash) October 16, 2024 08:45
@undsoft undsoft merged commit 73e8d2b into master Oct 16, 2024
11 checks passed
@undsoft undsoft deleted the NAS-131766 branch October 16, 2024 09:04
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants