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

feat(frontend): Resizable Panels for the Test run #3694

Merged
merged 6 commits into from
Mar 1, 2024
Merged

Conversation

xoscar
Copy link
Contributor

@xoscar xoscar commented Feb 27, 2024

This PR updates the style of the resizable panels for the test run tabs, allowing users to drag the panels to their choice depending on what they want to focus on

Changes

  • Adds resizable logic for trigger, test and automate

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Loom video

https://www.loom.com/share/788dc005396f4a13aadff3e549bf8021

@xoscar xoscar requested a review from jorgeepc February 27, 2024 20:26
@xoscar xoscar self-assigned this Feb 27, 2024
Copy link

vercel bot commented Feb 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tracetest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 3:50pm

@xoscar xoscar marked this pull request as ready for review February 27, 2024 20:26
@olha23
Copy link

olha23 commented Feb 28, 2024

@xoscar I like everything related to behaviour included how you made minimal width for resizable sections. But regarding visual styles - i would ask you to leave our current one. In your version, these elements attract a lot of attention on the page, but this is just a secondary functionality that should improve the user's work when necessary.

  • the open/close function we already doing though our toggle-drawer
  • the full size panel option user will make by dragging the panel on left or right
    1
    2

@olha23
Copy link

olha23 commented Feb 28, 2024

and examples for automate tab:
Frame 60770
Frame 60771

Copy link
Contributor

@jorgeepc jorgeepc left a comment

Choose a reason for hiding this comment

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

Hey @xoscar great job! The code looks good to me. I have a couple of comments:

  • I see a web/src/components/RunDetailAutomate/TechniquesPanel.tsx empty file. Should we delete it?
  • Did you validate that the resize functionality works correct with the virtual list? We have a virtual list in the test specs. Let's double check that is working as expected.
  • I'm not a big fan of the new UI header to close/open the panels. Let's work with @olha23 in a proposal for that.
Screenshot 2024-02-28 at 10 12 56

@xoscar
Copy link
Contributor Author

xoscar commented Feb 29, 2024

@olha23 @jorgeepc new vid
https://www.loom.com/share/f2df2f0d917b48e8a7d2447f85f364d8

@olha23
Copy link

olha23 commented Mar 1, 2024

@xoscar looks great, thanks!

Copy link
Contributor

@jorgeepc jorgeepc 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 my friend! 🔥

@xoscar xoscar merged commit 96200e1 into main Mar 1, 2024
39 checks passed
@xoscar xoscar deleted the feat-resizable-panels branch March 1, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants