Commit Graph

76 Commits

Author SHA1 Message Date
Denys Vuika
bf509843b7 integrate Prettier with tslint (#1419)
* integrate prettier with tslint

* remove obsolte scripts

* update tsconfig

* fix lint issues

* fix lint errors

* more rules and fixes

* kebab case and lint fixes

* update helpers

* update util
2020-04-19 23:29:20 +01:00
Maurizio Vitale
3ee61c3d29 [ACA-2734] Be able to show an extension based on provider (#1405)
* Ability to disable extension based on provider

* Remove mystake

* Use latest adf
2020-04-08 20:04:49 +01:00
Baptiste Mahé
21a76b5364 [ACA-2125] Update sidenav colors to meet design spec (#1378) 2020-03-26 18:14:30 +00:00
Denys Vuika
0eb1720f8f Revert "[ACA-2125] Update sidenav colors and font-size (#1368)" (#1370)
This reverts commit 0d0b228cb7.
2020-03-23 15:59:45 +00:00
Baptiste Mahé
0d0b228cb7 [ACA-2125] Update sidenav colors and font-size (#1368) 2020-03-23 12:14:25 +00:00
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Denys Vuika
957b93aa63 automated license header checks 2019-07-11 15:25:17 +01:00
Cilibiu Bogdan
ca5795fac0 rtl fixes (#1128) 2019-06-14 10:26:31 +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
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
5bf77dfc81 [ACA-2322] Sidenav - support dynamic components (#1066)
* dynamic components support

* subscribe to sidenav selector

* update module for extension

* sidenav selector

* support dynamic components definistion

* update docs

* stabilise tests

* Update src/app/components/sidenav/sidenav.module.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/components/sidenav/sidenav.module.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* rename selector
2019-04-12 10:39:05 +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
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
Denys Vuika
ff19e57185 [ACA-2162] allow custom icons with navbar (#917)
* allow custom icons with navbar

* fix breaking change

* update protractor settings
2019-02-04 21:11:10 +00:00
Adina Parpalita
d2e0f688e8 [ACA-2116] search results available actions (#895)
* add item.id to File Libraries

* add method to wait for node to be indexed

* create separate methods in queries API to wait for sites or wait for nodes

* improvements, renaming

* renaming

* fix

* add tests for actions on search results

* add wait and use new method

* fix

* another fix

* use correct method

* more fixes

* create method for clickView button

* fixes

* no message
2019-01-19 16:47:12 +00:00
Denys Vuika
7992b0a015 [ACA-2122] automatic code formatting on commit (#890) 2019-01-04 15:20:24 +00:00
Cilibiu Bogdan
f68200a633 [ACA-2067] Side navigation - highlight element with children only when not expanded (#880)
* highlight parent element condition

* update test

* e2e
2018-12-17 08:54:53 +02:00
Denys Vuika
79f92c38ef css fixes for sidenav menu items (#811) 2018-11-19 15:49:29 +00:00
Cilibiu Bogdan
031198e784 [ACA-20] Sidenav - navigate to first child route when expanded for the first time (#798)
* bradcrumb root title

* use correct i18n string reference

* expansion panel state directive

* takeUntil

* fix text

* parameter type

* fix title error message reference

* fix My Libraries test and add separate one for Favourite Libraries
2018-11-14 12:09:24 +02:00
Cilibiu Bogdan
4a420cc9f9 [ACA-20] Favorite Libraries (#789)
* libraries submenu config

* fix item id

* favorite libraries columns

* libraries submenu text

* columns text

* submenu schema

* submenu routes

* role column component

* favorite libraries list api

* register favorite libraries presets

* favorite libraries list component

* register role column component

* dl custom node list is library route

* empty state message icon

* remove custom id

* merge subscriptions

* adapt to child route

* fix component selector

* revert to favorite library route

* sidenav main links font weight

* libraries children contants

* library expand panel method

* update e2e

* libraries children columns consistency

* isLibrary workaround for custom node list

* update isLibrary evaluator

* update e2e

* lint

* Update src/assets/app.extensions.json

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* use correct preset

* update e2e

* update page titles values

* find child active link

* fix expected value

* update expected

* role column tests

* check if menu is expanded
2018-11-09 13:53:51 +00:00
Cilibiu Bogdan
dae45fce57 [ACA-20] Sidenav - submenu conditional icon templates (#786)
* remove focus outline

* button effect

* submenu conditional icon templates

* clean up styling

* update menu locator

* update library PO locators
2018-11-07 13:07:25 +02:00
Cilibiu Bogdan
42125b67ec render tooltip descripiton (#785) 2018-11-06 17:05:40 +02:00
Cilibiu Bogdan
88678852e7 [ACA-20] Sidenav - submenu support (#779)
* transform children data

* update navigation schema for children

* sidenav submenu

* update style

* disable extansion panel animation

* child routerLinkActive template reference

* getApplicationNavigation test

* minimised submenu indicator

* sort navigaton children
2018-11-06 14:08:57 +02:00
Denys Vuika
25e6f15ffc rxjs linting (#671)
* rxjs linting

* fix lint error
2018-09-29 08:34:16 +01:00
Cilibiu Bogdan
8d9d3dbc45 [ACA-543] Disable Share feature based on repository property (#658)
* add visibility type to navigation schema

* repository data model

* add repository state

* add repository state

* add repository evaluator

* allot navigation elements to called again

* AppRuleContext extends

* repository status resolver

* map repository evaluator

* reevaluate navigation elements

* generic route evaluator

* add route guard on Share

* evaluate guard based on data property

* changed old imports

* add Action suffix

* set state false by default

* tree shakable services to simplify rebase

* fix rebase

* isQuickShareEnabled initial null state

* repository store effects

* repository store actions

* refactored

* refactored
2018-09-28 10:32:36 +01:00
Denys Vuika
457fa74048 [ACA-1830] create menu enhancements (#670)
* nested menus for create button

* evaluate sub-menu permissions

* demo plugin

* "create library" action

* unit tests and proper effect name
2018-09-27 09:07:24 +01:00
Denys Vuika
f44838ac42 split toolbar components (#635)
* split create menu into separate component

* toolbar menu item component

* toolbar menu component

* component updates

* unified property name

* code and style improvements

* login module (lazy)
2018-09-15 19:28:33 +01: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
Denys Vuika
c916ab4cd1 reusable extensibility lib (#585)
reusable extensibility lib (part 1)
2018-08-29 16:38:44 +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
ae8675dfd7 [ACA-1631] more application ngrx actions (#540)
* delete action

* library path evaluator

* extension for sharing files

* upload actions

* delete library

* use extensions for experimental library actions

* unshare nodes

* fix icons and titles

* "create menu" backed by core extension

* support for descriptions, update upload selector

* update code and tests

* support disabled tooltips for navbar

* fix selector

* [ACA-1486] remove double fetch call

* migrate to trashcan actions, element IDs

* cleanup code, remove deprecated directives

* add/remove favorite

* improve rendering performance

* update favorites without reload

* support for adding Sites to favorites

* disable favorites for Libraries for now

* copy action

* move node

* manage versions and permissions

* cleanup code

* toggle info drawer

* card view mode

* use extension layer for favorites toolbar

* fix menu tooltips

* fix 'remove as favorite' tests

* update tests

* test fixes

* fix edit folder for favorites

* fix test

* cleanup favorites layout

* upgrade recent files layout

* update evaluators for shared nodes

* test fixes

* test fixes

* restore recent files layout

* workaround for "favorite" toggle and recent files

* upgrade shared files page

* upgrade files page layout

* fix library evaluator

* workaround for shared files and permissions

* cleanup code

* upgrade search results

* upgrade sidebar and viewer actions

* code cleanup

* code cleanup

* code cleanup
2018-07-31 10:36:26 +01:00
Denys Vuika
8c9ffc1160 [ACA-1591] Load extensions from multiple files (#521)
* rework extension service, separate file with config

* improve loading, optional entries

* simplify config and unify content actions

* load and merge multiple files

* improve plugin loading, introduce second demo

* move demo stuff to a plugin

* rework navbar to make it pluggable

* code and naming convention cleanup

* extension schema

* switch off custom navbar group by default

* hotfix for facetQueries issue

* consolidate files, final renames
2018-07-19 20:54:39 +01:00
Denys Vuika
4d7b92823e deprecate "common" folder, use standard structure (#514) 2018-07-18 09:43:57 +01:00
Denys Vuika
51af2071c2 extensibility: rules engine (#511)
* rules format prototype

* config container

* lightweight rules

* fdescribe

* basic rule integration

* migrate "create folder" to click actions

* migrate toolbar to new action handlers

* rule support for "create folder" (toolbar)

* upgrade "View" toolbar command

* migrate to rules

* cleanup tests
2018-07-16 13:27:27 +03:00
Denys Vuika
718a32a907 [ACA-1529] performance fixes for permission checks (#498)
* fix recent files

* fix files component

* fix shared files

* don't evaluate permissions for empty selection

* fix info drawer

* fix viewer

* fix tests

* reduce one more check

* track upload errors on app level

* remove console log

* reduce service dependencies
2018-07-08 12:25:20 +01:00
Denys Vuika
fe683015c5 extensions: wave 2 (#497)
* introduce "create folder" action

* track opened folder via store

* "create folder" action, support mulitple targets

* fix card view colors and toolbar layouts

* basic support for permissions

* simplify create menu and add permissions

* add toolbar separators for extension entries

* "edit folder" extension command

* minor code improvements
2018-07-08 07:56:50 +01:00
Denys Vuika
e75042aa46 [ACA-1508] extensions: wave 1 (#480)
* initial structure scaffold

* core extensions module

* simple navbar composition

* allow using app routes instead of registered

* migrate to new navbar setup

* remove commented out tests

* populate toolbar

* evaluate expressions

* redirect to url from toolbar

* populate "open with" viewer menu

* update test setup

* experimental flag for extensions

* test fixes

* fix tests

* code improvements, order support

* improve routing management

* populate "create" menu

* extra dictionaries for spellcheck

* allow disabling extension content

* support file/folder targets for toolbar actions

* add safety check

* navigate directly

* toolbar actions for all pages

* support route data

* "experimental" flag for "create" menu extensions

* code fixes
2018-07-06 19:45:42 +01:00
Cilibiu Bogdan
2d7a0b9a7d [ACA-1519] Action menu - ripple effect renders outside constrains 2018-07-04 12:22:33 +01:00
Denys Vuika
ac6e96530f unit test cleanup (#454)
* auth mock

* avoid using jasmine

* cleanup preview tests

* cleanup recent files tests

* cleanup shared files tests

* remove fdescribe

* update tests

* move adf services to single place

* move app specific services to single place

* cleanup directive tests

* cleanup directive tests

* update directive tests
2018-06-24 17:33:50 +01:00
Denys Vuika
e846d97317 remove electron demo code (#453)
* remove electron demo code

* remove unused property

* cleanup tests

* cleanup sidenav tests

* cleanup trashcan tests

* remove fdescribe
2018-06-23 17:30:20 +01:00
Cilibiu Bogdan
bf3c86f5f5 tooltip (#434) 2018-06-19 09:11:13 +01:00
Cilibiu Bogdan
7e1da5030e title popup (#420) 2018-06-15 13:22:30 +01:00
Denys Vuika
e34e9ee726 [ACA-1442] improved notifications and delete/restore (#393)
* remove notifications from files component

* remove notifications from favorites page

* remove irrelevant tests

* snackbar effects

* snackbar theme

* improve permanent delete messaging

* cleanup tests

* strongly typed node delete directive, node actions

* strongly-typed directives

* test fixes

* redux dev tools, migrate permanent delete directive

* reload trashcan on service events

* delete and restore nodes, snackbar effects with undo

* wire viewer with store and effects

* test fixes

* migrate events

* fix spelling

* bug fixes

* use notification effects on restore node

* remove fdescribe

* node-versions using snackbar actions

* dispatch snackbars from node-move directive

* store-enabled create folder

* reduce dependency on ContentService for list reloads

* favorites use unified preview api for files

* simplify preview for shared files

* remove test
2018-06-11 06:33:37 +01:00
Denys Vuika
f0c0fe162b [ACA-1432] unified selection and single info drawer (#385)
* track document list selection state

* selection management enhancements

* (fix) hide info drawer on selection reset

* use store selection

* remove event handler

* upgrade info drawer for personal files

* upgrade favorties

* upgrade recent files

* move info drawer to a separate component

* test fixes

* update tests

* test fixes

* remove obsolete directive

* use last selection entry

* switch back to first selected node

* selection improvements, versioning uses same node

* optimised toolbar visibility evaluation

* upgrade libs

* update js api

* test fixes

* test fixes

* test updates

* test fixes

* fix e2e tests

* show metadata for last clicked node
2018-06-06 12:44:13 +01:00
Denys Vuika
58a71ad12a cleanup toolbar styles (#369)
* cleanup toolbar styles

* a11y fixes, add missing tooltip

* fix tests
2018-05-25 22:00:50 +01:00
Denys Vuika
e1ea9fbfc1 core electron integration (#356)
* core electron integration

* test fixes
2018-05-14 06:12:45 +03:00
Cilibiu Bogdan
9e264f3fb0 [ACA-1317] Use ADF component for "New" side navigation actions (#347)
* adf-sidebar-action-menu

* update
2018-05-04 18:39:26 +01:00