mirror of
https://github.com/SigNoz/signoz.git
synced 2026-09-19 01:40:41 +01:00
Some checks failed
build-staging / prepare (push) Has been cancelled
build-staging / js-build (push) Has been cancelled
build-staging / go-build (push) Has been cancelled
build-staging / staging (push) Has been cancelled
cacheci / tests (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
The V1 variable engine had no writers left: nothing wrote selectedValue, so getDashboardVariables produced undefined values, variableFetchStore was never updated, and the dependency graph and derived store fields only fed that store. The shared store's one remaining job is publishing the open dashboard's dynamic variables for query-builder autocomplete, which needs a name and an attribute. Replace it with a suggestion feed and delete the rest, including the panel variables prop that no GridCard caller passed and useResolveQuery's dashboardData option that no caller supplied. useGetResolvedText loses its only variable source and becomes the title truncation its callers already used it for. <!--A few plain bullets saying what changed and why, for a reviewer skimming it - not a wall of text, not a restatement of the diff, not generated boilerplate.--> #### Description <!--Reference issues using `Closes #issue-number` to enable automatic closure on merge. --> #### Issues closed by this PR Closes https://github.com/SigNoz/pulse-pod/issues/326 <!--If applicable, include screenshots or screen recordings that clearly show the behavior before the change and the result after the change. --> #### Screenshots / Screen Recordings <!--Anything reviewers should keep in mind while reviewing --> #### Additional Information <!--Please delete paragraphs that you did not use before submitting.-->