-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
Frontend support for configurable record summaries #3987
Conversation
dc4eb8e
to
77dfb27
Compare
We actually only need this in ONE place: `identifyAbstractTypeForDbType`. Now that it's a static value we can stop passing it around and importing it all over the codebase!
77dfb27
to
56e5a7c
Compare
Ok this is working pretty well now, and I'd like to start review. @ghislaineguerin I've assigned you because I'd like you to be the first to review. I want to make sure we're agreed on the UX before moving on to any code-level review. Watch the demo video or play around with it locally. I'm happy to hop on a call to chat more if you like. Once you feel good about it, then I'll open it up to Pavish for code review. @kgodey I you might like to watch the demo video too in case you have any critique of the new UX here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seancolsen Based on the video this looks great. I think the proposed UX works.
Thanks @ghislaineguerin. @pavish I'd like you to review this now. Keep in mind it's stacked on #3997 which you're also assigned to review. |
// TODO_BETA: Ask Pavish. | ||
// | ||
// `Column['type_options']` was previously typed loosely | ||
// as `Record<string, unknown> | null`. Now it's more | ||
// strict and it doesn't have a `type` property. | ||
// | ||
// type: | ||
// updatedColumnsMetaData.get(aggregation.inputAlias) | ||
// ?.column.type ?? 'unknown', | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seancolsen We discussed this on a 1:1 before. I think we missed making the code change.
type
here is now changed to item_type
. This applies for _array
types which require the type of items they hold.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seancolsen This looks great! Nice work!
I haven't reviewed the code in detail, I mostly scanned for lines that stood out and they all seem fine.
Fixes: #3890
Demo
2024-10-31_15-49-20.mp4
Checklist
Update index.md
).develop
branch of the repositoryDeveloper Certificate of Origin
Developer Certificate of Origin