add tooltips to the table view
This commit is contained in:
@@ -305,9 +305,11 @@ export const PlanetTableRow = ({
|
|||||||
</div>
|
</div>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
|
<Tooltip title="Open 3D render of this planet">
|
||||||
<Button variant="contained" onClick={handle3DrenderOpen}>
|
<Button variant="contained" onClick={handle3DrenderOpen}>
|
||||||
3D
|
3D
|
||||||
</Button>
|
</Button>
|
||||||
|
</Tooltip>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<Dialog
|
<Dialog
|
||||||
fullScreen
|
fullScreen
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { Api } from "@/esi-api";
|
import { Api } from "@/esi-api";
|
||||||
import { AccessToken, Planet } from "@/types";
|
import { AccessToken, Planet } from "@/types";
|
||||||
import { Stack, styled, useTheme } from "@mui/material";
|
import { Stack, Tooltip, Typography, styled, useTheme } from "@mui/material";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { PlanetCard } from "./PlanetCard";
|
import { PlanetCard } from "./PlanetCard";
|
||||||
import { NoPlanetCard } from "./NoPlanetCard";
|
import { NoPlanetCard } from "./NoPlanetCard";
|
||||||
@@ -48,13 +48,41 @@ const PlanetaryIteractionTable = ({
|
|||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell width="13%">Planet</TableCell>
|
<TableCell width="13%">Planet</TableCell>
|
||||||
<TableCell width="2%">CC</TableCell>
|
<TableCell width="2%">
|
||||||
<TableCell width="20%">Extraction</TableCell>
|
<Tooltip title="Command center upgrade level">
|
||||||
<TableCell width="20%">Production</TableCell>
|
<Typography>CC</Typography>
|
||||||
<TableCell width="20%">Imports</TableCell>
|
</Tooltip>
|
||||||
<TableCell width="20%">Exports</TableCell>
|
</TableCell>
|
||||||
<TableCell width="5%">u/h</TableCell>
|
<TableCell width="20%">
|
||||||
<TableCell width="5%">MISK/h</TableCell>
|
<Tooltip title="Extractor status and products">
|
||||||
|
<Typography>Extraction</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell width="20%">
|
||||||
|
<Tooltip title="What factories are producing">
|
||||||
|
<Typography>Production</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell width="20%">
|
||||||
|
<Tooltip title="What imports factories need from outside">
|
||||||
|
<Typography>Imports</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell width="20%">
|
||||||
|
<Tooltip title="What exports factories are producing">
|
||||||
|
<Typography>Exports</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell width="5%">
|
||||||
|
<Tooltip title="How many units per hour factories are producing">
|
||||||
|
<Typography>u/h</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell width="5%">
|
||||||
|
<Tooltip title="How many million ISK per hour this planet is exporting (Jita sell min)">
|
||||||
|
<Typography>MISK/h</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
|
Reference in New Issue
Block a user