Skip to content

Conversation

@b-yogesh
Copy link
Collaborator

@b-yogesh b-yogesh commented Nov 22, 2024

This PR fixes the previous PR #37 which had build errors and was then reverted.
What has changed since that PR is

  • Removed source exports
  • Modified the signals const that creates the map of listeners and their names.
  • Version bumped to 0.0.29 for both frontend and backend

Comment on lines 57 to 78
const signals: { [key: string]: string } = useMemo(() => {
if (!chart) return {};
if (!chart.params) return {};
return chart.params
.filter(
(param): param is { name: string; select: { on: string } } =>
isObject(param) &&
param !== null &&
"name" in param &&
"select" in param &&
isObject(param.select) &&
param.select?.on != null &&
isString(param.select.on),
)
.reduce(
(acc, param) => {
acc[param.select.on] = param.name;
return acc;
},
{} as { [key: string]: string },
);
}, [chart]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the part that was changed

@b-yogesh b-yogesh marked this pull request as ready for review November 22, 2024 14:52
@b-yogesh b-yogesh requested a review from forman November 22, 2024 14:52
@b-yogesh b-yogesh self-assigned this Nov 22, 2024
Copy link
Member

@forman forman left a comment

Choose a reason for hiding this comment

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

Also update CHANGES.md and increase version numbers

@b-yogesh b-yogesh requested a review from forman November 26, 2024 16:14
@b-yogesh b-yogesh merged commit bee9bdd into main Nov 26, 2024
1 check passed
@b-yogesh b-yogesh deleted the yogesh-xxx-fix-vega-warnings2 branch November 26, 2024 16:19
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.

3 participants