Skip to content
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

[12.0][MIG] web_listview_range_select #1054

Merged
merged 5 commits into from
Oct 12, 2018

Conversation

tarteo
Copy link
Member

@tarteo tarteo commented Oct 1, 2018

I had to use window.getSelection().removeAllRanges(); to make this module work for 12.0. In 12.0 they use 'fake' checkboxes (which are actual a div). That causes shift clicking to select the content. If you have a better solution please, say :).

I updated the README using the new seperated method.

@tarteo tarteo changed the title [12.0][MIG] web range select [12.0][MIG] web_listview_range_select Oct 1, 2018
@pedrobaeza pedrobaeza added this to the 12.0 milestone Oct 2, 2018
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 2, 2018
40 tasks
Copy link
Member

@SimoRubi SimoRubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for me

Configuration
=============

No configuration is needed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might as well remove this chapter

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes 😄 removed it.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think it can be a good idea to allow to click on any part of the line when Shift is pressed, and also to allow to select with Ctrl in the same conditions. At least, put these ideas on the roadmap, and squash migration commits.

@tarteo
Copy link
Member Author

tarteo commented Oct 12, 2018

@pedrobaeza Yes, me too. I'll put them on the roadmap.
Also added:

  • Shift and drag to select rows.

[FIX] Firefox shift click

[REM] Removed unnecessary configure section

[ADD] Roadmap with new features
@tarteo tarteo force-pushed the 12.0-web-range-select branch from 3c2266a to 6ec6e6a Compare October 12, 2018 07:19
@pedrobaeza pedrobaeza merged commit d395c54 into OCA:12.0 Oct 12, 2018
@tarteo tarteo deleted the 12.0-web-range-select branch November 26, 2019 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants