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

Fix workflow title initial style #838

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Sep 17, 2024

🚀 This description was created by Ellipsis for commit b0f2076

fix: improve workflow title editing UI with tooltip and style adjustments

Summary:

Improves workflow title editing UI with tooltip and style adjustments in WorkflowHeader.tsx and EditableNodeTitle.tsx.

Key points:

  • UI/UX Enhancements: Added tooltip to EditableNodeTitle to indicate editability with message "Click to edit"; adjusted Input component styles in EditableNodeTitle.tsx to use w-min and p-0 for better layout control.
  • Style Adjustments: Removed max-w-96 from WorkflowHeader.tsx to allow flexible width; added flex-grow to parent div in WorkflowHeader.tsx for better layout distribution.

Generated with ❤️ by ellipsis.dev

…src/'

<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit df08b02fd657cd3e807efb78e5bf7e332e433447  |
|--------|--------|

fix: improve workflow title editing UI with tooltip and style adjustments

### Summary:
Improves workflow title editing UI with tooltip and style adjustments in `WorkflowHeader.tsx` and `EditableNodeTitle.tsx`.

**Key points**:
- **UI/UX Enhancements**: Added tooltip to `EditableNodeTitle` to indicate editability with message "Click to edit"; adjusted `Input` component styles to use `w-min` and `p-0` for better layout control.
- **Style Adjustments**: Removed `max-w-96` from `EditableNodeTitle` to allow flexible width; added `flex-grow` to parent `div` for better layout distribution.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Sep 17, 2024
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to b0f2076 in 6 seconds

More details
  • Looked at 98 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/nodes/components/EditableNodeTitle.tsx:44
  • Draft comment:
    The size={1} attribute in the Input component is unnecessary and can be removed for cleaner code.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The use of size={1} in the Input component is unnecessary and could be removed for cleaner code.

Workflow ID: wflow_a2o2h4TpCXK7ZjFA


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on b0f2076 in 10 seconds

More details
  • Looked at 98 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/nodes/components/EditableNodeTitle.tsx:44
  • Draft comment:
    The size={1} attribute is unnecessary here as the width is dynamically set. Consider removing it for clarity.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The use of size={1} in the Input component is unnecessary and could lead to confusion. The size attribute is typically used for setting the width of an input field in terms of characters, but here it seems redundant since the width is being dynamically set using JavaScript.

Workflow ID: wflow_nosPNiP3groFB66M


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@msalihaltun msalihaltun merged commit 9832838 into main Sep 17, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/fix-workflow-title-style branch September 17, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants