-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
JS expressions function not working for me. #2059
Comments
this is the nightly build, right? do you see any error message in developer tools javascript console? it works for me on macos but it could be an issue on windows. I saw this error message in an unrelated issue #2070 - and i have a feeling it's related:
|
I've managed to reproduce the problem on windows and I think I've found the issue vitejs/vite#11823 |
Thank you! Yes it works now. I have also tried it on 3.62. I do have one question about this syntaxes that are available to click. "Segment label (exact)" and "Segment label (regexp)". The latter I do not understand. Cause we can label segments like: Picnic - beginning. Picnic - cooking, Picnic - swimming ... Back at home - Dinner, Back at home - Piano, Back at home - Bedtime Thank you! UPDATE: Hope it helps, if anyone has problems with this syntax. |
Yes i purposefully made it so that if it's matching all segments, then it will not actually select anything, because that would not be very useful. I will make it so that it instead gives an error if all match |
The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first
Operating System
Windows 10
Steps to reproduce
I used " segment.duration < 5 "
Expected behavior
All segments with duration less than 5 sec should be selected (as I understand).
Actual behavior
Nothing is selected, although I have few segments with less than 5 sec. The JS expression window does not close when I click "OK".
Share log from developer tools
No response
The text was updated successfully, but these errors were encountered: