ray icon indicating copy to clipboard operation
ray copied to clipboard

expandAll() and expand() not working

Open raulp opened this issue 1 year ago • 15 comments

Describe the bug Mac app v2.8.1 expand() and expandAll() not working.

Versions

  • spatie/ray 1.41.2
  • mac app: 2.8.1

To Reproduce Steps to reproduce the behavior:

$data = ['id' => 1, 'tags' => ['test1', 'test2']];
ray($data)->expandAll();

Expected behavior When using expandAll() and expand() prior to v2.8.1, the app would automatically expand the tags in the UI.

Desktop (please complete the following information):

  • OS: macOS
  • Version 14.5

Additional context Used to work before 2.8.1

raulp avatar Jun 04 '24 03:06 raulp

I have the same issue, I'm on Windows and I'm using the Laravel Sail environment.

ffortez avatar Jun 05 '24 15:06 ffortez

please check the issue on windows app. thanks

camiant avatar Jul 14 '24 07:07 camiant

The same thing is happening with Laravel Ray version 1.37.1

adampatterson avatar Aug 13 '24 17:08 adampatterson

Hi! I have the issue as well. MacOS Sonoma 4.6.1 and Ray 2.8.1.

vedovelli avatar Sep 24 '24 10:09 vedovelli

@sebastienhenau any ETA on a fix for this? Would be helpful to have this working again ;)

raulp avatar Oct 18 '24 19:10 raulp

I'd love to look at ray and just see the expanded arrays rather than moving to the app and manually doing it ever single time. At this point it's just as fast to use @dump()

adampatterson avatar Oct 25 '24 05:10 adampatterson

meanwhile, as confirmed by the tooltip, "ctrl/cmd + click" on the main arrow does the work ... manually

screenshot

camiant avatar Nov 05 '24 14:11 camiant

also not working for me, but @camiant thank you so much for this tip! Saves me 50 clicks a day 😉

rderks88 avatar Nov 13 '24 06:11 rderks88

thank you so much for this tip!

my pleasure, @rderks88 ! 🤝

camiant avatar Nov 13 '24 07:11 camiant

@raulp Sorry for the late response concerning this issue. At the moment we are working on version 3.0, where we try to solve most of the issues users are currently having with Ray. We'll take a look at this issue as well and we'll provide a fix to be released with version 3.0.

sebastienhenau avatar Nov 29 '24 14:11 sebastienhenau

The issue persists for me as well. :(

weirdlooop avatar Mar 04 '25 12:03 weirdlooop

As evidenced by myray.app/blog, they are working on releasing version 3, so it's likely that the last of the 2 series will be 2.81. I imagine at this point that the bug will be resolved directly in the new major version.

camiant avatar Mar 04 '25 12:03 camiant

In the meantime you can work around using the keyboard shortcut

https://github.com/spatie/ray/issues/918#issuecomment-2457347810

Alternatively, you can downgrade to the previous version, which retains the compact/expand feature but has known issues in persisting SSH connections.

camiant avatar Mar 04 '25 12:03 camiant

As evidenced by myray.app/blog, they are working on releasing version 3, so it's likely that the last of the 2 series will be 2.81. I imagine at this point that the bug will be resolved directly in the new major version.

I wonder what the upgrade cost will be, I feel like there's been very little development on V2 and a lot of auto closed issues.

adampatterson avatar Mar 05 '25 03:03 adampatterson

@sebastienhenau your last update was months ago. It's cool you guys are working on v3, but bugs like these should be fixed a bit sooner imho. I mean, this bug alone is 1 year old since it was reported.

Regarding the upgrade from v2 to v3, it'll be interesting to see if lifetime users can upgrade or would need a separate license. Same for current v2 regular users. But, regardless, i don't think it's fair to leave bugs waiting in v2 for months, just to be able to say in a another few months: hey, if you want this fixed, pay to upgrade to v3.

I can understand new features - that totally make sense. Or re-working a feature from the ground up. But certain bugs most likely don't take away a lot of time for your team to fix, and keep v2 users happy. Just my thoughts.

raulp avatar May 30 '25 00:05 raulp

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.

spatie-bot avatar Oct 01 '25 10:10 spatie-bot