-
Notifications
You must be signed in to change notification settings - Fork 140
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
feat: add computation field #280
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
f014de3
to
835e799
Compare
Risk Level 2 - /home/runner/work/graphic-walker/graphic-walker/packages/graphic-walker/src/lib/vega.ts The code seems to be well written and follows the SOLID principles. However, there are a few areas that could be improved for better readability and maintainability:
Here's an example of how you could implement these suggestions: const guardResult = guard(rowsRaw);
const rows = guardResult.filter((x) => x !== NULL_FIELD);
Risk Level 2 - /home/runner/work/graphic-walker/graphic-walker/packages/graphic-walker/src/fields/datasetFields/utils.ts The code changes seem to be adding new functionality and modifying existing ones. There are no apparent bugs or performance issues. However, the readability of the code could be improved. The function Risk Level 3 - /home/runner/work/graphic-walker/graphic-walker/packages/graphic-walker/src/lib/execExp.ts The code is generally well written, but there are a few areas that could be improved:
📚🔧🔍 Powered by Code Review GPT |
ee8ed0a
to
693420e
Compare
21eb833
to
75c3e44
Compare
75c3e44
to
13b57b9
Compare
13b57b9
to
e301803
Compare
Make user able to add a computed field with sql.
need to use with a computation service that use sql.
usage:
<GraphicWalker {...props} experimentalFeatures={{computedField: true}} />
more info:
https://github.com/Kanaries/graphic-walker/wiki/How-to-Create-Computed-field-in-Graphic-Walker
more features:

aggergated fields will show gray and be disabled when "Aggergation" is off.
you can filter at non-aggergation computed fields.
in the data board, you can check the value of any row with your non-aggergation computed fields.