-
Notifications
You must be signed in to change notification settings - Fork 19
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
[WIP] Rewrite ByPropertyIdArray #203
Conversation
* @license GNU GPL v2+ | ||
* @author Bene* < [email protected] > | ||
*/ | ||
class ByPropertyIdArrayNew { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\o/
So you are going for a class that does the same thing? I'd rather see property id based indexing, grouping and move logic be kept separate. As per #22, having a |
Actually I want to keep One suggestion would be to pass two indices, one of the property group and one inside the group but this would require changes in the javascript ui. |
You could have the move logic for a statement within a group in |
Would this |
bd1baf6
to
ca248ee
Compare
To avoid confusion, this is going to replace |
In some places it will. |
Also note that moving logic was added to |
4ed0df7
to
5935c7d
Compare
@JeroenDeDauw @thiemowmde is it worth to work on this PR again or are there already alternatives to |
There is the |
I find this class scary, before and after the rewrite. I will not spend time on this. |
New approach made in #479 |
This should replace
ByPropertyIdArray
. Just a draft for now, needs lots of testing to make sure it actually replicates the behaviour of the old version of the class. However, I'm already quite proud of using only half as much codes as the old implementation.