-
Notifications
You must be signed in to change notification settings - Fork 38
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
feature/allow-data-stores-in-root-pg-file #1056
Conversation
…ating a data store w/ burnettk
WalkthroughWalkthroughThe recent updates focus on enhancing the functionality and user experience of the SpiffWorkflow platform. Changes include improvements to the data store upsert process, conditional creation of process groups, enhanced testing for reference cache service, and a user interface adjustment for tooltips. These modifications aim to streamline workflows, ensure robustness through testing, and improve UI responsiveness. Changes
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 2
Configuration used: .coderabbit.yaml
Files selected for processing (4)
- spiffworkflow-backend/src/spiffworkflow_backend/routes/data_store_controller.py (1 hunks)
- spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py (1 hunks)
- spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_reference_cache_service.py (2 hunks)
- spiffworkflow-frontend/src/components/SpiffTooltip.tsx (1 hunks)
Additional comments: 2
spiffworkflow-frontend/src/components/SpiffTooltip.tsx (1)
- 14-14: The addition of
enterDelay={500}
to theTooltip
component is a good enhancement for improving user experience by introducing a delay before the tooltip appears. This change is straightforward and integrates well with the existing component structure.spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py (1)
- 459-468: The addition of the
create_if_not_exists
parameter to theget_process_group
method is a well-implemented enhancement that supports the feature's core functionality by allowing conditional creation of a process group. This change is logically sound and maintains backward compatibility by defaulting toFalse
. It's recommended to review the usage of this parameter in other parts of the codebase to ensure it is used appropriately and does not introduce unintended side effects.
spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_reference_cache_service.py
Show resolved
Hide resolved
spiffworkflow-backend/src/spiffworkflow_backend/routes/data_store_controller.py
Show resolved
Hide resolved
@@ -11,7 +11,7 @@ interface OwnProps { | |||
|
|||
export default function SpiffTooltip({ title, children }: OwnProps) { | |||
return ( | |||
<Tooltip title={title} arrow> | |||
<Tooltip title={title} arrow enterDelay={500}> |
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.
unrelated, but just wanted to delay a bit longer than the default of 100 milliseconds before popping open the tooltips.
Implements #1038
This allows for the root of the process model repo to add a process group file if it does not already exist when adding a data store.
Summary by CodeRabbit
New Features
Refactor
Tests