summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports (#10330)Ahmed Ashour2017-11-212-5/+2
|
* Update since tags in JavaDoc (#10325)8.2.0.alpha3Teemu Suo-Anttila2017-11-157-15/+15
|
* Add new drop mode ON_GRID for GridDropTarget (#10296)Pekka Hyvönen2017-11-151-16/+47
| | | | | | | | | | | | | | | | | * Add new drop mode ON_GRID for GridDropTarget Also adds a way to not accept drops on rows when the user has sorted the grid. This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted. This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1. Instead if is triggerable via API in GridDropTarget. * Refactor sorted grid drop logic to server side * Block setDropMode calls Blocking setDropMode set values if the grid has been sorted and drop on sorted rows is not allowed. The value is used once the grid is not sorted anymore or the drops are allowed on sorted rows.
* set default ContentMode PREFORMATTED in parameterless TooltipInfo ↵Olli Tietäväinen2017-11-101-0/+1
| | | | constructor, fixes undefined enum value access in VTooltip.setTooltipText
* Fix setting custom tab index for TabSheet or Accordion (#9574) (#10278)Ansku2017-11-102-0/+32
|
* Add ContentMode for row and cell descriptions in Grid (#10282)Teemu Suo-Anttila2017-11-102-6/+37
|
* Remove deprecated usage of ApplicationConnection.hasEventListeners() (#10248)Ahmed Ashour2017-11-075-8/+13
| | | From VDateField and VWindow
* Skip scheduled flush if clear() is called (#10289)Leif Åstrand2017-11-071-8/+15
| | | Based on vaadin/flow#2834
* Make focus circulate in modal dialog to improve accessibility (#10260)Péter Török2017-11-072-1/+32
| | | Make focus circulate in modal dialog to improve accessibility
* Use Logger instead of VConsole (#10249)Ahmed Ashour2017-11-0622-80/+159
| | | Because VConsole is deprecated and it recommends using Logger instead
* Fix javadoc ending (#10274)Ahmed Ashour2017-11-061-1/+1
|
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-0136-646/+396
|
* Use local variable for getWidget(). (#10253)Ahmed Ashour2017-10-3117-278/+292
| | | | | In some places, getWidget() is called many times, and I believe this can have a litte performance improvement, since in some cases super.getWidget() is called more than once.
* Fix end of line comments, which were made by automatic formatter (#10234)Ahmed Ashour2017-10-314-17/+13
|
* Remove redundant interface already implemented by super class. (#10258)Ahmed Ashour2017-10-3112-27/+13
|
* Fix combo box suggestion popup height (#10256)Adam Wagner2017-10-301-3/+11
| | | Fixes #10214
* add Grid.Column#get/setAssistiveCaption (#10219)Knoobie2017-10-302-2/+53
| | | | | | | | | | | | | | | | | | | | | | | | * add Grid#Column#get/setAssistiveCaption * fix test and update doc * move testGridAssistiveCaption to GridTest * delete test file * delete test file * Delete GridAssistiveCaptionTest.java * Create GridAssistiveCaptionTest * Create GridAssistiveCaption * Rename GridAssistiveCaption to GridAssistiveCaption.java * Rename GridAssistiveCaptionTest to GridAssistiveCaptionTest.java * Reformat using eclipse
* Use lambda with Handlers (#10229)Ahmed Ashour2017-10-2743-959/+549
| | | Also improve naming by replacing one-letter variable names.
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-2621-276/+181
| | | Also use "event" as the name for events
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-2629-113/+116
| | | | | * Variable names to conform to naming convention. * Use static constants where it makes sense
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-2634-128/+128
|
* adds simple fix for missing label text in grid select checkboxes (#10223)Knoobie2017-10-232-0/+15
| | | | | | * adds simple fix for missing label text in grid select checkboxes * updated comment and wording
* Unlock panel caption div hacking (#10120)Ilia Motornyi2017-10-231-3/+11
| | | | | | | | * Unlock panel caption div hacking Fixes #10119 * Javadoc formatting fix
* AbstractDateField.formatDate() to be abstract (#10186)Ahmed Ashour2017-10-2011-248/+205
| | | | | | | | | | | | | | | | | | | | | | * AbstractDateField.formatDate to be abstract Remove invalidDateString paramter, as it can be deduced * Fix test * Remove AbstractDateField.getResolutionVariable VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions() * Revert to use fixed value of MONDAY. * release notes * updateAndSendBufferedValues() * Missed call to updateAndSendBufferedValues(); * release note
* Fix typos (#10213)Ahmed Ashour2017-10-2016-28/+28
| | | | | | * Fix typos * Fix
* Check class name type on Grid cell mouse over (#10194)Adam Wagner2017-10-202-1/+19
| | | | | | | | | | * Check whether className is of type string * Move string type checker method to widget util * Fix formatting of WidgetUtil * Break svg into lines
* Improve role usage in grid (#10206)Knoobie2017-10-201-4/+86
| | | | | | | | | | | | | | | | | | | | | | | | * add role="row" and role="gridcell" * optimize code and add additional rows for the header * add simple test * improve code and add rowgroup * add debug log * add more log to test * remove debug test info and add role before appending to tr * wording - change contains to contain * create enum for magic strings, change comments and method signature * rename enum to be singular and rename param roleName to role * update javadoc, rename and make enum public
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-2017-42/+65
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Fix HTML tags inside code in javadoc (#10160)Ahmed Ashour2017-10-202-7/+5
| | | | | | | | * Fix HTML tags inside code in javadoc * only modify <table> and <tr> * Fix javadoc
* Scheduler.ScheduledCommand and RepeatingCommand to be lambda (#10203)Ahmed Ashour2017-10-2028-476/+285
| | | | | | | | * Scheduler.ScheduledCommand and RepeatingCommand to be lambda * Restore <table> in javadoc * Fix docs
* Add spaces after 'if' and 'for' in JavaScript (#10199)Ahmed Ashour2017-10-2028-149/+142
| | | | | | | | * Add spaces after 'if' and 'for' in JavaScript * Revert to old format * Remove whitespaces
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-208-34/+30
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Fix AbstractDateField to correctly show week day names (#10188)Ahmed Ashour2017-10-162-8/+30
| | | Fixes #9200
* Fix some checkstyle warnings (#10179)Ahmed Ashour2017-10-132-8/+4
|
* Convert AbstractDateField not to be a LegacyComponent (#10148)Ahmed Ashour2017-10-1317-390/+431
|
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-1215-40/+45
|
* Remove redundant null checks before an instanceof (#10173)Ahmed Ashour2017-10-122-6/+3
|
* Add aria-rowcount to grid (#10167)Knoobie2017-10-111-8/+77
| | | This is based on discussion from vaadin/vaadin-grid#1023 .
* Fix for Grid client-side exception. (#10166)Piotr Wilkin2017-10-111-2/+5
| | | | | Do not try to update the select all checkbox if it is not visible. Fixes #10164
* Fix typos (#10158)Ahmed Ashour2017-10-106-17/+17
|
* Remove unneeded .toString() (#10141)Ahmed Ashour2017-10-107-15/+16
|
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-101-0/+27
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* Use StringBuilder instead of StringBuffer (#10154)Ahmed Ashour2017-10-096-6/+6
|
* Add empty line at the end of files (#10142)Ahmed Ashour2017-10-0617-17/+17
|
* Fix typos (#10124)Ahmed Ashour2017-10-044-14/+14
|
* Registration to remove state.registeredEventListeners (fixes #9634) (#10130)Ahmed Ashour2017-10-041-3/+3
| | | This changes SharedState.registeredEventListeners to be a Map that keeps track of how many listeners of each type have been added, and handles unregistering of such listeners correctly.
* Add role="grid" and aria-multiselectable to grid (#10009)Knoobie2017-10-046-3/+68
| | | Also adds aria-selected for grid rows.
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-034-21/+25
| | | | Also removes dependency on junit.framework.TestCase .
* Use enhanced for loop for arrays. (#10121)Ahmed Ashour2017-10-026-13/+9
|
* Simplify conditional logic. (#10122)Ahmed Ashour2017-10-025-14/+0
| | | And remove unused imports.