Skip to content
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

Merged
merged 28 commits into from
Nov 12, 2024
Merged

Conversation

seancolsen
Copy link
Contributor

@seancolsen seancolsen commented Oct 25, 2024

⚠️ Do not merge until #3997 is merged.

Fixes: #3890

Demo

2024-10-31_15-49-20.mp4

Checklist

  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the develop branch of the repository
  • My commit messages follow best practices.
  • My code follows the established code style of the repository.
  • I added tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@seancolsen seancolsen added this to the v0.2.0 (beta release) milestone Oct 25, 2024
Base automatically changed from record_summaries to develop October 28, 2024 07:24
@seancolsen seancolsen changed the base branch from develop to persist_inspector_section_visibility October 30, 2024 18:37
@seancolsen seancolsen marked this pull request as ready for review October 31, 2024 20:07
@seancolsen
Copy link
Contributor Author

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.

Copy link
Contributor

@ghislaineguerin ghislaineguerin left a 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.

@seancolsen seancolsen assigned pavish and unassigned ghislaineguerin Nov 12, 2024
@seancolsen
Copy link
Contributor Author

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.

Base automatically changed from persist_inspector_section_visibility to develop November 12, 2024 15:12
Comment on lines +485 to +494
// 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',
}
Copy link
Member

@pavish pavish Nov 12, 2024

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.

Copy link
Member

@pavish pavish left a 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.

@pavish pavish added this pull request to the merge queue Nov 12, 2024
Merged via the queue into develop with commit 20b9906 Nov 12, 2024
47 checks passed
@pavish pavish deleted the record_summaries_ui branch November 12, 2024 18:42
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