fiftyone icon indicating copy to clipboard operation
fiftyone copied to clipboard

fixes and enhancements for python panels and operators

Open imanjra opened this issue 7 months ago • 1 comments

What changes are proposed in this pull request?

  • Consolidate IconButtonView into IconButtonView for consistency
  • Add support for Icon + Label in ButtonView
  • Add more variant and tweak style of ButtonView to be consistent with other button in app
  • Add ForwardBackwardView for forward and backward navigation in panels
  • Add ability to containerize operator views in outlined or elevated block
  • Add overlay support for composite views
  • enhance views to support displaying in menu-friendly style (ButtonView, IconButtonView, TextFieldView, and DropdownView). More views to be supported as needed.

How is this patch tested? If it is not, please explain why.

(Details)

Release Notes

Is this a user-facing change that should be mentioned in the release notes?

  • [ ] No. You can skip the rest of this section.
  • [ ] Yes. Give a description of this change to be included in the release notes for FiftyOne users.

(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?

  • [ ] App: FiftyOne application changes
  • [ ] Build: Build and test infrastructure changes
  • [ ] Core: Core fiftyone Python library changes
  • [ ] Documentation: FiftyOne documentation changes
  • [ ] Other

Summary by CodeRabbit

  • New Features

    • Introduced a customizable Arrow component.
    • Added ContainerizedComponent for dynamic rendering, including PaperContainer and OutlinedContainer.
    • Introduced ForwardBackwardView component for schema navigation.
  • Improvements

    • Enhanced ButtonView, DropdownView, DynamicIO, FieldWrapper, and TextFieldView components with expanded props and refactored structure.
    • Updated GridView handling for better layout and styling.
  • Chores

    • Simplified configurations in LoadWorkspace, SaveWorkspace, and DeleteWorkspace classes.
    • Updated btn, menu, View, and GridView classes with new parameters.

imanjra avatar Jul 03 '24 22:07 imanjra