Closed imanjra closed 4 months ago
The recent changes to the SchemaIO plugin primarily focus on refactoring and enhancing the grid layout functionality. Key updates include transitioning from Grid
to Box
for layout components, improving type annotations, and introducing new utility functions and type definitions. These modifications aim to streamline the codebase, enhance type safety, and improve layout flexibility based on orientation.
Files | Change Summary |
---|---|
app/packages/core/src/plugins/SchemaIO/components/GridView.tsx |
Refactored imports, updated type annotations, modified layout direction logic, and switched from Grid to Box for layout. |
app/packages/core/src/plugins/SchemaIO/utils/index.ts |
Added type annotations, updated function signatures, introduced new utility functions, and reorganized imports. |
app/packages/core/src/plugins/SchemaIO/utils/layout.ts |
Adjusted function parameters to be optional and improved handling of undefined values in destructuring assignments. |
app/packages/core/src/plugins/SchemaIO/utils/types.ts |
Introduced TypeScript type definitions for schema-related functionality. |
In the land of code, where schemas grow, A rabbit hops with a joyful glow. 🐇 From
Grid
toBox
, a change so neat, Type safety and layout, a coder's treat. With types defined and functions clear, The future of SchemaIO is here! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
What changes are proposed in this pull request?
How is this patch tested? If it is not, please explain why.
Improve layout flexibility and ease of use with GridView
Release Notes
Is this a user-facing change that should be mentioned in the release notes?
(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?
fiftyone
Python library changesSummary by CodeRabbit
Refactor
New Features
Documentation