aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Add internal state validators for HasValue (#9532)Teemu Suo-Anttila2017-07-031-0/+28
| | | This also fixes/improves AbstractDateField validation.
* Create drag source and drop target extensions for tree grid (#9463)Adam Wagner2017-06-281-0/+48
| | | Resolves #9372
* Add presentation value providers for Grid (#9553)Teemu Suo-Anttila2017-06-271-0/+99
| | | | | | This patch changes Grid Columns, so they can have different value and presentation types. A presentation provider can be given when setting the renderer for a column. This provider takes the value of the column on a row and chooses what to present for this value. Using this approach it is easier to have an editor for the actual backing data instead of the presentation of it. Fixes #8656 Resolves #9588
* Fix keymapper reverse mapping (#9535)Ilia Motornyi2017-06-211-0/+109
| | | Fixes #9470
* Enable row height and content mode settings for Tree (#9540)Teemu Suo-Anttila2017-06-201-8/+36
| | | | | | | | | | * Enable row height setting for Tree * Add content mode for captions * Align expander element by default to top The content mode allows use of preformatted and HTML captions that bring value to row height Fixes #9411
* Add View.beforeLeave to support delayed navigationArtur2017-06-201-0/+114
|
* Fix displaying Grid sort order set from server (#9530)Teemu Suo-Anttila2017-06-191-39/+12
| | | Fixes #8316
* Rewrite HierarchyMapper to consistently handle changes Teemu Suo-Anttila2017-06-151-2/+11
| | | | | | Fixes #9449 Fixes #9490 Fixes #9448 Fixes #9465
* Allow changing the renderer of hierarchy column in TreeGrid (#9514)Teemu Suo-Anttila2017-06-131-4/+20
| | | Addresses #9465
* Add methods for setting the date as an ISO value for date fieldsArtur2017-06-122-9/+81
|
* Add handler for row height changing in GridTeemu Suo-Anttila2017-06-121-0/+2
| | | Fixes #9488
* Add pluggable connector id generator supportLeif Åstrand2017-06-122-0/+18
|
* Add mouse event details to the drop event (#9485)Adam Wagner2017-06-072-2/+5
| | | Fixes #9483
* Show empty selection caption in ComboBox (#9468)Teemu Suo-Anttila2017-06-052-0/+4
| | | Fixes #9079
* Allow grid columns to optionally shrink to be narrower than contentsArtur2017-05-301-0/+45
| | | Fixes #8548
* Find active connector anywhere in the DOM (#9429)Artur2017-05-261-0/+64
| | | Fixes #9419
* Fix missing drag image on FF, Safari (#9409)Pekka Hyvönen2017-05-232-2/+40
| | | | | | | | | When CSS transform has been applied, the drag image is missing (safari), or gets offset (FF). Fixed by using custom drag image without transform, and checking for transforms on parent DOM tree. Does NOT fix #9408 When there are frozen columns used, the image needs should not look weird because of the frozen column transitions. The multiselection column is now not shown it is frozen. Fixes #9261
* Make select all work with TreeGrid (#9412)Aleksi Hietanen2017-05-231-0/+13
| | | Fixes #9403
* Correctly use id to identify data when refreshing (#9398)Teemu Suo-Anttila2017-05-231-0/+118
| | | | | | This patch refactors the internals of Grid single selection model implementation. Fixes #9380
* Add MultiSelection support for Tree Component (#9354)Teemu Suo-Anttila2017-05-231-0/+8
|
* Add style automatically to indicate that an element is being dragged (#9385)Adam Wagner2017-05-191-3/+1
| | | Closes #9223
* Make it possible for drop target to accept both files and other data (#9382)Adam Wagner2017-05-191-4/+11
|
* Add shorthand for adding a column with ComponentRendererPekka Hyvönen2017-05-191-3/+3
|
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-181-4/+8
| | | | Also makes sure that the drop location and target row return something sensible in drop event. Clarifies docs on drop location.
* Fix NPE when detaching DragSource & DropTarget on client side (#9341)Pekka Hyvönen2017-05-171-0/+83
| | | | | | | | When the component the extensions have been attached to are removed, there was an NPE due to getParent() not being available anymore. Fixed by not doing clean up on those cases as it is not necessary. Fixes #9101 * Add back missing detach call
* Fix tooltip test after tooltip style changeHenri Sara2017-05-171-4/+4
|
* Fix drag image offset for Grid rows for mobile (#9336)Pekka Hyvönen2017-05-171-0/+2
| | | | Asks the polyfill to always center the drag image based on the touch coordinates. Also temporarely removes the transform offset for the row.
* Fix Button as a Html5 DragSource (#9346)Pekka Hyvönen2017-05-171-3/+7
| | | | | | * Fix Button as a Html5 DragSourcei It was completely broken, not being clickable, and also preventing anything else from being clicked.
* Make it possible for grid drop target to accept dragged data when grid is ↵Adam Wagner2017-05-171-6/+11
| | | | | | empty (#9332) * Make it possible for grid drop target to accept dragged data when grid is empty (#9068) * Make return type of getDropTargetRow() optional
* Properly init client-side data in GridDataChangeHandlerTestTeemu Suo-Anttila2017-05-161-1/+2
|
* Add BackEndHierarchicalDataProvider and an abstract base classAleksi Hietanen2017-05-161-18/+13
|
* Add ItemCollapseAllowedProvider interfaceAleksi Hietanen2017-05-161-1/+2
|
* Rename BodyRowContainer.setNewEscalatorRowCallback to setNewRowCallbackAleksi Hietanen2017-05-161-2/+2
|
* Clean connector tracker after each access block to stop memory leaks (#9305)Artur2017-05-162-2/+123
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Add API for multiple drag data generators (#9321)Adam Wagner2017-05-161-9/+12
| | | | * 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
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-167-43/+43
| | | | | | * Refactor common methods of InMemoryHierarchicalDataProvider and ListDataProvider to a single interface * Rename HierarchyData and InMemoryHierarchicalDataProvider, introduce HasHierarchicalDataProvider * Additionally adds a helper method for recursive constructing TreeData with a child item provider.
* Add events and functionality to Tree (#9318)Teemu Suo-Anttila2017-05-161-0/+39
| | | | * Add ItemClick event to Tree * Add collapse provider and style generator to Tree
* Use theme font and normal line wrapping for regular tooltips (#9143)Leif Åstrand2017-05-152-1/+52
| | | Fixes #9121
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-125-19/+13
| | | | | | | | * Refactor Html5 DnD client side based on API review - Moved classes to "correct" packages. - Removed method DragSourceExtension.clearDataTransferText() - Remove ButtonDragSource in favor of more generic API
* Create upload URLs only when stream variable is attached by drop handler (#9301)Adam Wagner2017-05-111-68/+19
| | | | | | * Create upload URLs only when stream variable is attached by drop handler * Add file size limit to test ui and remove label drop target
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-112-9/+43
| | | | | | | | | | | | | | | 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
* Make it possible to upload files by dropping them onto a drop target (#9277)Adam Wagner2017-05-111-0/+164
| | | Fixes #8891
* Make clicking checkbox label call focus listeners (#9271)Knoobie2017-05-111-0/+32
| | | | | Fixes the remaining issue from #3944 for Firefox so that a click on the checkbox label calls the focus listener. Fixes #9290
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-111-0/+89
| | | | | | Reset HDC when encountering unexpected changes in the data. Additionally this patch fixes an issue with client and server caches getting out of sync during resets.
* Fix partly missing drag image regression on SafariPekka Hyvönen2017-05-102-1/+69
| | | | Doesn't fix #9261, drag image missing on Safari when dragging grid row because that has position: absolute and offset.
* Move TestBench API to the correct package (#9249)Artur2017-05-091-2/+2
| | | Fixes #9241
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-052-30/+60
| | | | | | | | | | | | - 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.
* Allow Escalator.setHeightByRows to accept zero as a valid argument (#9244)Aleksi Hietanen2017-05-051-0/+13
|
* Fix ComponentLocator with inherited classes without custom connector (#9176)Teemu Suo-Anttila2017-05-031-0/+36
| | | | | | | | | | | | Logic for finding elements corresponding a server-side classname does not work with inherited classes. For example making MyGrid extends Grid, you could not find the specific MyGrid, but only the common Grid. In most cases this is not a problem since these components are usually the only instance of said superclass, but the Composite introduced in the same UI, which makes testing them impossible. This patch adds the specific classname information for ServerConnectors that can be used to find the correct connector instance.
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-0234-96/+210
| | | | | | | This patch introduces a Tree component, implemented as a Composite using TreeGrid. As initial version of the component, some functionality of the old Tree component has been left out for now. Partly addresses #8617