Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add instructions in tooltips #29

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lengyel-arpad85
Copy link
Collaborator

Screenshot from 2024-11-13 20-15-11 Screenshot from 2024-11-13 20-15-19
Screenshot from 2024-11-13 20-15-53 Screenshot from 2024-11-13 20-16-09
Screenshot from 2024-11-13 20-16-23 Screenshot from 2024-11-13 20-16-42

@lengyel-arpad85 lengyel-arpad85 linked an issue Nov 13, 2024 that may be closed by this pull request
@lengyel-arpad85 lengyel-arpad85 changed the title add instructions in tooltips feat: add instructions in tooltips Nov 13, 2024
<Input
name="walletAddress"
label="Wallet address"
tooltip="Your wallet address is used for saving your configured component, to confirm you own the component you want to update, as well as being injected into the page you are dislaying the component in, enabling accepting funds through webmonetization."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tooltip="Your wallet address is used for saving your configured component, to confirm you own the component you want to update, as well as being injected into the page you are dislaying the component in, enabling accepting funds through webmonetization."
tooltip="Your wallet address is used to save your configured component, verify ownership of the component you want to update, and integrate it into the page displaying the component, enabling fund acceptance via Web Monetization."

bgColor: 'from-wm-dark-green to-wm-dark-green-fade',
link: 'create/banner',
tooltip:
"The embedded banner will be shown if webmonetization extension isn't active and until user closes it. You can set colors and displayed title and text. The link to the extension is browser type based and is automatically added.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"The embedded banner will be shown if webmonetization extension isn't active and until user closes it. You can set colors and displayed title and text. The link to the extension is browser type based and is automatically added.",
"If the Web Monetization extension is inactive, an embedded banner will be shown until the user closes it. You can customize the banner's colors, title, and text, and a browser-specific link to the extension is automatically included.",

tooltip:
"The embedded banner will be shown if webmonetization extension isn't active and until user closes it. You can set colors and displayed title and text. The link to the extension is browser type based and is automatically added.",
description:
'A banner to display on your website for visitors who do not have WM extension active. A call-to-action with a link to the extension or description of the options. It will also add a paiment pointer to your website.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'A banner to display on your website for visitors who do not have WM extension active. A call-to-action with a link to the extension or description of the options. It will also add a paiment pointer to your website.'
'The banner informs visitors who don't have the Web Monetization extension active, with a call-to-action linking to the extension or providing details about the options available. It also adds a payment pointer to your site.'

bgColor: 'from-wm-red to-wm-red-fade',
link: 'create/widget',
tooltip:
'The embedded widget is displayed on the lower right corner of the website, it opens an overlayed section with title, text and a payment solution. You can customize the colors and text. The preset values are fixed, but there is an option for custom values for the visitor.',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'The embedded widget is displayed on the lower right corner of the website, it opens an overlayed section with title, text and a payment solution. You can customize the colors and text. The preset values are fixed, but there is an option for custom values for the visitor.',
'The embedded widget appears in the lower right corner of your website and opens an overlay with a title, text, and payment solution, all of which can be customized in terms of colors and text. While preset values are fixed, you have the option to set custom values for visitors.',
Suggested change
'The embedded widget is displayed on the lower right corner of the website, it opens an overlayed section with title, text and a payment solution. You can customize the colors and text. The preset values are fixed, but there is an option for custom values for the visitor.',
'The embedded widget is displayed on the lower right corner of the website, it opens an overlayed section with title, text and a payment solution. You can customize the colors and text. The preset values are fixed, but there is an option for custom values for the visitor.',

tooltip:
'The embedded widget is displayed on the lower right corner of the website, it opens an overlayed section with title, text and a payment solution. You can customize the colors and text. The preset values are fixed, but there is an option for custom values for the visitor.',
description:
'A widget to display a small explanation or description of your choice and a solution for donations or a one-time payment, even for visitors who do not have the WM extension active.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'A widget to display a small explanation or description of your choice and a solution for donations or a one-time payment, even for visitors who do not have the WM extension active.'
'You can add a widget to provide a brief explanation or description, along with a donation or one-time payment option, even for users without the Web Monetization extension.'

link: 'create/button',
tooltip: '',
description:
'Add a custom button to your website with a short tooltip, that triggers a payment option for donations or one-time payments in a full page overlay, for a convenient option for your visitors to support your work / content.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'Add a custom button to your website with a short tooltip, that triggers a payment option for donations or one-time payments in a full page overlay, for a convenient option for your visitors to support your work / content.'
'You can place a custom button with a short tooltip on your site that triggers a payment option in a full-page overlay, offering a convenient way for visitors to support your work or content.'

@@ -97,6 +100,8 @@ export default function Create() {
)}
<ScriptModal
title="Your script"
tooltip="Copy your script, place it before the closing body tag in your website, or place it into a script type element in instances when you have a site management software (ex: wordpress, etc).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tooltip="Copy your script, place it before the closing body tag in your website, or place it into a script type element in instances when you have a site management software (ex: wordpress, etc).
tooltip="Copy your script and insert it just before the closing </body> tag on your website, or place it within a <script> tag if you're using site management software (e.g., WordPress, etc.).

@@ -97,6 +100,8 @@ export default function Create() {
)}
<ScriptModal
title="Your script"
tooltip="Copy your script, place it before the closing body tag in your website, or place it into a script type element in instances when you have a site management software (ex: wordpress, etc).
<br />Check all options at the include section, that you want to display on your website."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<br />Check all options at the include section, that you want to display on your website."
<br />Be sure to review and select all the options in the "Include" section that you want to display on your site."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add instructions and descriptions in tooltips
2 participants