User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: faa756a5-f71f-469d-a330-995cfdce9bb8
Description
What happened:
In web/src/components/dashboard/Dashboard.tsx:265, the auto-refresh interval is hardcoded:
Per the project's no-magic-numbers rule, this should be a named constant like AUTO_REFRESH_INTERVAL_MS = 30_000.
What I expected:
The interval value should be extracted to a named constant for clarity and to match project conventions.
Steps to reproduce:
- Review
web/src/components/dashboard/Dashboard.tsx:265
- Observe
30000 used directly with no named constant
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: faa756a5-f71f-469d-a330-995cfdce9bb8
Description
What happened:
In
web/src/components/dashboard/Dashboard.tsx:265, the auto-refresh interval is hardcoded:Per the project's no-magic-numbers rule, this should be a named constant like
AUTO_REFRESH_INTERVAL_MS = 30_000.What I expected:
The interval value should be extracted to a named constant for clarity and to match project conventions.
Steps to reproduce:
web/src/components/dashboard/Dashboard.tsx:26530000used directly with no named constantThis issue was automatically created from the KubeStellar Console.