Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bb8eafa
Add `Edit Profile` button tooltip label
ivan-ottinger Nov 8, 2024
2246bd3
Update `aria-label` of the `Edit Profile` button
ivan-ottinger Nov 8, 2024
9a0c413
Add `Open Settings` button tooltip label
ivan-ottinger Nov 8, 2024
a986cde
Update `aria-label` of the `Open Settings` button
ivan-ottinger Nov 8, 2024
97c4840
Update `aria-label` of the `Get help` button
ivan-ottinger Nov 8, 2024
2f5bd45
Add `Get help` button tooltip label
ivan-ottinger Nov 8, 2024
b73d29f
Add `Stop site` / `Start site` tooltip label to the Stop / Start site…
ivan-ottinger Nov 8, 2024
cc7f35f
Fix unit tests
ivan-ottinger Nov 8, 2024
033dc7e
Fix linting
ivan-ottinger Nov 8, 2024
791c4b0
Change `Edit Profile` to `Edit profile` and `Open Settings` to `Open …
ivan-ottinger Nov 11, 2024
47d8583
Add `Toggle sidebar` tooltip
ivan-ottinger Nov 11, 2024
8debf03
Add `Starting` tooltip text when a site is starting
ivan-ottinger Nov 11, 2024
f4b76c1
Add tooltip handling to the `CopyTextButton` component
ivan-ottinger Nov 11, 2024
a833c94
Add tooltips to "Copy to clipboard" buttons on the site Settings page
ivan-ottinger Nov 11, 2024
a1aaf56
Add tooltips to `WP admin` and `Open site` links
ivan-ottinger Nov 11, 2024
5081bbb
Add tooltip to the site screenshot on the Overview tab
ivan-ottinger Nov 11, 2024
6388a10
Fix linting errors
ivan-ottinger Nov 11, 2024
ebfcb29
Fix translators comments
ivan-ottinger Nov 11, 2024
92a323c
Update "Copy to clipboard" tooltip logic
ivan-ottinger Nov 11, 2024
c913ba0
Fix unit tests
ivan-ottinger Nov 11, 2024
108abae
Add tooltip to the `Log in` button when logged out
ivan-ottinger Nov 12, 2024
333b600
Use custom `Tooltip` component
ivan-ottinger Nov 12, 2024
172c198
Fix linting errors
ivan-ottinger Nov 12, 2024
ba4bd1a
Restore unintentionaly removed `showTooltip` prop from the `Button` c…
ivan-ottinger Nov 12, 2024
ebf326c
Refactor `Button` component return value
ivan-ottinger Nov 12, 2024
1fcd845
Handle header tooltip texts for stopped sites
ivan-ottinger Nov 13, 2024
dbf2937
Apply tooltip to Header links only when the site is running
ivan-ottinger Nov 13, 2024
3114ccd
Use `title` instead of `tooltipText` for `Get help` and `Edit profile…
ivan-ottinger Nov 14, 2024
4713347
Remove `Edit profile` tooltip
ivan-ottinger Nov 15, 2024
fe706dc
Remove `Get help` tooltip
ivan-ottinger Nov 15, 2024
9f74b5c
Remove tooltips from Header links
ivan-ottinger Nov 15, 2024
0688a7c
Remove `url` from `StoppedSiteDetails` interface
ivan-ottinger Nov 15, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore unintentionaly removed showTooltip prop from the Button c…
…omponent
  • Loading branch information
ivan-ottinger committed Nov 12, 2024
commit ba4bd1a0e21ae605cf7bb42e263aafb78de83222
2 changes: 2 additions & 0 deletions src/components/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export default function ButtonComponent( {
variant,
truncate,
children,
showTooltip,
tooltipText,
...props
}: ButtonProps ) {
Expand Down Expand Up @@ -145,6 +146,7 @@ export default function ButtonComponent( {
props.isDestructive && destructiveStyles,
className
) }
showTooltip={ showTooltip || ( truncate && isTruncated ) }
>
{ truncate
? [
Expand Down