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

Make timeline background full height even when empty #1720

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Feb 4, 2025

Important

Modify ScrollAreaViewport class in WorkflowRunTimeline.tsx for full height background when empty.

  • UI Change:
    • Modify ScrollAreaViewport class in WorkflowRunTimeline.tsx to h-[37rem] max-h-[37rem] to ensure full height background even when empty.

This description was created by Ellipsis for 0441eed. It will automatically update as commits are pushed.

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Ensure `WorkflowRunTimeline` maintains full height by setting `h-[37rem]` in `ScrollAreaViewport` class.
>
>   - **Behavior**:
>     - Modify `ScrollAreaViewport` class in `WorkflowRunTimeline.tsx` to set `h-[37rem]` alongside `max-h-[37rem]` to ensure full height even when empty.
>   - **Files Affected**:
>     - `WorkflowRunTimeline.tsx` in `eval/routes/workflows/` and `src/routes/workflows/workflowRun/`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for f35ca31b74c568ee2406b676339bbebe3cb8995b. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
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 0441eed in 15 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx:82
  • Draft comment:
    Adding a fixed height class (h-[37rem]) ensures full background height, but consider potential responsiveness issues. Verify if a responsive solution (e.g., using min-h or responsive breakpoints) might be better.
  • Reason this comment was not posted:
    Comment did not seem useful.
2. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx:82
  • Draft comment:
    Added h-[37rem] fixes the empty timeline height. Consider if max-h-[37rem] is redundant since a fixed height is already applied.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    None

Workflow ID: wflow_NM3ytmbk1u13dy17


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! Reviewed everything up to 0441eed in 21 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx:82
  • Draft comment:
    Using both 'h-[37rem]' and 'max-h-[37rem]' may be redundant. If a fixed height is intended, only 'h-[37rem]' might suffice; consider removing 'max-h-[37rem]' for clarity.
  • Reason this comment was not posted:
    Confidence changes required: 33%
    None
2. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx:82
  • Draft comment:
    Good fix to ensure a full-height timeline background when empty. However, using both 'h-[37rem]' and 'max-h-[37rem]' is redundant if a fixed height is intended. Consider using 'min-h-[37rem]' if you want the container to expand when additional content is present, or add a comment explaining the design decision.
  • Reason this comment was not posted:
    Confidence changes required: 33%
    None

Workflow ID: wflow_VWlRR3qxWydMZ2El


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

@msalihaltun msalihaltun merged commit b41bfd7 into main Feb 4, 2025
7 checks passed
@msalihaltun msalihaltun deleted the salih/make-timeline-bg-full-height branch February 4, 2025 19:49
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