aboutsummaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* feat: Update POMs and bump build dependency versions (#12636)Patrik Lindström2024-11-081-2/+2
| | | | | | | | * Ignores VS code project file and updates to .project * Updates DTD hrefs from HTTP to HTTPS * Updates commons-io, commons-cli, commons-codec, hsqldb and animal-sniffer * Fixes dependency management violations * Includes Maven Flatten Plugin for cleaner release POMs * Updates Atmosphere version
* Fix Grid column reorder with partially hidden joined header cells. (#12461)Anna Koskinen2021-10-291-7/+8
| | | (#12429)
* 8.14 cherry-picks (#12418)Olli Tietäväinen2021-10-0510-23/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve thread safety (#12395) See: https://vaadin.com/forum/thread/17522264/concurrentmodificationexception-in-vaadin-shared-on-karaf-4-2-x * Fix incompatible selenium version in test module. (#12397) * Fixed a dependency version in a karaf test module. (#12399) * Checkstyle tweaks to DateField widgets. (#12400) - Added and updated JavaDocs. - Updated comments. - Updated to use non-deprecated method calls. - Removed unnecessary warning suppressions. - Suppressed warnings for unavoidable deprecation. * fix: set Vaadin session attribute using lock in reinitializeSession (#12401) * Cherry picked unit test from Flow See https://github.com/vaadin/flow/pull/11538 * Fix missing import * Cherry pick fix from Flow * deprecate vaadin-snasphots repo (#12405) * deprecate vaadin-snasphots repo * Update chrome version to 93 * add more screenshots * fix: Add MPR UI id request parameter (#12412) * 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 '=' * Update links shown by license checker (#12402) vaadin.com/pro does no longer have the info * fix: Add row limit to DataCommunicator row data requests (#12415) * Add row limit to DataCommunicator row data requests * Add missing constant * Add unit test * Add test for extending Grid * Fixed test Co-authored-by: Tatu Lund <tatu@vaadin.com> Co-authored-by: Anna Koskinen <Ansku@users.noreply.github.com> Co-authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com> Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
* Some Checkstyle fixes. (#12379)Anna Koskinen2021-08-245-15/+275
| | | | | | - Added and updated JavaDocs. - Deprecated unused fields and methods that update them. - Suppressed unavoidable deprecated calls. - Switched other deprecated calls to use currently recommended calls.
* Checkstyle fixes for SplitPanel widgets. (#12378)Anna Koskinen2021-08-233-26/+185
| | | | | | - Added and updated JavaDocs. - Added default cases to Switch statements. - Deprecated unused fields. - Switched to use non-deprecated calls where possible.
* Some Checkstyle tweaks. (#12376)Anna Koskinen2021-08-238-11/+114
| | | | | - Added and updated JavaDocs. - Formatting fixes. - Suppressed deprecation warnings.
* Updates to TreeGrid's ensureAvailability handling. (#12374)Anna Koskinen2021-08-201-13/+11
| | | | | | | | - 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/+2
| | | Fixes #11673
* Reworked and cleaned up client-side TabSheet and Accordion. (#12357)Anna Koskinen2021-08-136-334/+1244
| | | | | | | | | | | | | | - 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.
* Split too long method in two. (#12351)Anna Koskinen2021-07-271-63/+69
|
* Checkstyle fixes. (#12349)Anna Koskinen2021-07-2717-17/+342
| | | | | - Added and completed JavaDocs. - Fixed a typo in logging. - Removed an unused parameter in a private method.
* Deprecating Flash component. (#12348)Anna Koskinen2021-07-262-0/+106
| | | Also added missing JavaDocs.
* Divide too long Grid and Escalator methods into smaller units. (#12340)Anna Koskinen2021-07-232-259/+348
|
* Checkstyle fixes (#12347)Anna Koskinen2021-07-2382-139/+1638
| | | | | | | | | | | | - 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-1/+2
| | | Fixes #12341
* Checkstyle fixes (#12339)Anna Koskinen2021-07-1551-85/+1177
| | | | | | | | | | | | | | - Added missing default sections to switch blocks. - Added missing JavaDocs and JavaDoc parameters. - Added wildcards where possible. - Deprecated unused method. - Fixed JavaDoc formatting. - Removed inner assignments. - Removed unused imports. - Removed unused variables. - Removed warning suppressions that were unnecessary or about boxing (not tracked by coding conventions). - Suppressed warnings about rawtypes, deprecation, and unchecked where couldn't be avoided.
* Code cleanup (#12333)Anna Koskinen2021-07-0810-89/+91
| | | | | | | | | | | | | | | | - 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/+23
| | | Fixes: #12328
* Trigger repositioning after full refresh of current details. (#12312)Anna Koskinen2021-05-201-0/+6
| | | Fixes #12310
* Ensure large tooltips can be closed on touch devices. (#12282)Anna Koskinen2021-04-301-1/+1
| | | Fixes #10435
* Fix validation in non-buffered Grid editor (#12281)Tarek Oraby2021-04-284-8/+91
| | | | | 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-1/+3
| | | | | | | | | | | * 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>
* Update 8.14-SNAPSHOT and release note (#12261)Zhe Sun2021-04-141-1/+1
|
* Fix Window dragging on touch screen. (#12260)Anna Koskinen2021-03-311-2/+2
| | | | | | | | | - Added check for touch move event in order to allow the same flow for both mouse and touch events when dragging a Window by its header. - Can be tested with SubwindowDraggability class. Fixes #12257 Co-authored-by: Jakub Antoniak <j.antoniak8@gmail.com>
* Add missing 8.13 since tag (#12236)Zhe Sun2021-03-113-3/+3
|
* Optimized #12211 fix. (#12234)Anna Koskinen2021-03-101-19/+6
|
* Remove outdated comment (#12233)Anna Koskinen2021-03-091-1/+0
|
* Fix updating Escalator's physical row index. (#12232)Anna Koskinen2021-03-081-1/+4
| | | | | | | | | | | | * Fix updating Escalator's physical row index. - Physical index should take into account that more than one row can have a spacer. Physical index has no practical effect on how Grid looks like or behaves, since Escalator by design operates independently of it and the visual positioning of elements is based on the logical and visual indices. Physical index only affects the order of elements within the DOM tree, where a mismatch can cause confusion during debugging.
* Fix updating Grid's item set when details rows are open. (#12231)Anna Koskinen2021-03-084-3/+51
| | | | | | | | | | - 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-04523-523/+523
| | | | * Update copyright year range.
* Remove whitespace-maven-plugin and formatter-maven-plugin. (#12213)Anna Koskinen2021-03-031-9/+0
| | | | | - These plugins cause significant problems for many Windows developers, and since most active maintainers are currently included in that group, the plugins have been deemed more trouble than they are worth.
* Fix displaying checkboxes within Grid editor row. (#12212)Anna Koskinen2021-03-031-0/+7
| | | | | | | | * 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.
* Fixed input to ensureAvailabilty (#12208)Oliver Buchien2021-02-261-2/+2
|
* fix: Focus-activated shortcut listener in compatibility TextField (#12203)Tatu Lund2021-02-161-5/+23
|
* Re-use ComputedStyles in Escalator when possible. (#12186)Anna Koskinen2021-02-052-9/+38
|
* Remove outdated IE10 compatibility class (#12193)Anna Koskinen2021-02-021-34/+0
| | | Leftover from https://github.com/vaadin/framework/commit/0081286c8d05c3751803181230092bd4b1e769f7
* Move call to getMessageHandler().onResynchronize(); to right place (#12178)Tatu Lund2021-01-071-1/+1
| | | | | 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-183-13/+93
| | | | | | | | | | | | | | | | | | | | | | | * 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
* MenuBar: Don't set openRootOnHover when on Android or IOS. (#12135)Martin Vysny2020-12-031-2/+9
| | | Fixes #5873
* Ensure Composite's contents gets re-measured on resize. (#12154)Anna Koskinen2020-12-011-0/+2
| | | Fixes: #12153
* Tweaks to Grid/Escalator column size handling (#12145)Anna Koskinen2020-11-104-93/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Use generated id of the menu item to help testing of the menubar (#12124)Tatu Lund2020-10-221-0/+5
| | | | | Use generated IDs for MenuItems when an ID is set for MenuBar. Tying the ID to MenuBar's ID helps with the possible case of having multiple MenuBars on the same view and avoids to have excess id's when not needed. Fixes: https://github.com/vaadin/framework/issues/8186
* Take border into account in Grid editor position when it opens upwards. (#12118)Anna Koskinen2020-10-131-3/+4
|
* When a Grid gets scroll-locked, cancel the scrollInProgress handler. (#12116)Anna Koskinen2020-10-121-3/+10
| | | | | | | Otherwise opening a Grid editor can cause ApplicationConnection to get stuck in 'active' state even if no actual scroll position processing is ongoing, which in turn causes TestBench delays when it tries to wait until ApplicationConnection indicates that everything necessary has been processed.
* Update to 8.13-SNAPSHOT (#12110)Zhe Sun2020-10-071-1/+1
|
* Open details rows shouldn't get removed when a new row is added to Grid (#12109)7.7.22Anna Koskinen2020-10-061-6/+0
| | | Fixes: #12106
* fix for #12079 - recalculate Composite layout inside Window (#12082)Olli Tietäväinen2020-08-261-2/+2
| | | Co-authored-by: Anna Koskinen <anna@vaadin.com>
* Fix typo in error message (#12077)Anna Koskinen2020-08-171-1/+1
|
* Add 1px buffer to Escalator column natural widths. (#12075)Anna Koskinen2020-08-171-7/+7
| | | | | | | | | | | | * Add 1px buffer to Escalator column natural widths. The purpose of the buffer is to avoid subpixel handling issues, especially when zoomed in or out. In case fractions need to be adjusted for browser compatibility, round up to ensure the contents have the space they need. Fixes #12048
* Add enabled check to Column#isResizable (#12063)Tatu Lund2020-08-061-1/+3
|