| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Some snippets codes do not render properly.
|
|
|
|
|
|
|
|
|
| |
* Add missing FocusShortcutListener
Was removed from 8.0 and not readded.
Fixes #8297
* Update Release note for this change
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update advanced-dragndrop.asciidoc
Fixing example of Drag and drop code.
Resolves https://github.com/vaadin/framework/issues/10512
* Update advanced-dragndrop.asciidoc
Removed unnecessary spaces
* Update advanced-dragndrop.asciidoc
Removed unnecessary spaces
|
| |
|
| |
|
| |
|
|
|
| |
The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.
|
|
|
|
| |
This pathc also switches GridDragger to by default not allow drops on rows when the
grid has been sorted.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new drop mode ON_GRID for GridDropTarget
Also adds a way to not accept drops on rows when the user has sorted the grid.
This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted.
This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1.
Instead if is triggerable via API in GridDropTarget.
* Refactor sorted grid drop logic to server side
* Block setDropMode calls
Blocking setDropMode set values if the grid has been sorted and drop on
sorted rows is not allowed. The value is used once the grid is not sorted
anymore or the drops are allowed on sorted rows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Navigator now by default uses pushState and normal URLs
* added documentation for pushState and updated Navigator documentation
* improving docs etc, adding one TODO to be solved before merging
* pushState/replaceState no work better with changing titles
* Making uri fragment navigator work when not using specially mapped UI
* Revert to older default, add annotation for selecting
* Fix tests, add null checks
* Reorder if-clause, fix tests
* Revert unnecessary test change
* Use correct variable in UI, fix test clean up
* Updates to JavaDocs, fix some methods and tests
* Add comments, fix test ui, TODO for fallbacks
* Navigation documentation, JavaDocs, removed TODOs
* Documentation fixes
* Improve JavaDocs
* Fix link name in documentation
* Improve throws declaration in getLocation
* Change documentation about the PushState based navigation
* Add since tags
* Add since tags for UI
|
|
|
|
|
|
|
| |
After this change, .gitattributes will take care of keeping native
line endings.
* Replace CRLF with LF in non-Java files
|
| |
|
|
|
| |
Resolves #9191
|
|
|
| |
Resolves #9372
|
|
|
|
|
| |
Now the DnD events are listened from tablewrapper element,
which contains also grid's header and footer, making it possible to
drop on top of them.
|
|
|
| |
* Add style name to all dragged rows to indicate that they are being dragged
|
|
|
| |
Closes #9223
|
|
|
|
| |
Also makes sure that the drop location and target row return something sensible in drop event.
Clarifies docs on drop location.
|
|
|
|
|
|
| |
empty (#9332)
* Make it possible for grid drop target to accept dragged data when grid is empty (#9068)
* Make return type of getDropTargetRow() optional
|
|
|
|
| |
* Add mention of context menu and DnD collision on mobile devices
|
|
|
|
| |
* Add ability to set multiple drag data generators for any drag data type
and change default to be accepted by spreadsheet applications such as Excel
|
| |
|
|
|
|
|
|
| |
- Rename OSGi to Osgi in class names.
- Rename VaadinOSGiPortlet to OSGiVaadinPortlet for consistency with
Spring, CDI etc. add-ons
- Add missing javadoc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First step of mobile DND support.
- Add mobile html5 dnd support using polyfill
- Adds a switch for enabling mobile html5 dnd support
- Adds polyfill only when needed
- Ignore native Android Chrome drag start because doesn't work properly
(no dragend event fired)
- Add documentation on enabling mobile HTML5 DnD support
- Add mention of drag-drop-polyfill license
- Fixed issue in polyfill when not using "snapback"
- Add mention of forked polyfill
Fixes #9174
|
|
|
| |
Fixes #8891
|
|
|
|
| |
Doesn't fix #9261, drag image missing on Safari when dragging grid row because
that has position: absolute and offset.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Always set some drag data
- Set the dropEffect on dragEnter and dragOver events on drop target
- Send the dropEffect to server on drop event with disclaimer of current support
- Remove _dragOverCriteria_ and use _dropCriteria_ for `dragenter`, `dragover` and `drop` criteria
Tested manually basic DnD and Grid DnD on Mac with Chrome, Firefox, Safari.
Safari is still missing drag image (regression).
Tested manually basic DnD and Grid Dnd on Windows IE11 and Edge.
Drop event for both is still not working properly #9174.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Resolves #9141
Partly addresses #8999
|
| |
|
|
|
|
|
|
| |
* Moved docs comment to own row
Anyone can read the TODO comment on https://vaadin.com/docs/-/part/framework/advanced/advanced-logging.html. The comment is directly on same row as normal text, which means that it will be printed out when asciidoc is transformed to html. I moved it now to a new row which will make the asciidoc parser treat is as a comment. Please make a proper fix for it.
|
|
|
|
|
|
|
|
|
|
| |
* Add API support for setting server side drag data
* Fix javadocs
* Add server side drag data API to ASCII doc
* Fix some javadocs and documentation details
|
|
|
|
|
|
| |
* Remove API for setting arbitrary drag data
* Store the drag source component in the UI
Fixes #8893
|
|
|
|
|
|
| |
* Initial documentation for 8.1 Drag and Drop
Part of #8395
|
|
|
| |
Minor documentation fixes.
|
|
|
|
| |
* Remove jpacontainer section from the docs.
|
|
|
|
| |
* Fix broken docs in advanded-shortcuts
|