192 Commits

Author SHA1 Message Date
pionnegru
10b024e53a tests 2019-12-02 19:17:33 +02:00
pionnegru
e4ae7b2466 enable focus from column definititon 2019-12-02 19:17:31 +02:00
Silviu Popa
202764631a [ADF-5002] Datatable - fix focus selection for grid list (#5268)
* [ADF-5002] Datatable - fix focus selection for grid list

* fix faling e2e
2019-11-20 15:31:19 +00:00
Suzana Dirla
f0ac4b19ad [ADF-4986] Move or copy - Empty cells should not receive focus (#5226) 2019-11-08 16:02:42 +02:00
Cilibiu Bogdan
040fc52724 [ADF-2990] Datatable - access header row via keyboard (#5206)
* header row as adf-datatable-row

* remove tabindex if header is hidden

* adjust logic if no row data is passed

* skip row focus if disabled

* set active row index on header interaction

* take in account header row

* fix header row and cells focus

* tests

* fix reference

* fix tests
2019-11-04 08:08:15 +00:00
Cilibiu Bogdan
af6bd0892c [ADF-2990] Datatable - row navigation (#5198)
* datatable row component

* add to module

* implement datatable row component

* use FocusKeyManager for arrows navigation

* tests

* prevent screen reader to announce undefined value

* prevent from bubbling up

* fix unit test

* fix row locator

* fix locator reference

* fix row reference locators

* fix locator xpath
2019-10-30 07:39:43 +00:00
Suzana Dirla
6119ce83de [ADF-4966] Keep table headers - visually hidden when showHeader false (#5170)
* [ADF-4966] Move or copy - Add table headers - visually hidden

- needed by screen readers

* [ADF-4966] use automatic column header translation

* [ADF-4966] move the fix to the datatable component

-improve accessibility - keep table headers-but visually hidden for showHeader false

* [ADF-4966] code review change

* [ADF-4966] fix array shallow copy on failing e2e-test

* [ADF-4966] improve accessibility only for list display

- fixes failing test
2019-10-25 15:46:45 +01:00
dhrn
baa0d6da30 [ADF-4947] Array type supported in data table columns (#5165)
* [WIP] [ADF-4947] Array type supported in data table columns

* * removed resolver for aria label

* * process services feature added

* * fixed docs
2019-10-18 00:01:52 +01:00
Denys Vuika
d7ab0417b8
[AAE-622] No implicit returns (#5157)
* enable noImplicitReturns rule

* type fixes

* fix return types

* fix return value

* fix tests

* fix visibility service

* update tests

* add missing types

* fix test
2019-10-17 09:35:39 +01:00
davidcanonieto
47ec01555a [ADF-4893] Fix visibility condition in datatable action menu (#5088)
* [ADF-4893] Fix visibility condition in datatable action menu

* Add filtering for when menu cache is disabled

* Fix unit test and improve code

* Fix linting

* Fix linting

* Add missing return type
2019-10-14 15:28:24 +01:00
Cilibiu Bogdan
9f22cb5cc7 fix focus outline (#5115) 2019-09-30 14:19:22 +01:00
Eugenio Romano
3dc92beeb9
Review documentation plus some tools fix (#5100)
* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation
2019-09-26 10:27:04 +01:00
davidcanonieto
6ec6be36d5 [ADF-4913] Fix Gallery View in datatable Component (#5101) 2019-09-26 08:41:29 +01:00
Denys Vuika
90b2cee70d
[ADF-4894] Json editor dialog (#5082)
* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name
2019-09-20 07:26:37 +01:00
Cilibiu Bogdan
d5b4caa5ed [ADF-4892] DocumentList - set appropriate column aria-sort state (#5079)
* set specific aria-sort state

* return false when table has no sorting

* move logic to component

* aria sort method

* tests
2019-09-18 15:21:35 +01:00
Cilibiu Bogdan
5b11e52903 [ADF-4888] DocumentList - cell header title is announced over cell value (#5068)
* fix focus outline

* focus on cell values

* focus on size value if defined

* row actions menu aria-label
2019-09-12 15:04:43 +01:00
Cilibiu Bogdan
bf6889ee54 [ADF-4831] DocumentList - filetype alternative text is not meaningful (#4998)
* filetype alternative text

* icons text translation key

* icon text accessibility translation

* fix e2e

* add miscellaneous file type
2019-09-05 11:50:28 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Suzana Dirla
bfc3f30674 [ADF-4846] Move to ADF the style overrides from ACA (#5016)
* [ADF-4846] add $data-table-cell-link-color variable

- move style fix needed on ACA to ADF

* [ADF-4846] add $adf-permission-list-width variable

- moved style fix for adf-permission-lists from ACA to ADF
2019-08-27 14:56:01 +02:00
Cilibiu Bogdan
9960a37e9a add aria label and selected (#4999) 2019-08-19 22:53:25 +02:00
Cilibiu Bogdan
f5c5e7cf9e add aria-sort (#4997) 2019-08-19 11:33:48 +01:00
Denys Vuika
1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
Suzana Dirla
a4fc53a742 [ADF-4708] fileSize header is now left aligned with bottom cells (#4902) 2019-07-05 14:52:39 +01:00
davidcanonieto
5c07d5b3e6 [ADF-4457] StorageService should be independent of AppConfigService (#4712)
* [ADF-4457] StorageService should be independent of AppConfigService

* [ADF-4457] Fix e2e tests

* [ADF-4457] Fix e2e tests

* [ADF-4457] Improve storage service workflow

* Fix linting

* Fix unit tests

* Fix e2e test

* Add missing class to constructor

* Fix e2e test

* Rebase branch

* Improve unit test

* fix test
2019-06-25 16:21:13 +01:00
Eugenio Romano
f861b94de4
[Staging-branch] 3.4.0 (#4839)
* next 3.4.0

* next 3.4.0

* [ADF-4426] Move CSS overrides from ACA to ADF - 2nd round (#4837)

* [ADF-4426] align toolbar icon color with design

* [ADF-4426] clean-up style - it is never applied

* [ADF-4426] display title for name location cell - useful for long names

* [ADF-4426] move content-node-selector cell fix from ACA

- fixes https://github.com/Alfresco/alfresco-ng2-components/issues/4686

* [ADF-4426] move content-node-selector cell fix from ACA

- fixes https://github.com/Alfresco/alfresco-ng2-components/issues/4686

* [ADF-4426] move image width fix from ACA

* [ADF-4426] allow more customization of data-table borders

* [ADF-4426] move fix from ACA

[ACA-2363] fixes issue with text being visible underneath the info drawer

* [ADF-4426] get adf-datatable-link style from ACA

* [ADF-4426] allow set of DL selected row icon color

* [ADF-4426] allow more document list customization

- code moved from ACA
- more css variables
- removed non used and duplicated outline styles
- some code clean-up...

* [ADF-4635] The Status drop-down is looking different for Processes than for Tasks (#4822)
2019-06-20 12:32:41 +01:00
Cilibiu Bogdan
4603cef19e [ADF-4667] Document list - sorting icon RTL fix (#4848)
* sorting icon RTL fix

* single quotes over double quotes

* overspecify position
2019-06-14 10:04:59 +01:00
davidcanonieto
7497822a46 [ADF-4342] Create localized pipe and centralize date format (#4813)
* [ADF-4342] Date Format defined in app config

* [ADF-4342] Create localized pipe and centralize date format

* Add unit test for new date pipe

* Add info internationalization docs

* Fix lining

* Fix linting

* Fix date pipe unit test

* [ADF-4342] Add supported language files

* Fix e2e tests
2019-06-11 09:35:35 +01:00
davidcanonieto
c85df84a01 [ADF-4636][ADF-4137][ADF-4596] Datatable and Assignee bugs (#4832) 2019-06-11 00:35:02 +01:00
arditdomi
6897f20954 [ADF-4466] Fix alignment issues - IE11 (#4772)
* [ADF-4466] Fix alignment issues - IE11

* [ADF-4466] Fix implementation from demo shell specific to generic

* [ADF-4466] Remove unused query for IE11
2019-05-24 16:41:19 +01:00
Silviu Popa
26a495c95d [ADF-4588] Datatable - fix copy content tooltip for ellipsis cell (#4751)
* [ADF-4588] - remove overflow from ellipsis class

* [ADF-4588] - fix css
2019-05-22 10:34:39 +01:00
davidcanonieto
fc9f04c6c6 [ADF-4498] Disable Sticky header on Datatable if header is not visible (#4701)
* [ADF-4498] Disable Sticky header on Datatable if header is not visible

* [ADF-4498] Improve flag check
2019-05-13 07:02:36 +01:00
davidcanonieto
d6719c0b57 [ADF-4478] Fix layout container and empty template (#4683) 2019-05-02 15:00:09 +01:00
Denys Vuika
55113f37b6 [ADF-4444] drag and drop fixes (#4674)
* more granular control over drag and drop

* fix performance, internal drop-zone directive
2019-04-30 14:53:36 +01:00
arditdomi
54a2b14285 [ADF-4339] Fix documentList and ContentServices UI for IE11 (#4660)
* [ADF-4339] Fix documentList and ContentServices UI for IE11

* [ADF-4339] Fixed syntax mistake
2019-04-29 11:20:09 +01:00
Eugenio Romano
f94eb5872a
[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4643)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell

* [ADF-4405] Fix unit tests

* [ADF-4405] Fix e2e test
2019-04-25 19:49:38 +01:00
Eugenio Romano
d427e06136
Revert "[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)" (#4642)
This reverts commit 630b1043a96e283403e35826e299b5cd1cd6d11d.
2019-04-23 14:30:08 +01:00
davidcanonieto
630b1043a9 [ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell

* Update clipboard.directive.ts

* fix spell
2019-04-23 11:24:39 +01:00
Silviu Popa
834c32f23f [ADF-4403] ClipboardDirective - add default translation key and fix styling (#4610)
* [ADF-4403] ClipboardDirective - add default translation key and fix style on sticky header

* [ADF-4403] - lint

* [ADF-4403] - revert datatable style

* [ADF-4403] - fix unit tests

* [ADF-4403] - fix e2e tests
2019-04-23 11:00:46 +02:00
cristinaj
b58e040d7e [ADF-4394]Add two more tests on copyContent (#4630)
* Add two more tests

* Update data-table-component.page.ts

* Fix lint issues
2019-04-22 23:43:56 +02:00
Suzana Dirla
59eee6ebaf [ADF-4401] Fix DL issues because of nested 'adf-datatable-cell' items (#4615)
* [ADF-4401] remove classname from nested items - use 'adf-content-cell' instead

* [ADF-4401] some DL display fixes

- align header cells with content cells
- columns aligned on Trashcan DL
- ellipsis on long folder names inside the content node selector
- more width on highlight cell from search-results

* [ADF-4401] use 'adf-content-cell'

- to allow ellipsis to display when a parent has 'adf-ellipsis-cell' class

* [ADF-4401] remove not used styles

* [ADF-4401] rename scss classname to have 'adf-datatable' prefix

* [ADF-4401] Add documentation for datatable
2019-04-18 17:07:31 +02:00
Silviu Popa
550c0006c9 [ADF-4394] - add suport for copy clipboard on JSON cell type (#4611)
* [ADF-4394] - add suport for copy clipboard  on JSON cell type

* [ADF-4394] - lint

* [ADF-4394] - change translation keys
2019-04-17 10:23:36 +01:00
Cilibiu Bogdan
36ce9bce0d [ADF-4400] Versioning - restore does not update the document list (#4605)
* emit NodeInfo data on restore

* update row data and cache on node update event

* tests

* fix metadatat e2e
2019-04-16 11:59:37 +02:00
davidcanonieto
4cc449dfbb [ADF-4376] Fix Sticky Header in Datatable Component (#4582)
* [ADF-4376] Fix Sticky Header in Datatable Component

* [ADF-4374] Rebase branch

* remove search from permissions test

* remove search from permissions test
2019-04-12 17:27:51 +01:00
Andy Stark
921fdc00df [ADF-4391] Doc review for 3.2 (#4601)
* [ADF-4391] Reviewed new clipboard class docs

* [ADF-4391] Reviewed new proc cloud class docs

* [ADF-4391] Reviewed new datatable doc additions
2019-04-12 16:18:43 +01:00
Denys Vuika
790beb2bb9 [ADF-4213] drop events for DataTable component (#4589)
* stub for demo shell

* drop events for datatable

* fix docs

* cleanup template

* remove unused attribute

* disable spellcheck for the demo file
2019-04-10 20:21:14 +01:00
Silviu Popa
61ee1f1d53 [ADF-4386] - fix style and remove value from tooltip (#4587) 2019-04-10 17:03:55 +01:00
davidcanonieto
62c71dbec9 [ADF-4372] Fix json type Data Column styles (#4576) 2019-04-09 12:18:36 +01:00
Silviu Popa
a87d1ef002 [ADF-4272] TaskListCloud - improvements on CopyClipboardDirective (#4547)
* [ADF-4272] DocumentList -  add Copy content tooltip directive

* [ADF-4272] - fix build issue

* [ADF-4272] - change directive name and add requested changes

* [ADF-4272] - reset task-list-cloud html content

* [ADF-4272] - fix build

* [AFG-4272] - change name to CopyClipboard

* [ADF-4272] - PR changes

* [ADF-4272] - fix tests

* [ADF-4272[] - lint

* [ADF-4272] - merge clipboard directive with copy-content directive

* [ADF-4272] - PR changes

* [ADF-4272] - change docs
2019-04-08 16:37:37 +01:00
davidcanonieto
ec9d2785fa [ADF-4360] No growing cells for Datatable compoennt (#4561) 2019-04-05 12:47:31 +01:00
Silviu Popa
506ca306da [ADF-4308] DatatableComponent - add Json cell type (#4518)
* [ADF-4308] DatatableComponent - add Json cell type

* [ADF-4308] - PR changes

* [ADF-4306] - remove unnecesary code and properties

* [ADF-4308] - PR changes
2019-04-05 12:46:15 +01:00