@@ -549,7 +547,7 @@ const TwitterSna = () => {
className={classes.headerUploadedImage}
/>
-
+
{
-
-
+
+
{
fullWidth
variant="outlined"
/>
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_allelements")}
-
-
-
+
+
+
-
-
+
+
{
fullWidth
variant="outlined"
/>
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_anyelements")}
-
-
-
+
+
+
@@ -662,8 +658,8 @@ const TwitterSna = () => {
-
-
+
+
{
error={sinceError}
placeholder={keyword("twitter_sna_selectdate")}
/>
-
-
+
+
{
placeholder={keyword("twitter_sna_selectdate")}
shouldDisableDate={pastDate}
/>
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_dates")}
-
-
-
+
+
+
-
-
+
+
{
>
{keyword("twittersna_title_timezone")}
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_timezone")}
-
-
-
+
+
+
@@ -775,7 +769,7 @@ const TwitterSna = () => {
onChange={(e) => setLocalTime(e.target.value)}
row
>
- {
label={keyword("twitter_sna_gmt")}
labelPlacement="end"
/>
-
+
@@ -818,7 +812,7 @@ const TwitterSna = () => {
-
+
{
-
-
+
+
{
fullWidth
variant="outlined"
/>
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_exclude")}
-
-
-
+
+
+
-
-
+
+
{
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_language")}
-
-
-
+
+
+
{
-
-
+
+
{
fullWidth
variant="outlined"
/>
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_account")}
-
-
-
+
+
+
{/*
-
-
+
+
{
-
+
-
-
+
+
-
-
+
+
-
-
+
+
{keyword("explanation_verified")}
-
-
-
+
+
+
*/}
-
-
+
+
{
>
{keyword("twittersna_title_media")}
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_media")}
-
-
-
+
+
+
@@ -1158,28 +1148,27 @@ const TwitterSna = () => {
-
-
+
+
{keyword("twittersna_title_advanced")}
-
+
-
-
+
-
-
+
+
-
-
+
+
{
>
{keyword("explanation_cache")}
-
-
-
+
+
+
@@ -1209,7 +1198,7 @@ const TwitterSna = () => {
/>
)}
-
+
@@ -1234,7 +1223,7 @@ const TwitterSna = () => {
{!userAuthenticated &&
}
-
+
diff --git a/src/components/NavItems/tools/VideoRights/Results/VideoRightsResults.jsx b/src/components/NavItems/tools/VideoRights/Results/VideoRightsResults.jsx
index 11390029b..f61a0083c 100644
--- a/src/components/NavItems/tools/VideoRights/Results/VideoRightsResults.jsx
+++ b/src/components/NavItems/tools/VideoRights/Results/VideoRightsResults.jsx
@@ -1,5 +1,5 @@
-import React, { useEffect, useState } from "react";
-import { Paper } from "@mui/material";
+import React from "react";
+import { IconButton, Paper } from "@mui/material";
import useMyStyles from "../../../../Shared/MaterialUiStyles/useMyStyles";
import Typography from "@mui/material/Typography";
import BlockIcon from "@mui/icons-material/Block";
@@ -13,13 +13,12 @@ import FacebookIcon from "@mui/icons-material/Facebook";
import Divider from "@mui/material/Divider";
import invidLogo from "../images/InVID-logo.svg?url";
import Icon from "@mui/material/Icon";
-import Grid from "@mui/material/Grid";
+import { Grid2 } from "@mui/material";
import { cleanVideoRightsState } from "../../../../../redux/actions/tools/videoRightsActions";
import { useDispatch } from "react-redux";
import Card from "@mui/material/Card";
import CardHeader from "@mui/material/CardHeader";
import { i18nLoadNamespace } from "components/Shared/Languages/i18nLoadNamespace";
-import { IconButton } from "@mui/material";
import CloseIcon from "@mui/icons-material/Close";
const VideoRightsResults = (props) => {
@@ -208,8 +207,8 @@ const VideoRightsResults = (props) => {
{result.user !== undefined && (
-
-
+
+
{result.kind === "youTubeVideos" && (
)}
@@ -219,8 +218,8 @@ const VideoRightsResults = (props) => {
{result.kind === "twitterVideos" && (
)}
-
-
+
+
{
{" "}
{result.user.name}
-
-
+
+
)}
-
-
+
+
{
alt={invidLogo}
/>
-
-
+
+
Or try:{" "}
{
InVID Rights Management Tool
.
-
-
+
+
diff --git a/src/components/NavItems/tools/VideoRights/VideoRights.jsx b/src/components/NavItems/tools/VideoRights/VideoRights.jsx
index 6e99721e0..5092a1a09 100644
--- a/src/components/NavItems/tools/VideoRights/VideoRights.jsx
+++ b/src/components/NavItems/tools/VideoRights/VideoRights.jsx
@@ -1,18 +1,14 @@
-import React from "react";
-import { useSelector, useDispatch } from "react-redux";
+import React, { useEffect, useState } from "react";
+import { useDispatch, useSelector } from "react-redux";
import TextField from "@mui/material/TextField";
import Box from "@mui/material/Box";
import Button from "@mui/material/Button";
import LinearProgress from "@mui/material/LinearProgress";
-import { useEffect, useState } from "react";
import useVideoRightsTreatment from "./Hooks/useVideoRightsTreatment";
import useMyStyles from "../../../Shared/MaterialUiStyles/useMyStyles";
import VideoRightsResults from "./Results/VideoRightsResults";
import { i18nLoadNamespace } from "components/Shared/Languages/i18nLoadNamespace";
-import {
- //trackEvent,
- getclientId,
-} from "../../../Shared/GoogleAnalytics/MatomoAnalytics";
+import { getclientId } from "../../../Shared/GoogleAnalytics/MatomoAnalytics";
//import { useTrackEvent } from "../../../../Hooks/useAnalytics";
import { useParams } from "react-router-dom";
import { KNOWN_LINKS } from "../../Assistant/AssistantRuleBook";
@@ -22,7 +18,7 @@ import CardHeader from "@mui/material/CardHeader";
import VideoRightsIcon from "../../../NavBar/images/SVG/Video/Video_rights.svg";
import { setVideoRightsLoading } from "../../../../redux/actions/tools/videoRightsActions";
import HeaderTool from "../../../Shared/HeaderTool/HeaderTool";
-import Grid from "@mui/material/Grid";
+import { Grid2 } from "@mui/material";
import { useTrackEvent } from "../../../../Hooks/useAnalytics";
const VideoRights = () => {
@@ -60,13 +56,13 @@ const VideoRights = () => {
const submitForm = () => {
if (!isLoading) {
/*trackEvent(
- "submission",
- "videorights",
- "video rights",
- input,
- client_id,
- uid
- );*/
+ "submission",
+ "videorights",
+ "video rights",
+ input,
+ client_id,
+ uid
+ );*/
setSubmitted(input);
dispatch(setVideoRightsLoading(true));
}
@@ -111,8 +107,8 @@ const VideoRights = () => {
className={classes.headerUploadedImage}
/>