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
Add shortcut spec LEFT and RIGHT #84
Comments
Thanks, for the idea! I have been thinking about this but didn't know which words to choose as a shortcut. The thing is Galen Spec Language was designed to be human readable and I would like not to break this readability. In this case the specs "above" and "below" match perfectly because you can read the spec like this: "object-a is above object-b". But if we take the keywords "left" and "right" it would be read like: "object-a is left object-b" which doesn't really make sense. Perhaps the combination "from left" and "from right" would work but it is also debatable. |
how about "LEFT OF" and "RIGHT OF" ? |
Sorry for late response. I think "left of" and "right of" makes sense, thanks for suggestions. Will build it for release-1.6 or next one |
You haven't added those two functions in galen-pagedump.js |
@phystem oops :) thanks for reminding that one. will fix it |
For above/below there is shortcut specs
However for LEFT and RIGHT the only spec is NEAR - which a Range is mandatory
It would be great just to be able to specif LEFT and RIGHT with no range..
The text was updated successfully, but these errors were encountered: