devloperdevesh / devloperdevesh/FaultPlane

[Refactor] Purge Hardcoded Static Assets and Implement Clean State Initializers

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core-backend enhancement frontend-ui good first issue
Dominant language
Go
Stars
2
Forks
1
Avg merge
14m
Merged PRs (30d)
57

Description

Problem

Multiple frontend workspace layouts and charts contain legacy placeholder strings and hardcoded baseline metric variables which clutter real-world profiling tests during live integration cycles [1.1].


Proposed Solution

Perform a thorough cleanup pass across the codebase infrastructure:

  1. Purge Static Variables: Search and refactor hardcoded matrix blocks out of /ui/components/ files.
  2. Implement Safe Null-State Fallbacks: Create unified state initializers that cleanly display loading spinners or empty state vectors (e.g., 0 Checkpoints Saved) until the backend Go API initializes successfully.

Use Case

Cleans up the visual footprint and ensures that enterprise purchasers or reviewers see an accurate representation of operational cluster states during profiling tests.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by searching the /ui/components/ files for hardcoded matrix blocks, legacy placeholder strings, and baseline metric variables. Review how the frontend receives initialization from the backend Go API. Done means static values are removed and layouts and charts show loading or empty-state values until the API initializes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.