Commit Graph

81 Commits

Author SHA1 Message Date
Kim Shepherd
589765ce30 [TLC-1202] Move getTypeBindRelations to util function
(cherry picked from commit f16dda8255)
2025-10-09 11:15:32 +00:00
Kim Shepherd
a7b67e4357 [TLC-1202] Centralise getTypeBindRelations to single static method
(cherry picked from commit 9244c24d11)
2025-10-09 11:15:32 +00:00
Kim Shepherd
6406bb5b6d [TLC-1202] Disable fields hidden by type bind, so they are not validated
(cherry picked from commit c47d988bca)
2025-10-09 11:15:32 +00:00
Wout-atmire
e0240259ec Upgrade to Bootstrap 5 & realign themes (#3506)
* 117631: upgraded bootstrap, ng-bootstrap and installed popper.js

* 117631: SASS to CSS variables

* 117631: Bootstrap 4 to 5 html/css fixes

* 117631: Theming fixes after bootstrap upgrade

* 117631: More theming fixes: accordions, spacing, search components etc

* 117631: Fixed tests

* 117631: Fixed offset issues

* 117631: Fixed contrast ratio issue

* 117631: Fixed variables, removed unnecessary mapping, fixed tables, upgraded to Bootstrap 5.3.3

* 118113: vertical footer deviders

* 118113: remove button shadow

* 118113: old checkboxes

* 118113: Custom icons font-family

* 118113: accordion color

* 118113: table striped customizable background-color

* 118113: revert vertical deviders in footer bs-secondary change

* 118113: modal close button

* 118113: add w-100 to btn-block elements

* 118113: border radius

* 118113: The date selector on the submission page gets squished to the side of its label fix

* 118113: adding margins to dynamic-form-control-containers

* 118113: adding gaps between sections of item submission form

* 118113: icon font-family removed !important

* 118113: removed !important from #legend_dc_date_issued

* 118113: move --bs-border-radius to $bs-border-radius

* 118113: remove new SCSS variable

* 118113: reduce size for Item type labels

* 118113: date picker border - transparent

* 118113: drag-item-container elements on same line

* 118113: specific border color for ds-number-picker buttons

* Simplify variables & styles

* 118627: html files

* Fix new SCSS compile issues, remove yarn.lock

* 118627: remove footer button shadow

* 118627: custom login button radius

* 118627: success button - white text

* 118627: table alternate colors

* Fix ghostly Bootstrap version, again

* Override (ng-)bootstrap versions for @ng-dynamic-forms

* 118627: Feedback - fix login button radius

* 118627: Feedback - fix footer button shadows

* 118627: Feedback - login border radius use $bs-border-radius-lg + change to rem

* 118627: Tooltip issue

* 118627: Metadata white authority badge

* 118627: Align Back button

* 118627: Bitstreams under Item's Metadata issue fix

* 118627: select on edit collection page "arrow icon"

* 118627: fix alignment issues

* 118627: fix admin sidebar "Managment" label

* 118627: Feedback - login button

* 118627: Line above table heads

* 118627: Remove HMTL accordion expandable arrow

* 118627: bitstream table

* 118627: notification "close button"

* 118627: faint border/shadow around the expand buttons on hierarchical browse pages

* 118627: tooltip margin

* 118627: Bootstrap 5 changed the default gutter size to 24px

* 118627: custom-aligning -> custom-alignment

* 118627: lint-fix

* 118627: lint fix

* 118627: e2e Fix with new "btn-close"

* 118627: e2e Fix heading order for access-control-form-container

* 118627: access-control-form-container mr-4 to me-4

* 118627: update mr to me & ml to ms & pr to ps & pl to ps

* 118627: Access Control "Mode" radiobuttons under Text

* 118627: Item submission Publisher select icon positioning

* 118627: resolved merge conflict with main (and npm install)

* 118627: cherrypicking 3553 commits

* Remove unused angular-idle-preload

(cherry picked from commit fef5dd72b3)

* 118627: npm install - to fix package-lock.json

* 120594: hamberger menu not showing fix

* 120594: big logo header issue

* 120594: remove faint shadow

* 120594: btn-transparent class

* 120594: badge-* to bg-*

* 120594: add padding-right & -left for rounded-pill

* 120594: update test variables to fit the new bootstrap variables

* 120594: add missing rss conditions

* 120594: fix white badges

* 118627: remove shadow on number-picker

* 120594: revert white badge fix

* 120594: re-add dropdown-button in dynamic-lookup-relation-search-tab

* 120594: remove default radio button styling

* 120594: full width radio buttons

* 120594: edit collection page alignment

* 120594: bg -> bg-primary

* 120594: revert to old info color

* 120594: revert media breakpoints

* 120594: recover PR 3227 rss

* 120594: remove login & logout from PR

* 120594: ds-filter input & label gap

* 120594: ds-filter aligning rows

* 120594: remove navbar.module.ts

* 120594: remove item-edit-bitstream.component.html

* 120594: remove item-edit-bitstream-drag-handle.component.html

* 120594: Fix vocabulary-treeview styling

* 120594: Remove unused browse-by-metadata-page.component.html

* 120594: red invalid input label

* 120594: use old link color for number-picker: #1f7293

* 120594: move $theme-colors to sass override

* 120594: spacing for upload icon

* 120594: decrease media-breakpoint-down

* 120594: PR 3227 rss

* 120594: merge in main bootstrap variable mappings

* 120594: restore all mapped variable that have a value

* 120594: fix unset variable item-edit-bitstream-bundle.component.scss

* 120594: old tooltip color

* 120594: edit bitstream render text inline with the icon

* Revert "120594: merge in main bootstrap variable mappings"

This reverts commit 4e61b5fb

* 120594: add non-default mapped variables with references

* 120594: add docs in _bootstrap_variables_mapping.scss

* 120594: use bootstrap variables instead of hardcoded values

---------

Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Yura Bondarenko <yura.bondarenko@atmire.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2025-03-05 12:15:51 -06:00
Tim Donohue
0607878799 Merge pull request #2640 from hutattedonmyarm/regex-error-messages
More meaningful regex error messages
2024-05-01 16:20:22 -05:00
Yury Bondarenko
dc1053e3f9 Resolve lint issues due to new default rules
We could turn these rules off, but it seems that they indicate some important inconsistencies.

A few cases have been ignored inline because they should be investigated in more detail, which is out of scope for this PR:
- Metadata representation components compare `BrowseByDataType` to a `ResourceType`. Could be related to #2949.
- We assume that dynamic form dates are always represented by strings, but they can also be `Date` or `object` according to the library (see da1742ce05/projects/ng-dynamic-forms/core/src/lib/model/dynamic-date-control.model.ts (L5))
2024-04-18 11:02:04 +02:00
max.nuding
dbf2964160 Fix linting issues 2024-03-13 15:11:55 +01:00
max.nuding
5e44b7e9fe Merge branch 'main' into regex-error-messages 2024-03-13 14:49:51 +01:00
max.nuding
cb7b8b3d22 Submission form now displays custom messages for regex validated fields if they exist 2023-11-15 10:51:01 +01:00
Yury Bondarenko
a11be65f95 ESlint: fix imports 2023-06-27 17:20:06 +02:00
Yury Bondarenko
917c36dbe7 ESLint: fix dangling commas 2023-06-27 17:19:58 +02:00
Yury Bondarenko
0690a201dc ESLint: fix indentation 2023-06-27 17:19:55 +02:00
Alisa Ismailati
d00ad0cd0e [DURACOM-152] Field visibility 2023-06-16 13:27:51 +02:00
Alisa Ismailati
5331b43a62 [DURACOM-152] Fixed read-only visibility for submission form fields 2023-06-07 18:08:21 +02:00
Vincenzo Mecca
8f91e146de [1950][DURACOM-101] JSDoc and regex validation tests 2022-12-20 10:23:19 +01:00
Vincenzo Mecca
6e2279d155 [1950][DURACOM-101] Fixed linting 2022-11-28 11:25:50 +01:00
Vincenzo Mecca
9e843e36fa [1950] [DURACOM-101] Regex validator improved
feat:
  - New regexp to validate pattern used for regex validation;
2022-11-04 10:43:16 +01:00
Yury Bondarenko
47ae04986d 96252: Make existing lodash imports tree-shakeable 2022-10-25 17:25:34 +02:00
Kim Shepherd
bf9208169e [TLC-254] Lint fixes 2022-05-04 15:04:49 +12:00
Kim Shepherd
833637c215 [TLC-254] Get Type Bind config from backend 2022-05-03 14:10:33 +12:00
Kim Shepherd
be6ea812bb [TLC-254] tidy up imports, regexes, mock data 2022-04-23 16:54:52 +12:00
Kim Shepherd
be7f21eb32 [TLC-254] Make the item type field configurable (default dc.type) 2022-04-22 16:02:53 +12:00
Kim Shepherd
361bb7f7dc [TLC-254] Port submission field type binding from DSpace-CRIS 7 2022-04-22 16:02:53 +12:00
Alessandro Martelli
d47660b5c2 [CST-3782] possibility to configure the isDraggable feature to DynamicRowArrayModel 2021-03-31 12:25:47 +02:00
Giuseppe Digilio
ee07d42c9c [CST-3620] fix typo 2021-02-25 13:17:47 +01:00
Giuseppe Digilio
151b02aeec [CST-3782] Make changes in order to remove template row in form's repeatable fields 2021-02-17 16:10:22 +01:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Danilo Di Nuzzo
66cabcb342 refactory for metadata and collection params 2020-08-12 14:01:29 +02:00
Giuseppe Digilio
a25ab5620f Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies 2020-07-23 11:41:03 +02:00
lotte
d467af4a35 lgtm feedback fixes 2020-07-17 10:01:56 +02:00
Giuseppe Digilio
44381d7653 [CST-3088] fixed code 2020-07-01 22:57:26 +02:00
Giuseppe Digilio
63cca76b49 [CST-3088] Replace use of AuthorityService with new VocabularyService 2020-06-25 15:21:44 +02:00
Art Lowel
e4c4a1ecd4 remove debug log 2020-04-23 13:17:13 +02:00
Art Lowel
facd2284d2 fix issue where related entites would be rendered as metadata for one box fields 2020-04-23 13:16:43 +02:00
Art Lowel
e0d4eb7c9c ensure submissionsection state also contains all metadata after a save 2020-04-08 18:14:29 +02:00
lotte
74db9030b0 working on fixes for OrgUnit field in submission 2020-04-07 18:17:37 +02:00
Art Lowel
f64eff42f4 fix a number of issues with name variants 2020-04-03 17:28:13 +02:00
Art Lowel
987e2d98fd Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-04-01 14:06:06 +02:00
Art Lowel
2989ca4d96 fix issues with repeatable fields 2020-04-01 11:06:31 +02:00
Giuseppe Digilio
df8ef2b5c3 Fixed issue with field's required property during form filed initialization 2020-03-02 13:06:47 +01:00
Art Lowel
a8d5ad9c37 fix adding of metadata only fields, and styling 2020-02-25 17:01:44 +01:00
lotte
a4d5e0d20e bug fixing 2020-01-17 16:51:05 +01:00
lotte
e768169add UX improvements 2020-01-14 15:29:21 +01:00
lotte
23d4b16243 made sure added relationships are shown again, resolved issues with duplicate entries + other bug fixes 2020-01-09 16:23:32 +01:00
lotte
3e9eb9eedc fixed relationship specific labels in modal and cleaned up existing code 2020-01-02 13:48:24 +01:00
lotte
11d3f33276 added input value as query in modal 2019-12-23 15:36:39 +01:00
lotte
747606b40f fixed linting errors 2019-12-23 09:27:57 +01:00
lotte
e3355455af fixed patch move 2019-12-13 16:58:59 +01:00
Art Lowel
4cdb1370e2 metadata updates are now sent to the server, but the format is still wrong 2019-12-10 18:30:19 +01:00
lotte
cce9832037 fixed to row fields 2019-12-10 16:16:07 +01:00