51 Commits

Author SHA1 Message Date
swapnil-verma-gl
2efea8c6d8
Rollback visibility rules cleanup (#4426)
* Revert "[ACS-9369] Updated rule-migration-guide.md to include missed rule (#4420)"

This reverts commit b3e2af7f0fc1dbd67186d03c98ea8b6f4ab19f47.

* Revert "[ACS-9369] Resolved issues where visibility rules with a single element array would log errors (#4416)"

This reverts commit 4e33f1126da07cf18c1896f7e839336e493b12cb.

* Revert "[ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)"

This reverts commit f1c4dcf45d0d0ce038109510004bf0edb66c6e66.
2025-03-03 16:56:13 +05:30
swapnil-verma-gl
f1c4dcf45d
[ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)
* [ACS-8694] Updated occurrences of visible in extensions.json to use arrays instead of single strings. Cleaned up rules in aca-content.module.ts

* [ACS-8694] Removed extra commas

* [ACS-8694] Broke down canDelete rule into seperate entities

* [ACS-8694] Fixed typo for notEmpty rule

* [ACS-8694] Fixed rule for edit offline

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Fixed rule for manage versions context menu item

* [ACS-8694] Fixed rule for manage versions and manage permissions

* [ACS-8694] Added rules.canManageFolderRules

* [ACS-8694] Fixed typo

* [ACS-8694] Updated visibility rules for folder rules and AOS plugin

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Updated existing rules to use !isTrashcan() instead of isNotTrashcan()

* [ACS-8694] folder-rules.plugin.json now uses arrays for controlling visibility

* [ACS-8694] Updated app.extensions.schema

* [ACS-8694] Removed unused rules

* [ACS-8694] Added unit tests for canToggleFileLock

* [ACS-8694] Added rules-list.md

* [ACS-8694] Revert unneeded project.json change

* [ACS-8694] Fixed toggleEditOffline rule

* [ACS-8694] Added migration guide (#4139)

* [ACS-8694] Added migration guide

* [ACS-8694] Fixed typo

* [ACS-8694] Added missing rule migration. Fixed incorrect rule migration. Fixed typos

* [ACS-8694] Code review finding - Replaced instance of any

* [ACS-8694] Code review finding - Updated rules.md. Removed duplication of rules list from rules-list.md. Added pointer to rules-list.md under tips section

* [ACS-8694] Fixed build issue

* [ACS-8694] Removed unneeded isNotDetails rule
2025-02-25 17:00:22 +05:30
MichalKinas
93157d2e60
[ACS-9012] Truncate text in saved searches description (#4265)
* [ACS-9012] Truncate text in saved searches description

* [ACS-9012] Truncate name column and navigation menu items

* [ACS-9012] Unit test fixes
2024-12-05 15:04:52 +01:00
Darya Blavanovich
53e90312b0
[ACS-8036] [Bulk update] [Many files to 1 Hold flow] "Manage Holds" dialog with Manage Existing Holds/Apply New Hold tabs (#4019)
* [ACS-8325] [Bulk Legal Hold] Create Bulk Actions Dropdown (#3956)

* ACS-8036 create bulk-actions-dropdown

* ACS-8325 update names and add unit tests

* ACS-8325 added icon and unit tests

* ACS-8325 fix translation

* ACS-8325 add and refactor tests in app extension service

* ACS-8325 resolve conversations: remove loadBulkActions, rename bulk schema, add translations

* ACS-8325 update state

* ACS-8325 temporary remove disabled state as it doesn't work after Angular migration

* ACS-8325 add formControl and tests

* ACS-8325 clean code

* ACS-8325 place create component to one place

* ACS-8325 add condition to use title if no description provided and cover with test

* ACS-8325 add tooltip and update Badge interface

* ACS-8325 rename class names and mockItem object

* [ACS-8326] enable running actions from bulk dropdown and resetting selection (#3971)

* ACS-8036 create bulk-actions-dropdown

* ACS-8325 update names and add unit tests

* ACS-8325 fix translation

* ACS-8325 resolve conversations: remove loadBulkActions, rename bulk schema, add translations

* ACS-8325 temporary remove disabled state as it doesn't work after Angular migration

* ACS-8325 add formControl and tests

* ACS-8325 add condition to use title if no description provided and cover with test

* ACS-8325 add tooltip and update Badge interface

* ACS-8326 enable running actions from bulk dropdown and resetting dropdown selection

* ACS-8326 review remarks - use select control, fix naming

* ACS-8326 fix unit test selectors

* ACS-8326 review remarks - change property name to more universal, adjust unit tests

---------

Co-authored-by: Darya Balvanovich <darya.balvanovich@hyland.com>

* [ACS-8424][Bulk Legal Hold] Add Badge for items (#3985)

* [ACS-8424] display badges in search result

* [ACS-8424] display badges in search result

* ACS-8424 create separate badge component, add/move unit tests, undo highlight change failing tests

* ACS-8424 template cleanup

* ACS-8424 template cleanup cleanup

* ACS-8424 revert single deletion in template

* ACS-8424 rename new component, change property order

---------

Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>

* ACS-8458 refactor styles (#4018)

* [ACS-8489] Legal Holds keyboard accessibility (#4009)

* ACS-8489 handle keyboard accessibility

* ACS-8489 wording fix

* ACS-8489 change function name

* ACS-8489 fix typo

* ACS-8489 review remarks - simplify keyboard event handling, improve unit tests

* ACS-8489 move duplicated code to method

* ACS-8489 change type name to more precise

* [ACS-8036] fix icon visibility in mat-select

* ACS-8036 fix styles and import

* ACS-8036 remove async from test

* ACS-8036 handle event when dropdown closed

* ACS-8036 fix rebase issues

* ACS-8036 fix rebase issues

* ACS-8036 fix rebase

---------

Co-authored-by: Grzegorz Jaśkowski <138671284+g-jaskowski@users.noreply.github.com>
Co-authored-by: tamaragruszka <156320606+tamaragruszka@users.noreply.github.com>
Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>
Co-authored-by: tamaragruszka <tamara.gruszka@hyland.com>
2024-08-14 20:15:19 +02:00
MichalKinas
847fcf4c36
[ACS-8410] Extension schema review (#3958)
* [ACS-8410] Extension schema review

* [ACS-8410] Remove the dot
2024-07-19 07:50:13 -04:00
MichalKinas
930e4b1f3c
[ACS-6813] ACA configurable layout for search result list (#3656)
* [ACS-6813] Make search results list column configurable

* [ACS-6813] Documentation update

* [ACS-6813] Typo fix
2024-02-21 12:55:13 +01:00
MichalKinas
baeffc9416
[ACS-6489] Use resizable option to disable resize on thumbnail column (#3590) 2024-01-26 08:50:39 +01:00
MichalKinas
3f04f05da5
[ACS-6620] Use extensions instead of content key for viewer extensions (#3610) 2024-01-25 23:30:17 +01:00
MichalKinas
928c6b5731
[ACS-5611] Add custom metadata side panels as new extension feature (#3466)
* [ACS-5611] Add custom metadata panels as new extensions feature

* [ACS-5611] Add custom metadata panels unit tests

* [ACS-5611] Minor fixes

* [ACS-5611] Text ellipsis for name column to always display badges

* [ACS-5611] Use latest ADF and JS-API

* [ACS-5611] Unit test fix

* [ACS-5611] Click action only if exists
2023-10-16 10:43:04 +02:00
MichalKinas
6edbb57dc4
[ACS-5601] Add badges to custom name column (#3450)
* [ACS-5601] Add badges to name column component

* [ACS-5601] Add on click handler to column badges

* [ACS-5601] Fix badge hover color

* [ACS-5601] Restore modal configuration, prettier fixes

* [ACS-5601] Add missing tooltip translation

* [ACS-5601] Add process content services to extension service

* [ACS-5601] Add adf dynamic component to custom name column

* [ACS-5601]  Add missing dosc and unit tests

* [ACS-5601] Post rebase package lock update

* [ACS-5601] CR fixes

* [ACS-5601] Unit test fix

* [ACS-5601] CR fix

* [ACS-5601] Fix unit test, add contrast gray to badges

* [ACS-5601] fix fail test and exclude one test

* [ACS-5601] fix fail test and exclude one test

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-04 09:12:52 +02:00
Denys Vuika
f9f5834fb7
[ACS-5634] remove unused i18n resources (#3348)
* remove unused "settings" section

* remove unused "avatar" section

* remove unused "toolbar" section

* remove unused i18n section

* remove unused i18n section
2023-07-19 11:03:39 +01:00
Bartosz Sekuła
60446dc36e
[AAE-6309] New process start button (#2353)
* [AEE-6309] New start process button

* [AEE-6309] Added documentation

* [AEE-6309] Change main action to object

* [AEE-6309] Clean code

* [AEE-6309] Linting fix

* [AEE-6309] Fix trashcan translation

* [AEE-6309] Fix tests
2021-11-22 08:23:10 +01:00
Popovics András
46a179c75a
[MNT-22574] Conditional AI Search (#2339)
* [MNT-22574] Support rules for search forms

* * fix lints

* Patch version increment

Co-authored-by: dhrn <dharan.g@muraai.com>
2021-11-04 15:09:18 +01:00
Dharan
6670f9c75d
search extension docs updates (#2210)
* * docs updates

* * fix lints
2021-07-02 09:42:22 +01:00
Dharan
6700830c9d
[ACA-3897] Extendable viewer navigation (#2109)
* [ACA-3897] Extendable viewer navigation

* Update app.extensions.json
2021-05-07 15:54:18 +05:30
siva kumar
e07a93c60f
[ACA-4355] [ADW] The sign out takes longer than in the past (#2081) 2021-04-12 10:05:15 +01:00
Denys Vuika
aba16339dc
[ACA-3775] add missing plugin configuration (#1820)
* add missing plugin files, update readme

* add missing providers

* about and settings extensions

* leave only about
2020-11-24 12:29:56 +00:00
Denys Vuika
63fdf21386 update docs and schema 2020-08-12 12:05:13 +01:00
Vito
053d2de069
[ACA-3796] - fixed error on sorting (#1575)
* [ACA-3796] - fixed error on sorting

* [ACA-3796] - fixed unit test

* [ACA-3796] - start fixing e2e plus fixed filter parent node

* Rebased and upgraded to the latest ADF

* [ACA-3796] - fixed pr comments

* last adf update

* remove unused loading

* clean unit test

* [ACA-3796] - reverted fix for filters parent

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-10 21:13:28 +01:00
dhrn
3b4579c19c
[ACA-3257] Add actions extension capability to info drawer (#1471)
* info drawer action added

* actions added

* * improved docs

* * added unit test

* fixed e2e

* * rename actions to toolbar

* * minor changes

* Update application-features.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-19 17:46:11 +01:00
maurizio vitale
794d6a6c83 Rename branch to develop 2020-05-07 12:44:20 +01:00
Denys Vuika
785b7abb8a
improved settings api (#1408) 2020-04-09 20:06:18 +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
Denys Vuika
5a88c8c852
[ACA-1743] extension settings (#1399)
* upgrade tslib

* initial settings skeleton

* migrate language picker setting

* support string parameters

* remove process extensions workaround

* update extensions schema

* update docs

* unit tests

* fix unit test
2020-04-06 19:58:41 +02:00
pionnegru
684a9a3d34 update extension schema 2020-01-07 20:32:55 +02:00
Suzana Dirla
5ffdf75f52 [ACA-1619] automatically show content metadata (#1104)
* [ACA-1619] overwrite the app.config metadata settings only of the 'content-metadata-presets' is non-empty

* [ACA-1619] app config to show automatically all metadata aspects

- not extendable version

* [ACA-1619] app extension to show automatically all metadata aspects

- extendable version
- the app.config setting is overwritten by the one with ids from app.extensions
- could remove completely the content metadata setting from app.json

* [ACA-1619] allow 'disabled' property on content metadata configuration

* [ACA-1619] test content-metadata plugin extension

 - allow 'disabled' property on content metadata configuration

* [ACA-1619] remove test reference to metadata plugin

* [ACA-1619] backwards compatibility for metadata plugin extensions

- add back initial structure (& ids) of content-metadata "custom" preset
- revert change to sample metadata extension plugin

* [ACA-1619] forgotten change

* [ACA-1619] tests
2019-05-17 10:34:20 +01:00
Denys Vuika
d8e3b9ada0
[ACA-2364] support 'canPreview' rule for the Viewer (#1102)
* support `canPreview` rule for the Viewer

* update plint settings

* update prettier settings for plint

* test fixes

* update config
2019-05-10 15:08:00 +01:00
Suzana Dirla
c347e5796d add 'disabled' property for navBar to extension.schema.json (#1046) 2019-03-26 18:33:38 +00:00
Denys Vuika
d9b2565783 json schema fixes 2019-03-12 16:22:22 +00:00
Denys Vuika
da3527b0db
unified format for viewer sub-menus (#901)
* unified format for viewer sub-menus

* fix tests

* update prettier
2019-01-20 11:13:55 +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
Denys Vuika
26b4b0684f [ACA-805] about screen enhancements (#813)
* upgrade to latest adf-extensions

* switch to ADF RepositoryState

* show extensions on About page, i18n fixes

* update docs

* cleanup about styles

* greatly simplify app dependencies rendering

* fix linting

* fix tests
2018-11-20 21:15:05 +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
Denys Vuika
2dc2f51944
[ACA-1970] extension fixes (#780)
* cleanup extension settings

* remove header demo and update schema

* move card view to separate demo extension

* update to ADF 2.6.1
2018-11-08 06:46:32 +00: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
9dcdacce40 [ACA-1552] extensibility support for document lists (#714)
* dynamic column component

* dynamic columns for files

* support conditional rendering

* libraries preset

* shared files preset

* recent files preset

* favorites preset

* trashcan preset

* load presets from the extension config

* code fixes
2018-10-14 10:21:58 +03:00
Suzana Dirla
20822773d7 Fix metadata schema (#704) 2018-10-11 15:24:44 +01:00
Suzana Dirla
118ef26a5a [ACA-1849] fix json schema (#684)
* json schema add id as required for metadata items

* sync json schemas
2018-10-02 10:09:13 +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
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
Suzana Dirla
e373064fd1 [ACA-1548][ACA-1802] add actions to viewer toolbar via extensions (#637)
* [ACA-1548] rename viewer toolbar extension of More menu

* [ACA-1548][ACA-1802] add actions to the viewer toolbar via extensions
2018-09-17 13:14:27 +01:00
Denys Vuika
e97c8b703c
[ACA-1695] viewer extensions (#576)
[ACA-1695] viewer extensions
2018-08-19 15:14:06 +01:00
Denys Vuika
160226094d
extensibility docs update (#571)
* docs: custom sidebar tabs

* update docs

* docs update, simplify extension schema

* test fixes
2018-08-17 13:44:01 +01:00
Denys Vuika
89aec91caf
[ACA-1646] "dev tools" extension (#567)
* dev tools extension project

* code editor integration

* latest editor, offline setup

* override extension config (session only)

* schema support

* wire external plugins with experimental flag

* update package scripts

* sidebar extensions scaffold

* propagate extension tabs to info drawer

* separate tab components for info drawer

* extensibility for info drawer

* support tab icons
2018-08-16 16:55:06 +01:00
Denys Vuika
8f3030760a extension enhancements (#552)
* default action types

* move context-menu to the correct folder
2018-08-06 11:53:26 +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
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
262240c8ea
support custom components as action elements (#536)
* support custom components as action elements

* fix action type

* remove testing code

* disable demo button by default
2018-07-25 15:14:07 +01:00
Denys Vuika
98906942dc
chaining rules, "not" evaluator (#527)
* chaining rules, "not" evaluator

* improved evaluators

* fix code
2018-07-22 12:52:28 +01:00
Denys Vuika
3ab9cee163
[ACA-1597] allow extensions overwrite existing settings (#523)
* merge objects within the arrays

* metadata properties

* code cleanup
2018-07-20 14:46:43 +01:00