Skip to content

Commit fa81f13

Browse files
committed
Merge branch 'main' into edit-multifields-in-editmultipleeventsmodal
2 parents 8a91398 + 2d2248d commit fa81f13

128 files changed

Lines changed: 2504 additions & 3229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ updates:
1717
open-pull-requests-limit: 15
1818
labels:
1919
- type:dependencies
20+
groups:
21+
minor-and-patch:
22+
update-types:
23+
- minor
24+
- patch

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ How to cut a release for Opencast
7171
workflow to finish
7272
- It will create a new [GitHub release draft](https://github.com/opencast/opencast-admin-interface/releases)
7373
- Review and publish the draft
74+
- By selecting the previous release, Github can generate release notes automatically
7475

7576
5. Submit a pull request against Opencast
7677
- [Update the release](https://github.com/opencast/opencast/blob/542fc1f82181d1d4712ac8fc06c5ea9e16ae4033/modules/admin-ui-interface/pom.xml#L16-L17)

package-lock.json

Lines changed: 618 additions & 269 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,40 @@
66
"homepage": "/admin-ui",
77
"dependencies": {
88
"@hello-pangea/dnd": "^17.0.0",
9-
"@mui/material": "^6.1.9",
10-
"@mui/x-date-pickers": "^7.23.1",
11-
"@reduxjs/toolkit": "^2.2.6",
12-
"@types/dompurify": "^3.0.5",
13-
"@types/react-router-dom": "^5.3.3",
9+
"@mui/material": "^6.4.1",
10+
"@mui/x-date-pickers": "^7.24.1",
11+
"@reduxjs/toolkit": "^2.5.1",
1412
"array-move": "^4.0.0",
15-
"axios": "^1.7.7",
13+
"axios": "^1.7.9",
1614
"bourbon": "^7.3.0",
1715
"classnames": "^2.5.1",
1816
"date-fns": "^3.6.0",
19-
"dompurify": "^3.1.7",
17+
"dompurify": "^3.2.3",
2018
"font-awesome": "^4.7.0",
2119
"formik": "^2.4.6",
2220
"http-proxy-middleware": "^3.0.3",
23-
"i18next": "^23.16.4",
24-
"i18next-browser-languagedetector": "^8.0.0",
25-
"i18next-http-backend": "^2.6.1",
21+
"i18next": "^24.2.2",
22+
"i18next-browser-languagedetector": "^8.0.2",
23+
"i18next-http-backend": "^3.0.2",
2624
"lodash": "^4.17.21",
2725
"moment": "^2.30.1",
28-
"moment-timezone": "^0.5.46",
26+
"moment-timezone": "^0.5.47",
2927
"react": "^18.3.1",
30-
"react-chartjs-2": "^5.2.0",
31-
"react-datepicker": "^7.5.0",
28+
"react-chartjs-2": "^5.3.0",
29+
"react-datepicker": "^7.6.0",
3230
"react-dom": "^18.3.1",
3331
"react-hotkeys-hook": "^4.6.1",
34-
"react-i18next": "^15.1.3",
35-
"react-icons": "^5.3.0",
36-
"react-redux": "^9.1.2",
37-
"react-router-dom": "^6.27.0",
38-
"react-select": "^5.8.0",
32+
"react-i18next": "^15.4.0",
33+
"react-icons": "^5.4.0",
34+
"react-redux": "^9.2.0",
35+
"react-router": "^7.1.3",
36+
"react-select": "^5.10.0",
3937
"redux": "^5.0.1",
4038
"redux-persist": "^6.0.0",
4139
"redux-thunk": "^3.1.0",
4240
"reselect": "^5.1.1",
43-
"styled-components": "^6.1.13",
44-
"yup": "^1.4.0"
41+
"styled-components": "^6.1.14",
42+
"yup": "^1.6.1"
4543
},
4644
"scripts": {
4745
"start": "vite",
@@ -64,10 +62,10 @@
6462
"devDependencies": {
6563
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
6664
"@eslint/eslintrc": "^3.2.0",
67-
"@eslint/js": "^9.9.1",
65+
"@eslint/js": "^9.19.0",
6866
"@redux-devtools/extension": "^3.3.0",
69-
"@types/lodash": "^4.17.13",
70-
"@types/node": "^22.5.1",
67+
"@types/lodash": "^4.17.15",
68+
"@types/node": "^22.12.0",
7169
"@types/react-dom": "^18.3.0",
7270
"@types/uuid": "^10.0.0",
7371
"@typescript-eslint/eslint-plugin": "^7.14.1",
@@ -76,11 +74,11 @@
7674
"eslint-config-react-app": "^7.0.1",
7775
"prop-types": "^15.8.1",
7876
"rollup-preserve-directives": "^1.1.3",
79-
"sass": "^1.79.4",
80-
"typescript": "^5.6.3",
81-
"uuid": "^11.0.3",
77+
"sass": "^1.83.4",
78+
"typescript": "^5.7.3",
79+
"uuid": "^11.0.5",
8280
"vite": "^5.4.10",
83-
"vite-plugin-svgr": "^4.2.0",
81+
"vite-plugin-svgr": "^4.3.0",
8482
"vite-tsconfig-paths": "^5.1.4",
8583
"vitest": "^2.1.8"
8684
}

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect } from "react";
2-
import { HashRouter, Navigate, Route, Routes } from "react-router-dom";
2+
import { HashRouter, Navigate, Route, Routes } from "react-router";
33
import "./App.scss";
44
import Events from "./components/events/Events";
55
import Recordings from "./components/recordings/Recordings";

src/components/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import NavBar from "./NavBar";
44
import Footer from "./Footer";
55
import MainNav from "./shared/MainNav";
66
import { useTranslation } from "react-i18next";
7-
import { Link, useLocation } from "react-router-dom";
7+
import { Link, useLocation } from "react-router";
88
import cn from "classnames";
99
import axios from 'axios';
1010
import i18n from "../i18n/i18n";

src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
getUserInformation,
55
} from "../selectors/userInfoSelectors";
66
import { useAppSelector } from "../store";
7-
import { Link } from "react-router-dom";
7+
import { Link } from "react-router";
88
import { useTranslation } from "react-i18next";
99
import { Tooltip } from "./shared/Tooltip";
1010

src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect, useState } from "react";
22
import { useTranslation } from "react-i18next";
3-
import { Link } from "react-router-dom";
3+
import { Link } from "react-router";
44
import i18n from "../i18n/i18n";
55
import languages from "../i18n/languages";
66
import opencastLogo from "../img/opencast-white.svg?url";

src/components/configuration/Themes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useEffect, useState } from "react";
22
import { useTranslation } from "react-i18next";
33
import MainNav from "../shared/MainNav";
4-
import { Link } from "react-router-dom";
4+
import { Link } from "react-router";
55
import cn from "classnames";
66
import TableFilters from "../shared/TableFilters";
77
import Table from "../shared/Table";

src/components/configuration/partials/ThemesActionsCell.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useState } from "react";
22
import { useTranslation } from "react-i18next";
33
import ConfirmModal from "../../shared/ConfirmModal";
4-
import ThemeDetailsModal from "./wizard/ThemeDetailsModal";
54
import {
65
fetchThemeDetails,
76
fetchUsage,
@@ -11,6 +10,8 @@ import { hasAccess } from "../../../utils/utils";
1110
import { useAppDispatch, useAppSelector } from "../../../store";
1211
import { deleteTheme, ThemeDetailsType } from "../../../slices/themeSlice";
1312
import { Tooltip } from "../../shared/Tooltip";
13+
import ThemeDetails from "./wizard/ThemeDetails";
14+
import DetailsModal from "../../shared/modals/DetailsModal";
1415

1516
/**
1617
* This component renders the action cells of themes in the table view
@@ -60,10 +61,13 @@ const ThemesActionsCell = ({
6061
)}
6162

6263
{displayThemeDetails && (
63-
<ThemeDetailsModal
64+
<DetailsModal
6465
handleClose={hideThemeDetails}
65-
themeName={row.name}
66-
/>
66+
title={row.name}
67+
prefix={"CONFIGURATION.THEMES.DETAILS.EDITCAPTION"}
68+
>
69+
<ThemeDetails close={hideThemeDetails} />
70+
</DetailsModal>
6771
)}
6872

6973
{/* delete themes */}

0 commit comments

Comments
 (0)