Commit Graph

104 Commits

Author SHA1 Message Date
Tim Donohue
95b8dc3c11 Merge pull request #1923 from 4Science/CST-6171
Customizability of theme colours
2023-01-05 15:00:41 -06:00
Tim Donohue
66820dd264 Merge pull request #1936 from atmire/w2p-95335_created-ListableNotificationObjectComponent_contribute-7.2
Created `ListableNotificationObject`
2022-12-07 10:44:34 -06:00
Davide Negretti
c151cf340e Merge branch 'main' into CST-6171 2022-11-10 17:41:00 +01:00
Tim Donohue
41e694507e Merge pull request #1902 from 4Science/CST-7119
Fix issues with user menu on different screen sizes
2022-10-31 10:25:34 -05:00
Alexandre Vryghem
bd4f1f3c70 96433: Fixed issue where ExpandableNavbarSectionComponent was not loaded fast enough 2022-10-28 16:57:21 +02:00
Tim Donohue
d66fdf42b1 Add lint rule banning wildcard imports. Fix existing ones where possible. 2022-10-27 16:02:24 -05:00
Davide Negretti
b62a4f6c53 [CST-6171] Navbar border 2022-10-21 01:38:26 +02:00
Davide Negretti
dd4d709d9c [CST-7119] Fixes 2022-10-17 11:22:07 +02:00
Sufiyan Shaikh
c75f5f7c81 [CST-7119] User menu fixes and improvements 2022-10-14 18:39:41 +02:00
Peter Wolfersberger
fc624a406f Workaround missing navbar @768px for dspace and custom templates
The treatment of the breakpoints is inconsistent. md is defined as
768px<=md<992px.
The statement
@media screen and (max-width: map-get($grid-breakpoints, md)) {}
,which is in some instances used at the moment for referencing break intervals BELOW md includes the lower md border which should be excluded.
The sass mixin
@include media-breakpoint-down($name) {}
or function
breakpoint-max($name)
for some unknown reason don't work, so this is a workaround.
2022-09-27 15:19:00 +02:00
Alexandre Vryghem
fc1e6b6b85 Removed comments for how to theme li[Component] 2022-06-03 11:50:07 +02:00
Alexandre Vryghem
9e8071727d Merge branch 'main-upstream' into w2p-91272_Add-themed-components-to-upstream-branch 2022-06-02 12:09:51 +02:00
Alexandre Vryghem
e741573348 Merge branch 'w2p-89984_feature-rtl-theme_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-13 18:46:03 +02:00
Alexandre Vryghem
e197e496b5 91272: Fixed accessibility violation 2022-05-13 17:19:42 +02:00
Alexandre Vryghem
5682c81217 91272: Fixed import statements and position of expandable navbar button 2022-05-13 14:18:01 +02:00
Alexandre Vryghem
7904cead76 Merge branch 'w2p-89741_Add-themeable-components_conntribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-13 13:43:09 +02:00
Yana De Pauw
cbf0db5342 Add themed loading component in custom theme and fix issues 2022-05-11 11:30:25 +02:00
Yana De Pauw
d8b6e65f6f Fix tests 2022-05-10 16:45:38 +02:00
Yana De Pauw
d6be2e8651 89984: Add themable menu section 2022-05-10 16:45:20 +02:00
Alexandre Vryghem
b9b5b50999 89741: Added ThemedExpandableNavbarSectionComponent 2022-05-03 09:04:58 +02:00
Yura Bondarenko
1522c36ed0 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-04-28 13:49:39 +02:00
Art Lowel
3bc5ee0253 pages loading twice poc
Cherry-picked from original branch started from Angular 13 PR
2022-04-27 11:58:43 +02:00
lotte
6784ac39f6 Merge branch 'main' into Removing-unnecessary-circular-dependencies 2022-04-20 14:47:55 +02:00
Yura Bondarenko
245977a432 87968: Automatic migration from TSLint to ESLint
Via `ng g @angular-eslint/schematics:convert-tslint-to-eslint`
2022-04-08 17:57:16 +02:00
Yura Bondarenko
8e4f1993bf 87968: Automatic upgrade to NgRx 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
1b460fe1d3 87968: Automatic upgrade to Angular 13 2022-04-08 17:57:15 +02:00
lotte
30b7e8eb39 Merge branch 'main' into w2p-87382_circular-dependency-fixes 2022-04-05 16:35:00 +02:00
Yura Bondarenko
2830da9557 Fix undefined injector issue 2022-02-18 08:23:41 +01:00
lotte
143b7c3e0d 87382: fixing circular dependencies 2022-02-16 13:52:32 +01:00
Art Lowel
c34f75b443 replace href="#" with href="javascript:void(0);" everywhere 2022-01-24 09:27:19 +01:00
Giuseppe Digilio
504604cfc7 Merge remote-tracking branch 'origin/main' into CST-4981-statistics-are-always-accessible-even-if-are-restricted-to-administrator
# Conflicts:
#	src/app/community-page/edit-community-page/community-authorizations/community-authorizations.component.ts
#	src/app/navbar/navbar.component.spec.ts
#	src/app/navbar/navbar.component.ts
#	src/app/shared/resource-policies/form/resource-policy-form.component.spec.ts
2021-12-24 12:25:03 +01:00
Rezart Vata
12ab877ae4 [CST-4981] fixed and finished unit testing 2021-12-23 21:59:24 +01:00
Rezart Vata
e594cabe4a [CST4981] finished task, working on unit testing 2021-12-22 18:01:37 +01:00
lotte
0e6c3a3a9d 85993: small changes and lint fixes 2021-12-21 16:48:31 +01:00
lotte
15dfa3cd82 85993: comcol/switcher/guard browse by changes + test updates 2021-12-21 15:38:50 +01:00
lotte
a1578303fa 85993: Browse by from rest for menu and comcol page browse by 2021-12-15 16:15:06 +01:00
Giuseppe Digilio
a952438247 [CST-5033] fix comments 2021-12-14 15:44:43 +01:00
Tim Donohue
b4732f3c31 Move actions to keyup while having preventDefault on keydown 2021-10-04 10:18:01 -05:00
Tim Donohue
1d0a5c0e87 Switch from keyup to keydown to fix spacebar scrolling issue. 2021-10-01 16:45:59 -05:00
Tim Donohue
7747a8c4e2 Attempt to stop scroll to bottom of page when clicking spacebar 2021-09-30 17:11:34 -05:00
Tim Donohue
e5e6e9c07a Also support using spacebar to open/close menu 2021-09-28 12:20:53 -05:00
Tim Donohue
8e2ab83d92 Fix existing tests. Add new specs for enter key presses 2021-09-17 11:19:14 -05:00
Tim Donohue
b86ae8dd14 Allow enter key to expand or contract menu based on current active status 2021-09-14 14:16:04 -05:00
Yura Bondarenko
ab6e8be6b1 Remove unused import 2021-08-16 17:53:17 +02:00
Yura Bondarenko
b84e003f27 81901: Update unit tests 2021-08-06 19:03:31 +02:00
Yura Bondarenko
d095c98b13 81901: Menu item components as ul > li 2021-08-06 18:14:43 +02:00
Giuseppe Digilio
ab73bf87b0 fix issue with dropdowns key accessibility 2021-07-08 18:10:43 +02:00
Art Lowel
b556234207 add aria and alt attributes to base header as well 2021-06-16 13:05:03 +02:00
Art Lowel
c756c68f28 move header changes to dspace theme 2021-06-11 17:08:29 +02:00
Giuseppe
7402286954 #728 accessibility theming (#1057)
* [CST-3763] Change base theme colors

* [CST-3763] added new custom variables

* [CST-3763] applied changes to the header in order to have two different navbar

* [CST-3763] applied changes to breadcrumbs navbar

* [CST-3763] fix sidebar colors

* [CST-3763] applied changes footer in order to have two different sections

* [CST-3763] change home news jumbotron background color

* [CST-3763] fix issue with search-navbar.component z-index

* [CST-3763] fix issue with search-form.component that didn't use the brand colo parameter

* [CST-3763] fix issue with menu navbar on small window view

* [CST-3763] changed position for browse all button in the access control pages

* [CST-3763] Change form.component in order to have possibilities to display better additional form buttons

* [CST-3763] Change confirmation-modal.component in order to allow different colors and icons for confirm button

* [CST-3763] added confirmation icon

* [CST-3763] fixed accessibility for admin access control components

* [CST-3763] Added placeholder for search boxes

* [CST-3763] Added repository logo alt label

* [CST-3763] Adjust notification icons

* [CST-3763] Fix issue with hideReturnButton param in edit-comcol-page.component that was not initialized on page refresh

* Accessibility fix

* [CST-3763] Adjust usability for community/collection edit

* [CST-3763] fix error while running test

* [CST-3763] Added dynamically a title prefix to all dspace page

* [CST-3763] add breadcrumbs to the page where are missing

* [CST-3763] fixed failed tests

* [CST-3763] fixed failed e2e test

* [CST-3763] fixed failed e2e test

* Buttons fixes for accessibility

* [CST-3973] fixed issue with redirect after changing language

* Buttons and sections fixes for accessibility

* Buttons and sections fixes for accessibility

* [CST-3763] fixed colors for chips component

* [CST-3977] fixed issue with selecting a tag submission field

* [CST-3763] add breadcrumbs to the page where are missing

* [CST-3763] fixed edit workflowitem buttons color

* [CST-3977] removed unintentional committed log

* [CST-3763] Fix issue with tab selection in item edit page

* [CST-3763] Fix position of back button in the item edit page

* [CST-3763] icon and colors for search and browse all buttons

* [CST-3763] added atkinson font

* [CST-3763] remove dspace logo from home news

* [CST-3763] fix buttons colors for administrative search

* [CST-3763] Change background color for user menu

* [CST-3763] remove gradient from home page news component

* [CST-3763] fix issue with edit dso button

* [CST-3763] revert color schema

* [CST-3763] remove Atkinson-Hyperlegible font

* [CST-3763] fix use of header-logo-height variable

* [CST-3763] fix homepage link color

* [CST-3763] fix contrast color issue for navbar menu entries

* [CST-3763] add variable to show/hide top footer container

* [CST-3763] change dso edit button style

* [CST-3763] ensure to use "back" and "save" labels

* [CST-3763] Remove border from header

* [CST-3763] Change header in order to have only navigation bar in a single row

* Update src/app/root/root.component.html

Co-authored-by: Art Lowel <art.lowel@gmail.com>

* [CST-3763] Fix issue with wrong grid-breakpoints that cause issue on navbar collapsing

* [CST-3763] Fix issue with language dropdown when navbar is collapsed

* [CST-3763] Fix issue after merging

Co-authored-by: Matteo Perelli <matteo.perelli@4science.it>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
2021-04-02 09:14:56 -05:00