Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
nit: tooltip spelling (#930)
Browse files Browse the repository at this point in the history
* new table view for report home page

* add sorting for report home page & add id, created at for report

* refactor: UI refactor

* update createAt to lastEditt

* rename UI report to chart

* remove ID & last edited

* nit: wording

---------

Co-authored-by: stevenyh3 <[email protected]>
  • Loading branch information
cabreraalex and stevenyh3 authored Jul 21, 2023
1 parent 0724b6f commit a66d59d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions frontend/src/report/ReportHome.svelte
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<script lang="ts">
import Button from "@smui/button";
import { Label } from "@smui/common";
import DataTable, {
Head,
Body,
Row,
Cell,
Head,
Pagination,
Row,
} from "@smui/data-table";
import { Label } from "@smui/common";
import Select, { Option } from "@smui/select";
import IconButton, { Icon } from "@smui/icon-button";
import Button from "@smui/button";
import Select, { Option } from "@smui/select";
import { tooltip } from "@svelte-plugins/tooltips";
import { reports, slices, models, metrics } from "../stores";
import { ChartType } from "../zenoservice";
import { metrics, models, reports, slices } from "../stores";
import { updateTab } from "../util/util";
import { ChartType } from "../zenoservice";
import ReportHomeRow from "./ReportHomeRow.svelte";
let blur = function (ev) {
Expand Down Expand Up @@ -73,7 +73,7 @@
<h3>Charts</h3>
<div
use:tooltip={{
content: "create a new chart",
content: "Create a new chart.",
position: "left",
theme: "zeno-tooltip",
}}>
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/report/ReportHomeRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
mdiTable,
mdiViewGrid,
} from "@mdi/js";
import IconButton, { Icon } from "@smui/icon-button";
import { Row, Cell } from "@smui/data-table";
import { Svg } from "@smui/common";
import { Cell, Row } from "@smui/data-table";
import IconButton, { Icon } from "@smui/icon-button";
import { tooltip } from "@svelte-plugins/tooltips";
import { reports } from "../stores";
import { ChartType } from "../zenoservice";
import { updateTab } from "../util/util";
import { ChartType } from "../zenoservice";
export let report;
export let reportIndex;
Expand Down Expand Up @@ -64,7 +64,7 @@
<div class="inline">
<div
use:tooltip={{
content: "Make a copy",
content: "Duplicate chart.",
position: "left",
theme: "zeno-tooltip",
}}>
Expand Down Expand Up @@ -92,7 +92,7 @@
</div>
<div
use:tooltip={{
content: "Remove",
content: "Delete chart.",
position: "left",
theme: "zeno-tooltip",
}}>
Expand Down

0 comments on commit a66d59d

Please sign in to comment.