mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
feat: added tooltip to buttons
This commit is contained in:
@@ -100,6 +100,7 @@ export default function Details() {
|
||||
{isAdmin && (
|
||||
<IconButton
|
||||
aria-label="Edit description"
|
||||
title="Edit"
|
||||
onClick={() => {
|
||||
setEditDescription(!editDescription);
|
||||
}}
|
||||
@@ -147,6 +148,7 @@ export default function Details() {
|
||||
{isAdmin && (
|
||||
<IconButton
|
||||
aria-label="Edit details"
|
||||
title="Edit"
|
||||
onClick={() => {
|
||||
setEditDetails(!editDetails);
|
||||
}}
|
||||
|
||||
@@ -114,6 +114,7 @@ export default function SideDrawer() {
|
||||
<IconButton
|
||||
onClick={() => setSideDrawer(RESET)}
|
||||
aria-label="Close"
|
||||
title="Close"
|
||||
>
|
||||
<CloseIcon />
|
||||
</IconButton>
|
||||
|
||||
@@ -53,6 +53,7 @@ export default function ActionsMenu({
|
||||
<IconButton
|
||||
aria-label="Actions…"
|
||||
id="table-settings-actions-button"
|
||||
title="Actions menu"
|
||||
aria-controls="table-settings-actions-menu"
|
||||
aria-haspopup="true"
|
||||
aria-expanded={open ? "true" : undefined}
|
||||
|
||||
@@ -58,6 +58,7 @@ export default function DeleteMenu({ clearDialog, data }: IDeleteMenuProps) {
|
||||
<IconButton
|
||||
aria-label="Delete table…"
|
||||
id="table-settings-delete-button"
|
||||
title="Delete menu"
|
||||
aria-controls="table-settings-delete-menu"
|
||||
aria-haspopup="true"
|
||||
aria-expanded={open ? "true" : undefined}
|
||||
|
||||
@@ -139,6 +139,7 @@ export default function TablesPage() {
|
||||
{userRoles.includes("ADMIN") && (
|
||||
<IconButton
|
||||
aria-label="Edit table"
|
||||
title="Edit table"
|
||||
onClick={() =>
|
||||
openTableSettingsDialog({ mode: "update", data: table })
|
||||
}
|
||||
@@ -151,6 +152,7 @@ export default function TablesPage() {
|
||||
onChange={handleFavorite(table.id)}
|
||||
checked={favorites.includes(table.id)}
|
||||
icon={<FavoriteBorderIcon />}
|
||||
title="Favorite"
|
||||
checkedIcon={
|
||||
<Zoom in>
|
||||
<FavoriteIcon />
|
||||
@@ -163,6 +165,7 @@ export default function TablesPage() {
|
||||
/>
|
||||
<IconButton
|
||||
aria-label="Table information"
|
||||
title="Table information"
|
||||
size={view === "list" ? "large" : undefined}
|
||||
component={Link}
|
||||
to={`${getLink(table)}#sideDrawer="table-information"`}
|
||||
|
||||
Reference in New Issue
Block a user