summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Prevent IndexOutOfBoundException in VMenuBar.CustomMenuItem (#11285)Jonni Madekivi2018-12-171-0/+1
| | | | | | | | * Fixes #10814 * Add missing tests Fixes #11374
* Move onClick logic to the Connector (#11367)Anastasia Smirnova2018-12-142-24/+25
| | | | | | | | | | * Move onClick logic to the Connector Move onClick event handling from 'VNativeButton' to NativeButtonConnector. Now works as for regular button. Also, adding propagation of the `enabled` value to the state on disableOnClick being true Fixes https://github.com/vaadin/framework/issues/11188
* Apply missing v-readonly style to CheckBoxGroup, when component is readOnly ↵Anastasia Smirnova2018-12-131-1/+14
| | | | | | | | | | | | | | | | (#11370) Setting read-only state to CheckBoxGroup should disable adding clicking effect. Missing v-readonly style is added to every CheckBox in the component, if it's set to read-only. Fixes: https://github.com/vaadin/framework/issues/11113 * Add file missed from initial commit * Verifying that option is enabled Some of the options might be disabled on there own. Verify that option is not disabled, before removing disabled styles. * Add missing test file
* Complete the empty since tag (#11371)8.7.0.alpha1Sun Zhe2018-12-133-4/+4
| | | | * Complete the empty since tag
* Add more context information to criteriaScript in GridDropTargetConnector ↵vt5122018-12-052-6/+39
| | | | | | | | | | | | | | | | | | | | | (#11321) * Add more context information to criteriaScript in GridDropTargetConnector When using drag and drop in Grids and TreeGrids a criteriaScript can be specified. However, this criteriaScript only gets an event as input parameter. It would be helpful if the criteriaScript would get more information: - the DropLocation - the targetElement which is used as a base for the DropLocation This change provides a protected method in DropTargetExtensionConnector which decides, if the drop is allowed by the criteriaScript. This method is overriden in GridDropTargetConnector to provide the both parameters dropLocation and targetElement. * add Test UI for criteriaScript with targetElement and dropLocation * add some description for the Test UI
* Improvements to updating spacer indexes. (#11353)Anna Koskinen2018-12-051-4/+13
| | | | | | | | * Improvements to updating spacer indexes. - When details rows are moved down, indexes need to be updated from bottom up. Fixes #11352
* Improvement to details row height handling. (#11351)Anna Koskinen2018-12-041-2/+6
| | | | | | - When rows are added, details row heights need to be taken into account in positioning. Fixes #11348
* Revert "Update ComboBox internal state on new item added (#11094)" (#11331)Sun Zhe2018-11-271-25/+10
| | | | | | | | * Revert "Update ComboBox internal state on new item added (#11094)" This reverts commit 56ce91c6160a252ddcd952bca6eb7037120ebf59. * Add tests to verify the issue
* Fix to use correct spacer index and existing helper method. (#11328)Anna Koskinen2018-11-231-5/+1
| | | | | | * Fix to use correct spacer index and existing helper method. Fixes #11325
* Fix for setting default row height for a Grid with details row(s) open. (#11326)Anna Koskinen2018-11-211-1/+10
| | | | | | | | | * Fix for setting default row height for a Grid with details row(s) open. - Details row(s) should be taken into account when the rows are re-positioned after getting new heights. Fixes #11325
* Code formatting (#11278)Sun Zhe2018-11-062-16/+19
|
* Update time in ReadOnly state of DateTimeCalendar (#11269)Anastasia Smirnova2018-10-241-3/+3
| | | | | Fix https://github.com/vaadin/framework/issues/11268 ```buildTime()``` function re-initializes ListBoxes for hours,minutes and seconds values. We need to set correct values in those ListBoxes, before assigning value to the labels displayed instead of those ListBoxes in ReadOnly state, as , otherwise, the selectedItemIndex returns 0.
* Display the caption of the Empty selection in NativeSelect (#11191)Anastasia Smirnova2018-10-182-1/+29
| | | | | | | | | | | | | | | | * Fixes #10937 - Previously if selected value is null, then index is set to -1; in current implementation if value is null and emptySelection is allowed then set the index to 0. (The position for the empty selection) - Also, if changing the allowEmptySelection on the fly, ensure, that either index is to-reset to -1 by setting the selected value to null on the client-side (the value before was null) or preserve the value(value was different than empty). * Change the test case Since in this pr the behaviour of the NS is changed, therefore old test need to be adjusted. Change: setting null as value will select empty selection. Before that nothing would be selected and value will be cleared. Behaviour change in PR: Allow selecting null as value
* Rebuild calendar pop-up on readOnly state change (#11249)Anastasia Smirnova2018-10-172-1/+14
| | | | | | * Rebuild calendar pop-up on readOnly state change Fixes https://github.com/vaadin/framework/issues/6565
* Format the code (#11244)Sun Zhe2018-10-151-1/+1
|
* Revert change to fix issue on removing Grid with components (#11224)Sun Zhe2018-10-121-28/+18
| | | | | | | | | | * Test case for removing Grid with components * This reverts commit b2745dc14f17b510df7321ab3f6285ed317da3b3. Add test case to address the issue with removing gird with components; Current situation: the grid cannot be removed and client-side throw an error. fixes: Revert the corresponding change, as it didn't address any issue which was fixed.
* Updates to scrolled TabSheet resize logic and Valo right-alignment. (#11133)Anna Koskinen2018-10-101-12/+127
| | | | | | | | | | - When a TabSheet is scrolled to an end and then resized bigger, more tabs should appear to the left. - When a TabSheet is right-aligned in Valo and scrolled to the end, last tab shouldn't be partially hidden behind the scroller buttons. - Shouldn't allow attempts to scroll into directions where there is nothing left to scroll to, even if the current tab isn't fully visible. Fixes #807
* Run formatter to the code (#11227)Sun Zhe2018-10-091-2/+2
|
* Fixes to displaying Grid in a detail row. (#11147)Anna Koskinen2018-10-083-4/+37
| | | | | | | | - Multiple headers shouldn't stack behind each other. - Body rows shouldn't get stuck to default row height. - Compatibility version's hidable row selector shouldn't try to calculate row heights based on rows that haven't been added to DOM yet. Fixes #7674
* Replaced Grid's internal size calculation fix with an indexing fix. (#11154)Anna Koskinen2018-10-012-18/+5
| | | | | | - More lightweight, and fixes things for any custom implementations of Escalator as well. Fixes #11044
* Update master to 8.7-SNAPSHOT (#11208)Sun Zhe2018-09-271-1/+1
|
* Update ComboBox internal state on new item added (#11094)8.6.0.beta1Teemu Suo-Anttila2018-09-261-12/+27
|
* Fix/focus inside window chrome (#11142)Mehdi Javan2018-09-191-37/+48
| | | | Fixes #11087
* Fixing RadioButtonGroup exception in Window (#11181)Mehdi Javan2018-09-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * discardStaleCacheEntries is moved to a proper place before updating indexToRowMap and keyToIndexMap maps. In its previous place, it cleared the data that was just put in the maps. Fixes #11143 * Adding test * Removing extra annotations * Updating chrome version to 69 in tests (#11182) * Updating Chrome version to 69 * Updating screenshots taken in Chrome 69 * Fixing screenshots * Fixing screenshots * Adding some wait commands to tests * Fixing screenshots * Revert: Fixing screenshots * More screenshots * - Adding wait commands to make sure the transitions end before screenshot - Fixing a screenshot * Correcting a mistake of using wait instead of sleep * Fixing more screenshots * Increasing the height of ContextMenu (Because of limitation of new Chrome 69 in terms of minimum window height, ContextMenu size can't be tested with a small height.)
* Fix handler creation to happen on init (#11172)Teemu Suo-Anttila2018-09-071-18/+28
| | | | Fix handler creation to happen on init
* Ensure that HeaderRow is not null in Grid (#11165)Anastasia Smirnova2018-09-071-0/+2
| | | | | Ensure that HeaderRow is not null in Grid Fixes #10485
* Fix handling of hidden Components in Grid(#10367)Marco Collovati2018-09-071-4/+59
|
* Set correct GWT .dtd definition (#11110)Ilia Motornyi2018-08-132-2/+2
|
* Fix Escalator to properly reset height by rows (#11090)Mehdi Javan2018-07-301-0/+1
|
* Fix Grid Editor closing and disabling at same time (#11078)Mehdi Javan2018-07-201-1/+11
| | | Fixes #10688
* Fix removal tabsheets if last one is selected (#11070)Ilia Motornyi2018-07-191-3/+1
| | | Fixes #10925
* Fix Grid resetting row height on resize (#11056)Teemu Suo-Anttila2018-07-171-1/+6
|
* Fix Grid internal size calculations on vertical resize (#11046)Teemu Suo-Anttila2018-07-131-4/+12
|
* Unlock and refactor some API to create a new ContextMenu (#11041)Ilia Motornyi2018-07-115-28/+91
|
* Add xsrf token header if cookie is present (#11034)Ilia Motornyi2018-07-112-0/+16
| | | Fixes #9471
* Fix formatting, improve documentation on autoformat (#11033)Ilia Motornyi2018-07-101-1/+2
|
* Fix initially selected CheckBox rendering in Safari (#11024)Teemu Suo-Anttila2018-07-101-0/+19
|
* Improve ComboBox keyboard behavior when an item is selected (#11031)Mehdi Javan2018-07-101-0/+4
| | | | | Ignoring filtering options when right arrow, left arrow, home or end key is pressed. Fixes #11016
* Enable selection checkboxes with unbuffered editor (#11032)Teemu Suo-Anttila2018-07-101-1/+3
| | | Fixes #11028
* Fix wrapping div getting focused in CheckBoxGroup and RadioButtonGroup (#11021)Teemu Suo-Anttila2018-07-031-0/+2
| | | Fixes #9731
* Update project version to 8.6-SNAPSHOT (#11011)Mehdi Javan2018-06-291-1/+1
|
* Fix TabSheet attaching and detaching components (#10988)Teemu Suo-Anttila2018-06-191-2/+5
| | | | | | | This patch reverts the fix #10557 and replaces it with a proper solution from Grid perspective. Fixes #10987 Fixes #10985
* Add ACCEPT attribute to Upload (#10906)Ilia Motornyi2018-06-181-0/+9
| | | Fixes #2410
* Use random string for autocomplete attribute (#10950)Ilia Motornyi2018-06-011-1/+2
| | | Fixes #7820
* Add bottomBorder size to check in Grid (#10946)Anastasia Smirnova2018-05-281-2/+2
| | | Fixes #10931
* Fix MultiSelectionRenderer right-click exception (#10944)Ilia Motornyi2018-05-231-3/+1
| | | Fixes #10942
* Use XMLHttpRequest2 API for HTML5 DnD uploads (#10896)Ilia Motornyi2018-05-091-2/+3
|
* Restart debug log timer on first log row instead of immediately (#10640)Artur2018-05-071-2/+6
|
* Allow focus to another component, when closing the window (#10860)Anastasia Smirnova2018-05-031-6/+10
| | | Resolves #5891
* Fix Window layout when resizing (#10830)Anna Koskinen2018-05-032-1/+11
| | | Fixes #10652