Closed brimoor closed 15 hours ago
The changes in this pull request involve updates to the OperatorExecutionOption
type and the useOperatorPromptSubmitOptions
function in state.ts
, allowing for more flexible description types and making the onClick
method optional. Documentation has been enhanced to include a new environment variable, FIFTYONE_ALLOW_LEGACY_ORCHESTRATORS
, and a configuration field, allow_legacy_orchestrators
, for managing legacy orchestrators. Additionally, the ExecutionOptions
class now dynamically determines orchestrator registration based on the new configuration. Minor UI improvements were made to the SplitButton
component.
File | Change Summary |
---|---|
app/packages/operators/src/state.ts | Updated OperatorExecutionOption type: description accepts string | React.ReactNode , onClick is optional. Updated "Schedule" description. Imported new Markdown component for warning message. Fixed typo in variable name. |
docs/source/plugins/using_plugins.rst | Added section on FIFTYONE_ALLOW_LEGACY_ORCHESTRATORS for managing legacy orchestrators. Enhanced plugin management instructions. |
docs/source/user_guide/config.rst | Added allow_legacy_orchestrators configuration field (default False ). Updated configuration viewing instructions and examples. |
fiftyone/core/config.py | Added allow_legacy_orchestrators attribute to FiftyOneConfig , initialized from input dictionary. |
fiftyone/operators/executor.py | Updated orchestrator_registration_enabled property to return dynamic value based on allow_legacy_orchestrators . |
app/packages/operators/src/SplitButton.tsx | Added sx prop to MenuItem for conditional cursor styling based on option.onClick . Updated PrimaryWithTag function to include disabled parameter. |
docs/source/plugins/developing_plugins.rst | Enhanced clarity and comprehensiveness of the plugin development guide. Added new examples and sections. |
OperatorExecutionOption
type and the useOperatorPromptSubmitOptions
function may relate to the DashboardView
component, which involves managing dynamic layouts and user interactions, potentially utilizing similar execution options.documentation
🐰 In the code, we hop and play,
With options new, we pave the way.
Legacy orchestrators now take flight,
In FiftyOne's realm, all feels just right!
With buttons split and styles so neat,
Our changes make the app a treat! 🥕
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?
Summary by CodeRabbit
Release Notes
New Features
Documentation
User Interface Improvements