Commit Graph

72 Commits

Author SHA1 Message Date
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Adina Parpalita
9738752f0f [ACA-2822] add no-duplicate-imports rule (#1250)
* add no-duplicate-imports rule and fix few issues

* fix incorrect import :D
2019-11-15 14:57:34 +02:00
Martin Muller
3ff12eecf4 [ACA-2782] Header - sidenav menu button expanded/collapsed state not exposed via ARIA (#1245)
* Calculating if sidenav is expanded or not

* Update src/app/components/layout/app-layout/app-layout.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>
2019-11-07 15:29:34 +01:00
Martin Muller
f0a03c8a30 [ACA-2782] Header - sidenav menu button expanded/collapsed state not exposed via ARIA (#1239)
* Implement the expanded aria for the sidenav toogle button
2019-11-06 11:00:36 +01:00
pionnegru
d616d393b8 no implicit returns 2019-10-16 13:38:02 +03:00
Cilibiu Bogdan
e31c0d6caf [ACA-2087] Overlay Viewer (#1175)
* viewer outlet over preview route

* use ViewNodeAction over ViewFileAction

* pass data to dynamic component

* ViewNodeComponent for view file  custom actions

* update docs

* pass primary url to show preview outlet

* update tests

* reset selection on navigation event

* document list update selection action when not viewer

* close viewer for move and delete from viewer

* location as router commands to work with search query

* make viewer to behave like former preview

* viewer error route

* call correct preview method

* remove view/error route

* navigate to show error

* span element for action name

* fix folder navigation

* fix test

* page title fix

* update tests

* locate better the viewer toolbar

* fix viewer url  link

* update navigation rules

* document-list directive tests

* try workaround for chrome 76

* try another workaround for using chromedriver 75 instead of 76

* ViewerEffects tests

* reset selection over reload

* fix tests

* add reset event test

* remove actions

* context menu action refresh on favourite

* reset selection on navigation

* add delete and upload events

* takeUntil after operators

* remove chrome workaround parameter

* filter navigation event
2019-08-08 15:38:50 +03:00
Cilibiu Bogdan
755618dd30 revert test changes 2019-07-12 08:54:39 +03:00
Cilibiu Bogdan
a2b022f507 revert changes 2019-07-12 08:54:38 +03:00
Cilibiu Bogdan
b122f3a6e0 reset store selection and document list 2019-07-12 08:54:38 +03:00
Cilibiu Bogdan
77fa5fa487 ReloadDocumentListAction over SetSelectedNodesAction 2019-07-12 08:54:37 +03:00
Cilibiu Bogdan
9fef05b69f 3.3.0 alpha update (#1118)
* alpha

* locale
2019-05-31 13:30:11 +03:00
Cilibiu Bogdan
07c7f49af1 [ACA] 3.3.0 alpha update (#1108)
* update to 3.3.0 alpha

* add arabic language

* layout orientation support

* take direction from parent

* set direction based on language locale on initialization

* test
2019-05-15 13:38:50 +01:00
Cilibiu Bogdan
6cb1ad4101 [ACA-2374] Sidenav - RTL support (#1098)
* add rtl HostBinding

* sidenav direction input

* remove unused style

* rtl style changes

* test
2019-05-07 07:33:09 +01:00
Denys Vuika
f3d8171579 upgrade to latest ADF and Angular libs (#1092)
* upgrade to latest ADF and Angular libs

* disable e2e tests for libaries

* [ACA-2130] fix a11y for header

* disable e2e tests

* sticky header, layout fixes

* switch to ADF upload dialog

* disable broken test

* disable broken test

* disable test
2019-05-02 21:02:06 +01:00
Denys Vuika
9db1c2989f shared library (#1080)
* shared project scaffold

* rules package

* move evaluators to shared lib

* add rxjs peer dependency

* use dedicated material namespaces

* create store package, move actions

* move selectors to shared library

* move generic effects to shared lib

* move routing extensions

* minor code reorg

* fix unit tests

* move content-api service

* move permission service

* update tests

* update plint config

* move page layout

* css variables

* use dedicated css property

* move generic error component to shared lib

* fix test
2019-04-25 14:56:54 +01:00
Cilibiu Bogdan
839c9d0dbb [ACA-2320] Navigation - support store actions (#1052)
* move component into folder

* update module

* add children template references

* clean up styling

* clean up theme

* use content projection

* remove old tests

* button menu component

* expand menu component

* link item component

* resolve action directive

* custom active link directive

* collapse template reference

* expanded template reference

* expansion panel directive

* item template directive

* menu panel directive

* support for ngrx actions

* update side navigation inplementation

* remove unused component

* remove unused styling

* update module

* clean up

* unit tests

* unit tests

* remove unused component

* lint

* remove unused import

* fix test

* add tooltip

* fix text

* fix e2e

* use action route commands

* remove fdescribe

* styles fix

* e2e fix tooltip test

* fix active route when drill down

* update docs
2019-04-05 13:03:40 +01:00
Denys Vuika
b69ed7da28 Overlay viewer outlet (#1054)
* separate outlet for the Viewer

* separate node viewer route

* update docs
2019-04-03 11:43:14 +03:00
Denys Vuika
3a4cff505f add missing typings to code (#1050)
* remove unused parameters

* add missing types

* add missing typing information

* fix tests

* restore old code
2019-04-02 14:38:29 +01:00
Adina Parpalita
6ac697564d update copyright year (#1022)
* update copyright year

* forgot a file

* update year on licence header
2019-03-19 15:41:27 +02:00
Adina Parpalita
0b5555d2fc [ACA-1259] automate remaining tests for sidebar (#977)
* automate remaining tests for sidebar

* formatting
2019-02-27 08:40:44 +00:00
Suzana Dirla
c7328c7caf [ACA-2208] Hide app menu on swipe (#970) 2019-02-25 20:35:17 +00:00
Cilibiu Bogdan
7ad12f832a [ACA-2207] Upload Dialog - restore previous version on delete (#951)
* restore version over delete node

* apply prettier

* clean up unnecessary dependencies

* remove style file

* set CANCEL status on on deleted node version instances

* Update upload.module.ts

remove extra licence text

* fix typo

* remove duplicate strings
2019-02-25 09:27:19 +00:00
Denys Vuika
7c38201500 [ACA-2208] Hide app menu on swipe (#934)
* mobile: hide app menu on swipe left

* check for mobile screen size

* space for click out on small devices

* added test

* fix test
2019-02-13 20:15:10 +00:00
MariusGrunenberg
aa4f81118f Search on mobile opens Sidemenu (#929)
* Added a check for mobile pages to prevent sidemenu opening
2019-02-12 10:37:39 +00:00
Denys Vuika
f0a3f6f630 upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs

* upgrade to latest js-api and ADF

* upgrade tests

* update viewer code

* use @alfresco/js-api

* update to latest adf

* fix deprecation issues

* update viewer

* fix copy/move dialog

* change expect

* fix remove site from favorites

* fix unit test

* update adf version

* use ADF upload dialog
2019-01-22 14:10:48 +00:00
Denys Vuika
7992b0a015 [ACA-2122] automatic code formatting on commit (#890) 2019-01-04 15:20:24 +00:00
Cilibiu Bogdan
5a1257c9ff [ACA-2081] Search - toolbar not visible after viewer is closed (#869)
* router event filter search

* test

* added comment
2018-12-11 17:05:54 +00:00
Denys Vuika
99a8192b36 [ACA-2064] support custom icons for extensions (#864)
* icon component, custom svg

* split components, fix modules

* simplify code

* universal icon component

* support custom icon registration

* update docs

* test fixes
2018-12-07 19:09:45 +00:00
Cilibiu Bogdan
db8be5c1b1 [ACA-1057] Upload dialog - file upload error message (#832)
* Upload dialog

* prettier lint

* changed to Uploaded text

* remove unnecessary implementation

* todos
2018-11-27 16:49:58 +00:00
Suzana Dirla
49e80ddce1 [ACA-19] Toggle join request - library action (#800)
* [ACA-19] join/cancel join library actions

* [ACA-19] show the info drawer

* [ACA-19] custom icon for join library

* [ACA-19] css to 'see' custom icon for extension

* [ACA-19] reformat with prettier

* [ACA-19] better role display

* [ACA-19] simplify cancel request rule

* [ACA-19] refactor and use toggle join/cancel join component & directive

* [ACA-19] reformat with Prettier

* [ACA-19] fix title for svgIcon

* [ACA-19] fix translation

* [ACA-19] unit test
2018-11-14 12:43:14 +00:00
Denys Vuika
abe07d28b5 [ACA-1892] close sidenav instead of toggle (#781) 2018-11-12 17:11:47 +00:00
Cilibiu Bogdan
aa6995e7b2 reset selection state on navigation (#793) 2018-11-12 12:56:02 +00:00
Denys Vuika
cb3754e29d update prettier (#790)
* update prettier

* enable auto-formatting for html
2018-11-08 11:54:25 +00:00
Denys Vuika
8ada58f3a5 improved page layout (#761)
* app-layout component

* layout theme reorg

* merge app-layout styles

* rework page layouting
2018-10-29 11:47:10 +02:00
Cilibiu Bogdan
6e3f128121 check if sidenav should be minimized (#746) 2018-10-23 11:35:46 +03:00
Denys Vuika
a6c420b54f remove memory leak for mobile screens (#744) 2018-10-22 13:06:13 +03:00
Denys Vuika
f1813d2082 improve column rendering performance (#742)
* improve column rendering performance

* disable ACA-1892 implementation

* fix sidenav auto-close
2018-10-20 09:44:22 +01:00
Cilibiu Bogdan
9012c0832b [ACA-1892] close sidenav when navigate on mobile (#730) 2018-10-18 07:37:37 +01:00
Cilibiu Bogdan
3278ec7f70 check sidenav visibility condition on reload (#728) 2018-10-17 20:21:35 +01:00
Denys Vuika
b9d99411d7 refactor layout component (#716)
* refactor layout component

* test fixes
2018-10-15 11:02:18 +01:00
Cilibiu Bogdan
253425971f [ACA-1841] Hide app menu in preview (#698)
* hide menu in preview

* fix getNodeInfo return value when no node is found
2018-10-09 16:52:46 +01:00
Denys Vuika
f580b96a78 more detailed code coverage reports (#664)
* add about to coverage

* add more components to coverage

* more truth for coverage reports

* even more fun

* switch off json formatting

* deploy war file after unit test run
2018-09-24 14:35:14 +01:00
Denys Vuika
8a7fbaa70a [ACA-1809] app header extensions (#659)
* move header to separate component

* code fixes

* project header buttons and menus

* app menu example

* delete empty style

* logout action

* update docs

* and one more test
2018-09-23 17:53:56 +01:00
Denys Vuika
eb97b18f95 feature modules (#636)
* permission manager module

* permissions module

* common module

* layout and search modules

* trashcan module, lazy load

* fix context menu module

* lint fix

* recent files module

* favorites module (lazy)

* shared files module (lazy)

* shared link module (lazy)

* lazy loaading fixes
2018-09-17 06:57:56 +03:00
Denys Vuika
883a1971c5 [ACA-1443] prettier formatting and checks (#629)
* intergrate prettier

* update settings

* integrate with travis

* unified formatting across all files
2018-09-13 16:47:55 +01:00
Suzana Dirla
a7abe9c422 [ACA-1572][ACA-1573] Header fixes (#559)
* [ACA-1572] header styling

* [ACA-1572] fix login logo

* [ACA-1572] header fixes
2018-08-10 14:29:33 +01:00
Denys Vuika
f91608fe78 Angular 6 (#556)
* upgrade to angular 6 (with rxjs-compat)

* fix tests

* fix test scripts

* upgrade rxjs to 6.0

* remove rxjs-compat layer

* update unit tests

* restore tests

* context-menu transparent backdrop

* upgrade libs

* changed snackbar locator

* locator as class

* remove locator element reference

* snackbar locators

* wait for snackbar before executing the action button

* expect cdk-overlay before mat-menu-panel condition

* update libs
2018-08-09 11:11:06 +01:00
Denys Vuika
54f879f5e6 mobile enhancements (#550)
* hide menu bar elements on small screens

* show less columns on handsets

* reduce pagination for handsets
2018-08-06 14:18:03 +03:00
Denys Vuika
22eac50d27 basic docs on extensibility apis (#543)
basic docs on extensibility apis
2018-08-04 08:26:33 +01:00
Denys Vuika
4d7b92823e deprecate "common" folder, use standard structure (#514) 2018-07-18 09:43:57 +01:00