Added missing headers

This should make the UI less "mysterious".
This commit is contained in:
JayZed 2024-03-09 16:43:26 -05:00
parent deec28865f
commit f78998eb5e
4 changed files with 16 additions and 4 deletions

View File

@ -64,6 +64,7 @@ function ManualSearchView<T extends SupportType>(props: Props<T>) {
},
},
{
Header: "Language",
accessor: "language",
Cell: ({ row: { original }, value }) => {
const lang: Language.Info = {
@ -137,7 +138,7 @@ function ManualSearchView<T extends SupportType>(props: Props<T>) {
},
},
{
Header: "Upload",
Header: "Uploader",
accessor: "uploader",
Cell: ({ value }) => {
const { classes } = useTableStyles();
@ -145,6 +146,7 @@ function ManualSearchView<T extends SupportType>(props: Props<T>) {
},
},
{
Header: "Match",
accessor: "matches",
Cell: (row) => {
const { matches, dont_matches: dont } = row.row.original;
@ -158,6 +160,7 @@ function ManualSearchView<T extends SupportType>(props: Props<T>) {
},
},
{
Header: "Get",
accessor: "subtitle",
Cell: ({ row }) => {
const result = row.original;

View File

@ -58,6 +58,7 @@ const MoviesHistoryView: FunctionComponent = () => {
accessor: "score",
},
{
Header: "Match",
accessor: "matches",
Cell: (row) => {
const { matches, dont_matches: dont } = row.row.original;
@ -90,6 +91,7 @@ const MoviesHistoryView: FunctionComponent = () => {
},
},
{
Header: "Info",
accessor: "description",
Cell: ({ value }) => {
return (
@ -100,11 +102,12 @@ const MoviesHistoryView: FunctionComponent = () => {
},
},
{
Header: "Upgrade",
accessor: "upgradable",
Cell: (row) => {
if (row.value) {
return (
<TextPopover text="This Subtitles File Is Eligible For An Upgrade.">
<TextPopover text="This Subtitle File Is Eligible For An Upgrade.">
<FontAwesomeIcon size="sm" icon={faRecycle}></FontAwesomeIcon>
</TextPopover>
);
@ -114,6 +117,7 @@ const MoviesHistoryView: FunctionComponent = () => {
},
},
{
Header: "Blacklist",
accessor: "blacklisted",
Cell: ({ row, value }) => {
const add = useMovieAddBlacklist();

View File

@ -74,6 +74,7 @@ const SeriesHistoryView: FunctionComponent = () => {
accessor: "score",
},
{
Header: "Match",
accessor: "matches",
Cell: (row) => {
const { matches, dont_matches: dont } = row.row.original;
@ -106,6 +107,7 @@ const SeriesHistoryView: FunctionComponent = () => {
},
},
{
Header: "Info",
accessor: "description",
Cell: ({ row, value }) => {
return (
@ -116,11 +118,12 @@ const SeriesHistoryView: FunctionComponent = () => {
},
},
{
Header: "Upgrade",
accessor: "upgradable",
Cell: (row) => {
if (row.value) {
return (
<TextPopover text="This Subtitles File Is Eligible For An Upgrade.">
<TextPopover text="This Subtitle File Is Eligible For An Upgrade.">
<FontAwesomeIcon size="sm" icon={faRecycle}></FontAwesomeIcon>
</TextPopover>
);
@ -130,6 +133,7 @@ const SeriesHistoryView: FunctionComponent = () => {
},
},
{
Header: "Blacklist",
accessor: "blacklisted",
Cell: ({ row, value }) => {
const {

View File

@ -35,6 +35,7 @@ const Table: FunctionComponent<Props> = ({ tasks }) => {
accessor: "next_run_in",
},
{
Header: "Run",
accessor: "job_running",
Cell: ({ row, value }) => {
const { job_id: jobId } = row.original;
@ -42,7 +43,7 @@ const Table: FunctionComponent<Props> = ({ tasks }) => {
return (
<MutateAction
label="Run"
label="Run Job"
icon={faPlay}
iconProps={{ spin: value }}
mutation={runTask}