aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range (#12507)Anna Koskinen2022-01-111-1/+1
|
* Fix Grid column reorder with partially hidden joined header cells. (#12429)Anna Koskinen2021-10-141-0/+43
|
* fix: Add MPR UI id request parameter (#12412)Mikhail Shabarov2021-09-281-0/+1
| | | | | | | | | | | | | * fix: Add MPR UI id request parameter Related-to https://github.com/vaadin/multiplatform-runtime/issues/85 * test: Remove redundant non-empty param test * test: Remove leftovers * fix: Init window.mprUiId earlier than window.vaadin * Add missing '='
* Fix compatibility Grid column reorder with partially hidden joined cells ↵Anna Koskinen2021-08-261-0/+45
| | | | | (#12385) Fixes #12377
* Update to Jsoup 1.14.2 (#12381)Tatu Lund2021-08-241-1/+1
|
* Updates to TreeGrid's ensureAvailability handling. (#12374)Anna Koskinen2021-08-201-0/+45
| | | | | | | | - Always update the availability request range when more or less data becomes available. Otherwise e.g. programmatically expanding a TreeGrid row can lead to discarding a lot of the new data right after receiving it. Fixes #12372
* Ensure visible tab search only covers existing tabs. (#12373)Anna Koskinen2021-08-181-0/+48
| | | Fixes #11673
* Reworked and cleaned up client-side TabSheet and Accordion. (#12357)Anna Koskinen2021-08-132-5/+29
| | | | | | | | | | | | | | - Added and corrected JavaDocs. - Deprecated unused public methods. - Fixed first tab style logic in TabSheet. - Fixed navigation focus logic in TabSheet. - Fixed tab width bookkeeping for scrolling TabSheet tabs. - Renamed private methods and variables for clarity. - Removed unnecessary or duplicated private methods. - Reworked some logic to clarify it and to better match my understanding of what's supposed to happen within those methods. - Updated some deprecated method calls to use currently recommended solutions. - Added and updated regression tests.
* Checkstyle fixes (#12347)Anna Koskinen2021-07-231-0/+1
| | | | | | | | | | | | - Added, completed, and corrected JavaDocs. - Added an assert to enforce a condition that has always been required. - Added default sections to switch blocks. - Added wildcards. - Deprecated unused methods and variables. - Removed inner assignments. - Removed unused private variables and calls that do nothing. - Updated deprecated calls to use currently recommended versions. - Updated warning suppressions. - ...and some auto-formatting.
* Ensure Grid details rows get a full refresh when a column is sorted. (#12342)Anna Koskinen2021-07-211-0/+42
| | | Fixes #12341
* Code cleanup (#12333)Anna Koskinen2021-07-0813-55/+37
| | | | | | | | | | | | | | | | - removed unused private methods - removed unused private variables - removed unnecessary initializations - removed unnecessary substring(0) - removed inner assignments - renamed private methods that started with upper case - renamed static final variables to use upper case - converted to use non-deprecated options - suppressed unavoidable warnings - divided long Strings to multiple lines - added missing types - added missing JavaDoc parameters - formatting - updated comments & JavaDocs
* Ensure removing a row does not cause exceptions in detail row handling. (#12330)Anna Koskinen2021-06-301-0/+63
| | | Fixes: #12328
* Trigger repositioning after full refresh of current details. (#12312)Anna Koskinen2021-05-201-2/+8
| | | Fixes #12310
* Removed outdated readme.txt (#12296)Anna Koskinen2021-05-121-15/+0
|
* Test tweaks (#12287)Anna Koskinen2021-05-041-1/+3
|
* Fix validation in non-buffered Grid editor (#12281)Tarek Oraby2021-04-281-0/+103
| | | | | Handle possible race condition by disabling the editor's widget while awaiting validation from the server. Fixes #12270
* Add browser specific handling in setRows (#12141)Tatu Lund2021-04-191-0/+67
| | | | | | | | | | | * Add browser specific handling in setRows Fixes: https://github.com/vaadin/framework/issues/10138 Fixes: https://github.com/vaadin/framework/issues/7878 * Enforced minimum height to 1 rows and added a test. Co-authored-by: Anna Koskinen <anna@vaadin.com>
* Add ErrorHandler to AbstractTestUI (#12256)Anna Koskinen2021-03-295-24/+27
| | | | * Add ErrorHandler to AbstractTestUI
* Include compatibility tests in validation builds (#12250)Anna Koskinen2021-03-261-5/+73
|
* Test fixes (#12244)Anna Koskinen2021-03-181-0/+5
|
* Fix updating Grid's item set when details rows are open. (#12231)Anna Koskinen2021-03-082-0/+79
| | | | | | | | | | - Old details should close. - New details should open. - If some row has details in both old and new item set, the details row contents should get updated. - Updating details row contents should not break the positioning of the rows and details below. Fixes #12211
* Update copyright year range. (#12215)Anna Koskinen2021-03-041-1/+1
| | | | * Update copyright year range.
* Fix displaying checkboxes within Grid editor row. (#12212)Anna Koskinen2021-03-031-0/+89
| | | | | | | | * Fix displaying checkboxes within Grid editor row. - Checkbox margins should match regular row content margins. - Multiselect checkbox label should only be visible for assistive devices.
* Merged column headers should work within declarative Grid. (#12206)Anna Koskinen2021-02-261-0/+65
| | | | | | | | | - null check to prevent NPE from the merged column headers - convert to internal columnIds for merge handling - use correct cell in merge handling - switch away from streams in merge handling for easier readability - regression test Fixes: #10464
* Add API to prevent invalid input when integrated range validator is used ↵Tatu Lund2021-02-191-0/+32
| | | | | | | (#12168) Do not fire DateField's value change event if the new date is not within the range. Fixes: #12163
* fix: Focus-activated shortcut listener in compatibility TextField (#12203)Tatu Lund2021-02-161-0/+49
|
* Re-use ComputedStyles in Escalator when possible. (#12186)Anna Koskinen2021-02-054-10/+223
|
* DateField value should actively adjust to the set resolution. (#12183)7.7.23Anna Koskinen2021-01-222-0/+228
|
* Move call to getMessageHandler().onResynchronize(); to right place (#12178)Tatu Lund2021-01-071-1/+3
| | | | | https://github.com/vaadin/framework/pull/12043 changed resync message sending to be deferred to queue. Now also the setting of the semaphor in message handler needs to be deferred to its right place. Otherwise there is possibility for a timing glitch. I.e. MessageHandler is set to resync handling mode before message is actually send. Fixes: https://github.com/vaadin/framework/issues/12151
* Fix to LayoutManager size calculations during transform. (#12138)Anna Koskinen2020-12-181-0/+65
| | | | | | | | | | | | | | | | | | | | | | | * Fix to LayoutManager size calculations during transform. - ComputedStyle is slower but more reliable than using getBoundingClientRect, which does not work as expected if a transform has been applied to the element or one of its parents. This is a problem e.g. with PopupView, where getBoundingClientRect will return too small size (or even zero size) for all the popup contents while the opening animation is active. ComputedStyle ignores the transform and returns the expected value. - The presence of the element in DOM must be checked before the size is requested from ComputedStyle, if the element has disappeared from DOM without a warning and calculation is attempted anyway, the browser gets stuck. - Possibility to configure LayoutManager to use the less reliable calculations for applications where the slight performance difference is more important than layout issues within elements that have transform animations. - Manual test, problem isn't reproducible by TestBench. Fixes: #11187
* Better error handling trying to enable HTML5 DnD for mobile from thread (#12170)Anna Koskinen2020-12-071-0/+46
| | | | | | | - Informative error message - Reset back to disabled state when enabling fails - Incorrect usage also detectable using non-mobile devices Fixes #12152
* Ensure Composite's contents gets re-measured on resize. (#12154)Anna Koskinen2020-12-012-0/+141
| | | Fixes: #12153
* Tweaks to Grid/Escalator column size handling (#12145)Anna Koskinen2020-11-102-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | - ScrollbarBundle: removed delays in scroll handling that were only needed for IE8, added possibility to update offsetSize and scrollSize at the same time in order to avoid triggering unnecessary scrollbar visibility change events during the intermediate state. - ColumnConfigurator: added new method that allows setting column widths without triggering element size recalculations. - EscalatorProxy: added implementation of the new method to ColumnConfigurationProxy. - Escalator: switched to use new methods in ScrollbarBundle and ColumnConfigurator, added a pixel to a scrollbar offsetSize calculation that was for some reason consistently one pixel too low, removed duplicate method calls from sectionHeightCalculated handling as those are already handled by the calling method and can cause incorrect intermediate state and unnecessary scrollbar visibility change events, added implementation of the new method to ColumnConfigurationImpl with the element size recalculations made optional. - Grid: updated column minimum width calculations to take into account the potential presence of a resize handle, updated expand ratio handling to not trigger element size recalculations until the entire handling is finished. - Test for column width handling when there are multiple columns with setMinimumWidthFromContent(false) Fixes #12139
* Open details rows shouldn't get removed when a new row is added to Grid (#12109)7.7.22Anna Koskinen2020-10-061-0/+53
| | | Fixes: #12106
* Test fixes & split failsafe integration test runs into smaller batches (#12103)Anna Koskinen2020-10-012-3/+16
|
* Add API to detect if GridMultiSelect select-all checkbox is checked (#12086)Tarek Oraby2020-08-261-0/+42
|
* fix for #12079 - recalculate Composite layout inside Window (#12082)Olli Tietäväinen2020-08-261-0/+82
| | | Co-authored-by: Anna Koskinen <anna@vaadin.com>
* Only remove caption margin from the first visible tab. (#12078)Anna Koskinen2020-08-191-0/+43
| | | Fixes #10437
* Add column width recalculation when vertical scrollbar hidden/shown. (#12058)Anna Koskinen2020-07-231-3/+3
| | | | | - If the Grid has any columns with non-fixed widths, the presence of a vertical scrollbar affects the column width calculations. Horizontal scrollbar should only be shown when actually needed.
* Revert 'Rewrote debouncing of onResize (#11899)' (#12051)Anna Koskinen2020-07-092-4/+188
| | | Fixes #12049
* All updates to Escalator size should get reported to LayoutManager. (#12050)Anna Koskinen2020-07-081-0/+109
| | | | Delayed size changes caused by added or removed scrollbars should be taken into account.
* Add support for "ww" in date format (#12037)Tatu Lund2020-07-031-0/+1
| | | | | Calculate number of the week in the year based on Date. Note, support for "ww" is missing from GWT DateTimeFormat and java.util.Calendar is not supported in GWT, hence DIY method is needed. Fixes: #10603
* Ensure type safety and serializable nature of all the listeners (#12045)Tatu Lund2020-07-031-1/+2
|
* Update ComboBox popup position comparison to use correct top value. (#12041)Anna Koskinen2020-06-261-1/+1
| | | Fixes #12029
* Fix rendering of TreeGrid's frozen columns after hierarchy-column reset (#12028)Tarek Oraby2020-06-181-0/+75
| | | | | * Add tests * Fix getVisibleFrozenColumnCount() if SelectionMode is multi
* Fix ComboBox in read-only mode allowing value change by user (#12022)Tarek Oraby2020-05-251-0/+45
| | | | | | | | | * Fix ComboBox in read-only mode allowing value change by user Fixes #12021 * Fix popup hiding condition Co-authored-by: Tatu Lund <tatu@vaadin.com>
* Fix compatibility ComboBox filtering when page length is zero. (#12016)Anna Koskinen2020-05-201-0/+89
| | | Issue #11246, slightly modified cherry-pick from #11247
* Fix scrolling problem in table in Chrome 56+ (#12015)Anna Koskinen2020-05-191-0/+86
| | | | | | * Fix scrolling problem in table in Chrome 56+ Issue #8707, slightly modified cherry-pick of #10492
* Table / TreeTable multiselect disabling of touch detection (#12014)Anna Koskinen2020-05-193-1/+107
| | | | | | | | Added a toggle in Table (and thus TreeTable) where you can explicitly disable multiselect touch screen detection. This allows you to work around issues on hybrid devices that have both a touch screen and a keyboard where you don't want automatic simple multiselection applied. Fixes #11601, slightly modified cherry-pick of #11641
* Fix to compatibility Grid sorting after removing multi-select. (#12012)Anna Koskinen2020-05-151-0/+35
| | | Adapted from V7 fix #10999