-
Notifications
You must be signed in to change notification settings - Fork 33
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
Implemented delete button #90
Conversation
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.
Thanks for the PR. PTAL CI failure.
Additionally, changes should be backwards compatible to avoid surprising existing users with a UI change when they update; so I suggest adding a config option that turns on the delete buttons instead of having them enabled by default.
Lastly, could you also add a nightwatch test for the new functionality. Thank you!
Okay, Clemens, I will manage to get that done by the next weekend |
- config option displayDeleteButtonOnHistory to display the delete button - Implemented test in NightWatch.js - Implemented examples in javascript and React.js
I have implemented everything that you required me. |
Clemens, hello... Have you teted out the delete button? |
Clemens, I solved this issue by adding an inline style for the container div when using the deleteButton, ok? |
Is everythin correct now, @c-w? |
Apologies, I haven't gotten around to re-review this yet. I'll take a look ASAP. |
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.
Apologies for the delay in reviewing this. To speed up a merge, I took the liberty to make a few changes. Take a look at my patch with the suggested diff and git apply
it if you're satisfied with the fixes.
Hey, Clemens, I applied most of those changes... Expect for the index mathquill4quill.Demo.-.Google.Chrome.2022-11-05.13-27-08.mp4 |
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.
Thanks for the changes. PTAL CI failure (you can also run it locally with npm run lint
, probably a good idea as for some reason Github asks me to continuously re-approve the CI run) and the nitpicks regarding keeping the git history clean. Thank you.
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
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.
More issues from CI. I think I listed them all, but to be sure do run npm run lint
locally after making the changes so that we can get this merged in the next round. Alternatively you can also allow edits by maintainers on the PR so that I can make these nitty changes directly and get it released. Thank you.
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
Co-authored-by: Clemens Wolff <[email protected]>
I have given you the right to edit my pull request, @c-w |
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.
Thank you for the contribution!
This has been released in v2.4.0 |
I have implemented the delete button