Commit Graph
100 Commits
Author SHA1 Message Date
Cilibiu Bogdan 272e2d67e3 outline current page thumbnail (#7042) 2021-05-21 11:43:02 +01:00
Cilibiu Bogdan f03d133899 prevent children events from bubbling up (#7040) 2021-05-18 14:04:10 +01:00
Cilibiu Bogdan 3a558d701a as dependency (#7015) 2021-05-11 20:11:57 +01:00
Cilibiu Bogdan e21b777a3c [ADF-5354] Content node selector is not working properly for read-only folders (#6777)
* disable button when no permission

* test

* breadcrumb fallback when selection is not valid

* test
2021-03-06 09:37:42 +00:00
Cilibiu Bogdan a72fe557b1 [ADF-5347] Viewer - Closing PDF before all pages are loaded causes errors (#6737)
* flatten promises

* Disable pre-fetching of PDF file data

* default options
2021-02-26 14:55:43 +00:00
Cilibiu Bogdan 4653e10872 move scroll overflow to parent (#6730) 2021-02-25 13:05:42 +00:00
Cilibiu Bogdan 588db58b5d [ADF-5339] ESCAPE should close opened dialog not the overlay viewer (#6696)
* don't close viewer if Escape was performed on opened dialog

* subscribe only in overlayMode

* tests

* lint

* move logic to method
2021-02-19 16:59:55 +00:00
Cilibiu Bogdan 8471fe40a5 [ADF-5311] Extract infinite select scroll loading logic to a reusable component (#6536)
* move translation to core

* select scroll directive

* register directive

* add infinite scroll directive

* clean up component and aditional logic

* use  waitForAsync over async

* update docs

* change output emitter name

* revert to async

* restore default value;

* test
2021-01-15 11:35:39 +00:00
Cilibiu Bogdan 145e3244e7 [ADF-5284] Restore original plugin functionality (#6348)
* add $ignoreReferenceList to ExtensionConfig interface

* update schema

* change type

* load registered extensions

* filter out ignored extensions

* tests

* conditionally load plugins

* update tests
2020-11-16 17:42:35 +00:00
Cilibiu Bogdan 8c62754d4b [ADF-5280] [Cloud] Tasks - Created Date filter (#6254)
* Created date filter transation

* created date range model

* createdDateRange property

* add createdDate filter data

* update tests
2020-10-19 11:09:43 +01:00
Cilibiu Bogdan eaa9a2c1f7 [ADF-5279] Date range type filter selection triggers list reload (#6253)
* emit event when date is not of range type

* test
2020-10-19 11:09:31 +01:00
Cilibiu Bogdan f2f1cb4187 [ACA-3626] Cloud Task - completed date filter (#6185)
* completedDate task filter

* translation key

* update TaskFilterCloudModel

* update TaskQueryCloudRequestModel

* add completed date inputs

* update TaskQueryCloudRequestModel request params

* update tests
2020-09-29 22:29:28 +01:00
Cilibiu Bogdan d7ce7d0b00 accessibility (#6164) 2020-09-25 15:02:57 +01:00
Cilibiu Bogdan 3da5196b2d [ACA-3899] Viewer thumbnails cannot be accessed by keyboard (#6150)
* accessibility

* add thumb focus

* close thumbs list event

* fix eventbus listener

* rename parameter

* track previous focused element

* implement FocusKeyManager

* fix getGlobalEventBus is deprecated

* keyboard navigation

* set tabindex

* setActiveItem on list change

* update  test
2020-09-23 05:57:46 +01:00
Cilibiu Bogdan 5f5867370c [ACA-3839] Document List - clear filter called multiple times (#5991)
* clear only when filter has value

* update tests

* fix lint
2020-08-13 16:11:14 +01:00
Cilibiu Bogdan fb24c572fa update i18n strings (#5966) 2020-08-10 19:01:20 +01:00
Cilibiu Bogdan 0df4f86292 update docs (#5965) 2020-08-10 15:42:47 +01:00
Cilibiu Bogdan 9b0db0a82e [ADF-5213] Metadata - select list filter (#5961)
* select filter input component

* include theme

* add filter input

* show input conditionally

* convert value to string for d:int type values

* filter list options pipe

* add components to module

* convert int value to string

* i18n

* update tests

* tests

* update config

* remove unneeded decorator

* fix lint

* update schema

* remove filter pipe

* provide a filtered list
2020-08-09 23:35:46 +01:00
Cilibiu Bogdan f1a98cc6d6 [ACA-3745] Folder - update metadata default copies the name in the title field (#5923)
* add title input

* title form control

* i18n

* update tests
2020-07-29 14:02:59 +01:00
Cilibiu Bogdan 54df083311 [ADF-5204] Metadata - Error message still appears after exiting Edit form (#5922)
* show error only in editable mode

* reset errors when reset value

* update tests
2020-07-29 09:27:17 +01:00
Cilibiu Bogdan d745308cf3 include definition (#5910) 2020-07-24 16:58:35 +01:00
Cilibiu Bogdan aa3d890342 [ACA-3742] Metadata - constraints validation (#5908)
* card min max value validator

* card match value validator

* card value length validator

* map validators to constraint type

* add minmax

* update exported validators

* register validators based on constraint type

* translate errors with parameters

* tests
2020-07-24 16:58:07 +01:00
Cilibiu Bogdan 5257917258 [ADF-3484] - Metadata drop-down list option for properties constrained by a list of values (#5892)
* update js-api

* include definition field

* process LIST constraint

* update tests

* dropdown visibility

* optional chaining
2020-07-21 22:46:46 +01:00
Cilibiu Bogdan 373025c3b4 disable floating labels (#5669) 2020-05-04 16:42:33 +01:00
Cilibiu Bogdan 697ce6e365 [MNT-21469] TreeView component has events on icon only (#5637)
* change mat-icon-button with mat-button

* align icon and label

* fix aria-label undefined value

* fix translation

* simplify html structure

* test
2020-04-24 15:08:19 +01:00
Cilibiu Bogdan 983e01f70c [ADF-5087] Document List - custom sources 'where' clause not passed (#5558)
* pass document list where clause to custom sources

* update docs
2020-03-19 09:38:58 +00:00
Cilibiu Bogdan f8d3b29ff5 [ADF-5064] Info Drawer - More and Less Information buttons are reversed (#5405)
* display correct button for state

* update tests

* update tests
2020-01-27 13:07:44 +01:00
Cilibiu Bogdan b931c4a85c [ADF-5062] Content Node Selector - show inputs based on configuration (#5368)
* toggle search and dropdown list by configuration

* update docs

* tests

* fix inputs setter

* rename
2020-01-15 10:51:57 +01:00
Cilibiu Bogdan 79eb9365c8 [ADF-5007] Comments - textarea Escape event cannot be canceled (#5266)
* use keydown event

* cancel event propagation

* update tests
2019-12-03 14:11:21 +00:00
Cilibiu Bogdan 90402ac43d [ADF-5015] DocumentList - favorites properties (#5278)
* merge entry properties to target

* fix default properties undefined value

* tests
2019-11-26 09:53:35 +00:00
Cilibiu Bogdan 81dcfa4341 [ADF-4995] Metadata - edit mode cannot be access via keyboard (#5253)
* use keydown over keyup

* fix test

* fix tests
2019-11-15 14:33:12 +00: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
Cilibiu Bogdan 7b52a31001 add aria label (#5186) 2019-10-24 10:29:46 +01:00
Cilibiu Bogdan a60fb744c4 [ADF-4965] Viewer - pass navigate before and next event (#5166)
* pass event

* update docs
2019-10-17 19:25:54 +01:00
Cilibiu Bogdan ee5c90871a [ADF-4958] [ADF-4959] Info Drawer - Buttons don't have role and accessible by keyboard alone (#5161)
* actions accessibility

* lint

* access setEditMode by keyboard

* fix test

* update action automation id reference

* update element finder reference

* update automation id reference
2019-10-17 11:18:15 +01:00
Cilibiu Bogdan 2f1a5943b6 panels header visual accessibility (#5162) 2019-10-16 12:52:06 +01:00
Cilibiu Bogdan 8bb8231a83 mark aria headings (#5155) 2019-10-15 15:23:55 +01:00
Cilibiu Bogdan 1d7ef62095 [ADF-4953] Uploader - confirmation dialog actions should return focus to the upload dialog (#5148)
* trap confirmation dialog

* focus dialog when not in confirmation state

* test
2019-10-14 11:18:17 +01:00
Cilibiu Bogdan b1bccdb0e3 fix focus issues (#5147) 2019-10-14 11:00:01 +01:00
Cilibiu Bogdan 8da16ea1a7 [ADF-4937] Viewer - Drag and Drop is not operable with keyboard alone (#5126)
* add keyboard event logic

* tests

* fix outline visibility
2019-10-09 17:52:26 +01:00
Cilibiu Bogdan 922e6ae3ab add aria-label attribute (#5138) 2019-10-08 10:30:06 +01:00
Cilibiu Bogdan 922a85935e add sidebar button aria-expanded attribute (#5120) 2019-10-07 10:18:39 +01:00
Cilibiu Bogdan b637cea059 focus dialog on files added (#5124) 2019-10-06 18:09:51 +01:00
Cilibiu Bogdan 6857213db6 trap focus for overlay viewer (#5127) 2019-10-06 18:08:15 +01:00
Cilibiu Bogdan 4a531dafcd don't use image path for alt text (#5130) 2019-10-06 18:04:50 +01:00
Cilibiu Bogdan 9f22cb5cc7 fix focus outline (#5115) 2019-09-30 14:19:22 +01:00
Cilibiu Bogdan 492a8e72f1 generic text (#5105) 2019-09-27 10:55:40 +01:00
Cilibiu Bogdan 271c5f3d9c update sso docs (#5104) 2019-09-26 16:02:31 +01:00
Cilibiu Bogdan 82b0879b0f [ADF-4810] sso public urls configuration (#5102)
* update OAUTH schema and model

* update demoshell config for public urls
2019-09-26 13:37:48 +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 5b9f37d01f [ADF-4838] Upload Dialog - canceling a pending file cancels the file in progress (#5063)
* add automation id

* call cancel upload api only if file is not pending

* tests

* e2e
2019-09-09 11:23:07 +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
Cilibiu Bogdan ef09b077c4 [ADF-4865] Upload Dialog - row actions not accessible by keyboard alone (#5051)
* access upload dialog information by keyboard

* upload files actions keyboard accessibility

* aria labels translation keys

* refractor styling

* toggle action icons

* update docs

* e2e

* e2e update action reference
2019-09-05 11:08:46 +01:00
Cilibiu Bogdan df0bb75324 [ADF-4862] Upload dialog - reading order (#5045)
* dialog container accessibility

* upload container aria label translation key

* focus on active upload dialog

* test

* add back removed aria-label
2019-09-03 11:11:47 +01:00
Cilibiu Bogdan ddb5fb445c [ADF-4855] Upload dialog - Buttons must have discernible text (#5040)
* aria labels translation keys

* actions aria label

* announce confirmation content
2019-09-02 12:45:08 +01:00
Cilibiu Bogdan d7ff927b79 [ADF-4845] Uploader - Expanded/collapsed state not exposed (#5015)
* state accessibility

* remove aria-disabled
2019-08-29 20:13:57 +01:00
Cilibiu Bogdan f35f0466e6 [ADF-4839] Document List - column name link accessibility (#5011)
* accessibility

* rename translation key

* translation key name

* link name component accessibility

* generic translation
2019-08-29 15:07:01 +01: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
Cilibiu Bogdan 3453cacaea [ADF-4802] Login accessibility (#4988)
* login button aria label

* password toggle accessibility

* translation

* fix test

* fix automation if
2019-08-12 16:41:32 +01:00
Cilibiu Bogdan b176a43fba [ADF-4497] ARIA role must be appropriate for the Breadcrumb element (#4986)
* breadcrumb accessibility

* translation
2019-08-12 16:28:53 +01:00
Cilibiu Bogdan ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +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
Cilibiu Bogdan f18d534f9e update documentation (#4814) 2019-06-06 11:17:22 +01:00
Cilibiu Bogdan cb25979a00 mirror mat icon when direction is rtl (#4815) 2019-06-06 11:13:07 +01:00
Cilibiu Bogdan 0684098f60 [ADF-4626] Breadcrumb - directionality styling (#4810)
* direction styling

* remove text align
2019-06-05 15:01:05 +01:00
Cilibiu Bogdan 0cfc5bc1b7 [ADF-4625] Search Input does not respect RTL mode (#4806)
* configurable animation

* bind state attribute to value

* configure animation state based on direction

* update tests

* lint

* direction style
2019-06-04 09:15:44 +01:00
Cilibiu Bogdan 148f9830aa fix textOrientation value (#4805) 2019-06-03 17:15:37 +01:00
Cilibiu Bogdan 9aafb80483 [ADF-4601] DemoShell - Side navigation RTL support (#4768)
* rtl support

* fix lint

* Run e2e in case demoshell has been changed

* Skip file

* Skip file

* remove demoshell directive

* refactor side navigation

* remove env.cloud file

* class name selectors

* side navigation selectors

* fix clickMenuButton selector

* nested menu element context

* fix notification navigation selector
2019-05-29 20:02:15 +01:00
Cilibiu Bogdan 9cf6f5519c [ADF-4579] Layout - RTL support (#4741)
* single contentAnimation state

* fine tune contentAnimation state based on direction and position

* tets

* fix mock component inputs

* use native direction attribute

* update docs

* pass direction to calculate sidenav layout

* update test

* fix unit test

* remove dialogs directionality workaround

* set document directionality service

* remove context menu direction workaround

* remove unneeded dependencies

* remove direction style workaround

* remove permission icon direction

* remove sidenav layout direction attribute

* update docs

* update sidenav layout direction

* test

* remove document type

* update test dependencies

* clear storage before test

* test

* fix dl gap

* try to fix Uncaught QuotaExceededError

* fix QuotaExceededError

* fix tests

* fix tests
2019-05-29 16:17:13 +01:00
Cilibiu Bogdan 58cf10be5f [ADF-4582] User preference - set layout orientation based on locale (#4744)
* set textOrientation based on locale

* remove manually setting textOrientation

* tests

* revert to getBrowserCultureLang

* match languages keys

* update tests

* fix types
2019-05-22 14:02:51 +01:00
Cilibiu Bogdan cff9bf0930 [ADF-4584] Header RTL styling (#4746) 2019-05-20 16:33:47 +01:00
Cilibiu Bogdan bb0bdbfc1d [ADF-4583] Upload dialog - RTL support (#4745)
* overwrite mat-drawer-content position

* set attributes based on direction and position

* add direction support

* update tests

* update doc

* fix direction description

* use native direction attribute

* bind to dir input

* update docs

* remove direction attribute

* listen to user preference textOrientation changes

* update tests

* remove unused import
2019-05-20 15:45:10 +01:00
Cilibiu Bogdan 52c5ec03bc [ADF-4578] remove duplicate language entry (#4739) 2019-05-17 10:56:37 +01:00
Cilibiu Bogdan 164d398abc [ADF-4227] Material Dialog - change direction option based on textOrientation (#4716)
* change matDialog direction based on textOrientation

* move dialog providers to material.module

* extend initial options

* move UserPreferencesService from factory

* update module

* update test

* material dialog correct reference

* extend default global options

* tests
2019-05-14 12:52:03 +01:00
Cilibiu Bogdan de0f906163 [ADF-4543] Language Menu - set layout orientation (#4719)
* language entry interface

* pass language object

* set textOrientation

* tests

* update doc

* add rtl language
2019-05-14 12:45:05 +01:00
Cilibiu Bogdan 4f13dcc3e2 [ADF-4545] Context Menu - RTL support (#4722)
* set overlay direction

* test
2019-05-14 12:43:52 +01:00
Cilibiu Bogdan 3b83539b13 [ADF-4227] Sidenav Layout - support direction (#4583)
* basic ui direction service

* direction property

* demo shell integration

* move the direction in up sidenav layout to allow also the header to reorganize
use the configuration editor to change rtl ltr
add documenation

* Update app.component.html

* fix unit tests

* fix overlay viewer e2e

* fix e2e
2019-04-25 00:48:41 +01:00
Cilibiu Bogdan cc53d96698 [ADF-4410] Upload dialog - remove delete action of version upload (#4618)
* undo remove node version implementation

* clean up style

* version upload row style

* upload version row cells

* update tests

* fix aria label
2019-04-18 15:36:37 +02: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
Cilibiu Bogdan 8975d4b6a6 [ADF-4371] Versioning - revert upload version on delete (#4572)
* revert upload version on delete

* methods return type
2019-04-10 16:30:50 +01:00
Cilibiu Bogdan 5b168af134 [ADF-3897] Upload Dialog - upload file error tooltip (#4148) 2019-01-15 16:28:41 +00:00
Cilibiu Bogdan baf9204a04 Uploaded over Uploading title (#4157) 2019-01-15 15:45:24 +00:00
Cilibiu Bogdan 7f106f7a56 [ADF-3864] Create library - no error is displayed when name contains white spaces only (#4101)
* only spaces error message

* title custom error support

* tests

* validate title against only spaces

* generate id only when title is valid
2018-12-21 18:06:35 +00:00
Cilibiu Bogdan 5396cfb662 library title case insensitive check (#4099) 2018-12-21 15:01:42 +00:00
Cilibiu Bogdan 3a9924e9df [ADF-3645] Shared link - e2e (#3853)
* relocate file

* methods and locators

* share file tests

* unshare file tests

* fix import

* use FormControllersPage

* use clickUnShareFile method

* break tests

* add methods for disabled day option

* test disabled day option

* fix test new import
2018-10-11 17:03:31 +01:00
Cilibiu Bogdan 95587de864 [ADF-3530] Share file dialog - expiration date update (#3860)
* disable button when no selection

* fix date
2018-10-04 15:38:42 +01:00
Cilibiu Bogdan 4ca80e13f1 [ADF-3530] Share file dialog - AC update (#3847)
* AC update

* use simple-snack-bar selector

* toContain matcher

* use fakeAsync for dialog content

* spy on snackbar component

* test NotificationService call

* tick

* use fixture whenStable
2018-10-03 09:53:25 +01:00
Cilibiu Bogdan 42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +01:00
Cilibiu Bogdan 3857364b39 subscribe until destroyed (#3776) 2018-09-12 13:03:12 +01:00
Cilibiu Bogdan 2deafbbdd7 default add comment button translation (#3696) 2018-08-14 15:43:16 +01:00
Cilibiu Bogdan 4404b724fa [ADF-3456] DocumentList - context menu (#3694)
* refactor context menu

* prune log

* remove fdescribe

* remove undescore from private

* fix e2e action buttons

* fix trailing space

* remove fdescribe
2018-08-14 15:43:15 +01:00
Cilibiu Bogdan f36f9fa862 [ADF-3374] Comments - add/view multiline comments (#3607)
* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event

* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event
2018-08-14 15:42:34 +01:00
Cilibiu Bogdan c0de0d5087 [ADF-3181] Auth Guard - redirect by string url (#3474)
* redirect by string url

* auth guard tests fix

* revise
2018-06-14 10:19:34 +01:00
Cilibiu Bogdan 2f12f518ef [ADF-3108] Search - facetQueries panel renders when not defined in configuration (#3417)
* show facetQueries based on configuration definition

* tests

* FacetQueries is defined
2018-05-31 22:05:46 +01:00
Cilibiu Bogdan 648ac585b4 [ADF-2627] Icons-only mode for Info Drawer (#3398)
* tab with icon

* docs

* test
2018-05-26 11:18:28 +02:00
Cilibiu Bogdan c5936e7db0 revert changes (#3387) 2018-05-24 10:15:42 +01:00
Cilibiu Bogdan 89ede1514b remove redundant logic (#3361) 2018-05-22 16:47:08 +01:00