| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* Fix detach of grid when it contains frozen columns
Fixes #8748
|
|
|
|
|
|
| |
* Migrate Escalator tests for 8
Tests require reindeer / base for escalator to render correctly.
|
|
|
| |
Fixes #8778
|
|
|
|
| |
Fixes #8622
Fixes #8623
|
|
|
|
|
| |
Also fixes JSNI calls in compatibility Upload component.
Fixes #8728 for the compatibility package
|
|
|
|
|
|
|
| |
Columns unregister themselves from the grid through removeColumn, also
when the whole grid is removed.
Fixes #8748
|
| |
|
|
|
| |
Fixes #8728
|
| |
|
|
|
|
|
| |
Synchronises parts of compatibility package code to match 7.7
Picks suitable patches for 8 code as well
|
| |
|
|
|
|
|
|
|
|
|
|
| |
endDependencyLoading that was used for starting to load the deferred
connector bundle is only called during regular application init if the
theme wasn't yet loaded when the initial UIDL request finished.
With this patch, the bundle is instead set to be loaded after the
initial UIDL message has been completely processed.
Fixes #4763
|
|
|
| |
To ensure the resource is automatically closed
|
|
|
|
|
|
| |
* Fix exception when no columns are shown or all columns are frozen
Fixes #8329
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix partial state change handling of JavaScript components
In ace0e324b69753431dcde9949eaa9b0e3e648db9 (Use diffstate for JS connectors)
partial state change handling for JavaScript components was introduced, but the
setNativeState method in JavaScriptConnectorHelper was not adjusted.
By removing the cleanup code from the updateNativeState method it can
be ensured that the non-changed properties are still present on the state object.
* Add test for preserving untouched JS state fields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add initial implementation of TreeGrid
* Refactor TreeGrid and related classes
* Fix potential class cast exception in TreeGrid#getDataProvider
* Add smoke tests for TreeGrid
* Add communication constants for TreeGrid
Use shared constant values for hierarchy data serialization and deserialization
* Fix event ordering in TreeGrid, add javadocs, keyboard navigation test
* TreeGrid improvements
* Add TreeGrid.getDataProvider to StateGetDoesNotMarkDirtyTest exclude list
* Merge remote-tracking branch 'github/master' into tree-grid
* Remove getEscalator override from TreeGrid
|
|
|
|
|
|
|
|
|
|
| |
* Make DragSource extension/component available in DropEvent (resolves #8439)
* Update drag and drop test to use new API
* Change type of drag source and update javadoc
* Use existing data map instead of DataTransfer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Migrate v7 Grid tests. 7th round.
Fixes #8419
* Fix test failures
* Minor improvements
* Merge remote-tracking branch 'github/master' into 8436-grid-test-migration
* Merge remote-tracking branch 'github/master' into 8436-grid-test-migration
* Update screenshot reference
|
| |
|
|
|
|
| |
A login page you want to redirect to is typically in the webapp root,
which you can now refer to as "Vaadin-Refresh: context://login.html"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix java packaging order (#106)
Closes vaadin/archetypes#113
* Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607)
* Enable changing the backing bean for BeanItem (#4302) (#77)
When storing a bean to the database, you typically get a new and updated
bean instance back. By allowing to change the bean instance, we make it
possible to just update the single BeanItem instance which can be used
in many places.
* Make AtmospherePushConnection methods public (#7973)
There is no sensible way to use a custom version of APC, so protected
access does not help in any way to access the underlying resource and/or
connected UI.
* Use correct indexes in multiselect checkboxes after removing rows (#8072)
Fixes #8011
* Fix removal of hidden Grid columns (#8071)
Fixes #8018
* Call error handler for exceptions in UI.init() (#8055)
Fixes #4995
* Render font icon correctly on the 'more' menu item (#8126)
* Render font icon correctly on the 'more' menu item
Fixes #8125
* Reopen Grid details on attach, fixes #8015 (#8074)
Fixes #8015
* Fix broken Grid tests after picking changes from 7.7.7
Removed duplicate setDetailsVisible calls from onDetach
* Correctly detach components in merged cells when a static row is removed (#8142)
Fixes #8140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Migrate v7 Grid tests. Next round.
Fixes #8419
* Migrate v7 Grid tests. Next round.
Fixes #8419
* Merge remote-tracking branch 'github/master' into 8419-grid-tests
* Remove RunLocally annotation from GridHeightTest
|
|
|
| |
Fixes #2523
|
|
|
|
|
|
|
|
| |
* Make DragSourceExtension and DropTargetExtension generic (#8440)
* Apply generalization of drag and drop extensions in #8440
* Override javadocs to be more specific
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reduce ComboBox initial requests
Use initial fetched data on client side,
do not request data from server side for each time popup is opened.
Fixed initial filter being null for ComboBox on DataProvider,
causing unnecessary size & fetch for not-changed filter.
Fixed ComboBox sending default filter unnecessarily to server.
Fixed wrong page indexing in VComboBox -> ComboBoxConnector.
Fixes #8496
Fixes vaadin/framework8-issues#488
* Fix last item missing
When pageLength was 0 and nullSelectionAllowed,
the last item was not shown. Tried to sensify the API
for total suggestions versus total suggestions + null selection item.
* Fix ComboBox selected item updates
Handles changing of ItemCaptionGenerator or ItemIconGenerator,
need to update the selected item caption and icon separately.
Previously it worked because all data was sent all the time to client.
Doesn't fix the issue, when selected item is updated with refreshItem(),
and it is not on the active range that will be sent to client.
For that, ComboBox would need a separate notification about item update.
* Updated screenshots
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add DragSource Extension (#8169)
* Add DropTarget Extension (#8170)
* Add DragStart Event to DragSource Extension (#8171)
* Make DataTransfer.dropEffect configurable (#8174)
* Make DragSource.dataTransfer data configurable (#8172)
* Add server-side Event for drop (#8177)
* Added license headers
* Extract handler methods, move DropEvent and DropListener to new file, move enums to top
* Replaced LinkedHashMap with Map and added List to preserve order of data
* Add API for adding a JS acceptance criteria for dragover and drop (#8178, #8179)
* Make DragSource Extension extendable (#8175)
* Make DropTarget Extension extendable (#8176)
* Added javadoc to protected methods
* Moved EffectAllowed to shared so that it could be used in shared state directly
* Moved DropEffect to separate file, some review fixes and javadoc
* Added list to DropTargetRpc to preserve order of data
* Remove event listeners on unregister
* Changed method names set/getData() to more descriptive set/getTransferData()
* Add server side dragStart event (#8171)
* Add style to prevent text selection to allow drag
* Remove target indicator style on drop
* Add client side dragend event listener for drag source
* Add server side dragend listener.
Attach client side listener only when server side listener added.
* Add drag source information to server side dragstart and dragend events.
* Fixed some issues addressed in review
* Trigger server side dragstart only when there is a listener attached
* Criteria script can be set as null to clear
* Use Js Interop instead of JSNI for handling event listeners
* Use elemental package instead of Js Interop for handling event listeners
* Add missing javadoc for public methods
* Add default value "uninitialized" to effectAllowed parameter
* Simple test UI for HTML5 DnD functionality (#8395)
* Add javadoc and other minor changes
|
|
|
| |
Fixes #8422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added column should also be added to footer (#590)
When adding (readding) a column the column should also be
added to footer as it will be removed and iterator will request footer for it.
* Add test for re-add column (#590)
* To lowerCase using Locale
* Fixed compilation problem.
Too little sleep for a friday evening...
|
|
|
| |
Fixes #8405
|
|
|
|
| |
Fixes #8371
Fixes #8128
|
|
|
|
|
|
|
|
|
| |
* Fix problem with re-opening the popup (#8446)
Fixed problem that disables opening of popup
after closing it by clicking the datefield-button.
* Fix issue #8446 in compatibility version PopupDateField also.
|
|
|
|
|
|
|
|
|
|
| |
* Migrate v7 Grid tests. Next round.
Fixes #8419
* Add Grid editor events.
Fixes #8202.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add scroll methods to serverside grid (#8203)
Added scrollToTop(), scrollToEnd() and scrollTo(int row)
* Fix scrolling to view of opened details (#8203)
Removed dependency for DetailsManagerConnector from GridConnector.
GridConnector now handles one off listeners.
* Rename detailsRefresh to better show that it's one-off.
Add missing copyright header.
|
|
|
|
|
|
| |
* Grid tests migration. Next round.
Fixes #8373
|
|
|
|
|
|
|
| |
* Include FontAwesome by default for easier migration
* Fix JSComponentLoadingIndicatorTest
Fixes #7979
Addresses part of #8219
|
|
|
|
|
| |
Running formatter:format will format all files in a submodule using an
embedded Eclipse compiler (based on Neon SR1)
according to the regular formatting settings file.
|
|
|
| |
Fixes #8366
|
|
|
|
|
|
| |
* Introduce empty selection functionality for NativeSelect.
Fixes vaadin/framework8-issues#545
|
|
|
|
|
|
| |
* Allow to disable user selection in the grid model.
Fixes vaadin/framework8-issues#546
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add DataProvider refreshItem for single item update
* Add 'id' concept for DataProviders
This patch also adds a simplified data provider that can replace items
based on their id. This can be used to simulate stale objects from an actual
backend.
* Add refresh logic to Grid SelectionModels
* Remove broken equals and hashCode
* Refresh KeyMapper, clean up some methods
* Fix UI.access in test
* Fix tests and Grid single selection model
* Do clean up before replacing data provider
* Check correct variable for null value
* Fix other selects, add generic tests
* Code style fixes, removed assert
* Merge remote-tracking branch 'origin/master' into 286_refresh_items
* Fix documentation for refreshing an item
* Improve introduction chapter, minor clarifications
* Merge remote-tracking branch 'origin/master' into 287_refresh_items
* Add missing parameters in unit tests
|
|
|
|
|
| |
Note that not all browsers yet support HTML imports. If a polyfill
is needed to load HTML imports, it must be loaded before HTML Imports
can be loaded. There is no automatic loading of any polyfills.
|
|
|
|
|
| |
Cannot overload the same create method for this purpose since it
conflicts with T... overload. Each case is instead given its own
descriptive but still discoverable method name.
|
|
|
|
| |
(#8293)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix absolute layout component sizing on size change (#8255, #8256, #8257)
Changing from relative to defined size leaves the component positioned wrong,
also changing from defined size to relative size leaves the component in the
wrong position with the wrong size.
Change makes the wrapper rerun setChildWidgetPosition() that adds/removes
necessary css definitions to/from the cssPosition String.
* Clean test sources according to review.
|
|
|
|
|
|
| |
* Overload AbstarctComponent.setDescription() with content mode parameter
Fixes #8185
|
|
|
|
|
|
|
|
|
|
| |
* Introduce DateTimeFile and InlineDateTimeField.
Fixes #8132
* Correct and provide declarative tests.
* Provide a date converter and UI tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change BackEndDataProvider into an interface
BackEndDataProvider is now an interface with methods for setting
sorting options based on SortOrder instances.
AbstractBackEndDataProvider stores sorting options, combines them with
the sorting provided in the query and invokes its own abstract fetch and
size methods.
CallbackDataProvider implements a BackEndDataProvider based on two
lambdas.
This is one of many steps towards #8245
|
|
|
|
| |
* Add getHeaderCellByCaption method to tb-api GridElement
|