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

If you shrink the reporter sidebar (Command Log) by dragging the width to be too small you cannot get it back #2132

Closed
cmswalker opened this issue Jul 12, 2018 · 9 comments
Labels
pkg/reporter This is due to an issue in the packages/reporter directory stage: ready for work The issue is reproducible and in scope type: feature New feature that does not currently exist

Comments

@cmswalker
Copy link

Current behavior:

screen shot 2018-07-11 at 8 57 25 pm

Desired behavior:

If you manually drag and shrink the sidebar there should be a way to get it back.

Steps to reproduce:

Shrink the sidebar on the ui with the arrow drag (just like you shrink any GUI). You'll see that there is no obvious way to get this back to normal. Even when I uninstall and reinstall the package its persisting and relying on some cached data somewhere.

Versions

cypress: ^3.0.2
Chrome: 67
Mac OS

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Jul 12, 2018

Yes, it is relying on some global app data. You can grab the left side and drag it, it's just very very tricky. 😝

But, to clear our the app data that has this saved state:

  • Goto File -> View App Data
  • Delete everything in here
  • Close cypress and open it up again

Let me know if this works!

@jennifer-shehane jennifer-shehane added the stage: awaiting response Potential fix was proposed; awaiting response label Jul 12, 2018
@cmswalker
Copy link
Author

You can grab the left side and drag it, it's just very very tricky. 😝

Omg you're right, so tiny!

It would be great if there was a toggle button that persisted next to the DOM Selector button. That way the panel could be collapsed or expanded on demand. I'd be interested in creating a PR for this but I know adding more stuff to the sidebar and control panel is a difficult subject

@jennifer-shehane
Copy link
Member

Yeah, this does seem like a good feature. You aren't the first one to lose the command log.

The code for this lives in the reporter package here: https://github.com/cypress-io/cypress/tree/develop/packages/reporter

@jennifer-shehane jennifer-shehane added type: feature New feature that does not currently exist pkg/reporter This is due to an issue in the packages/reporter directory stage: ready for work The issue is reproducible and in scope and removed stage: awaiting response Potential fix was proposed; awaiting response labels Jul 12, 2018
@jennifer-shehane jennifer-shehane added priority: low 🎗 and removed stage: ready for work The issue is reproducible and in scope labels Jan 24, 2019
@jennifer-shehane jennifer-shehane changed the title If you shrink the reporter sidebar (instrument panel) you cannot get it back If you shrink the reporter sidebar (Command Log) by dragging the width to be too small you cannot get it back Aug 23, 2019
@cypress-bot cypress-bot bot added stage: ready for work The issue is reproducible and in scope and removed stage: backlog labels Apr 1, 2020
@jennifer-shehane jennifer-shehane added the good first issue Good for newcomers label Apr 1, 2020
@jennifer-shehane
Copy link
Member

When dragged too small - you could transform the left side into a button of sorts - that allows you to click and expand.

Or you could simply add a minimum width to the command log so that it's not dragged too small.

@Manuel-Suarez-Abascal
Copy link
Contributor

it is relying on some global app data...
But, to clear our the app data that has this saved state:

@jennifer-shehane I would like to work on this feature. It shouldn't be too hard & it's a good feature to add.

I think it would be cool to have a button that shows up once we shrink the test runner's sidebar to a certain point(a width value to be determined?).

This button will reset the sidebar's width to its original value(to be determined?) & disappears again afterward.

I would like to take inspiration from Jira's sidebar toggle button. What do you think?

Screen.Recording.2021-06-22.at.7.05.26.PM.mov

@strowk
Copy link

strowk commented Jul 19, 2021

This workaround does not work for me. Clicking on File does nothing (neither any other menu items next to it - Edit, View, Window). Running 7.5.0 on Ubuntu 20.04. Should I create issue for not working "File" menu?

@jennifer-shehane
Copy link
Member

@strowk There's an existing issue for this: #16323

@Manuel-Suarez-Abascal This design is good. We are reworking/redesigning a lot of the runner currently, planning to merge the component testing + e2e testing screens, so I'm not sure this is the best time to introduce that work since it may be addressed with that work.

@Manuel-Suarez-Abascal
Copy link
Contributor

@jennifer-shehane thanks for the update! Sounds good! Otherwise, I'm available to work on it if needed!

@jennifer-shehane jennifer-shehane removed the good first issue Good for newcomers label Oct 9, 2021
@emilyrohrbough
Copy link
Member

This issue is no longer relevant with the recent 10.x release which places a min-width on the reporter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/reporter This is due to an issue in the packages/reporter directory stage: ready for work The issue is reproducible and in scope type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

5 participants