-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
fix:link-docs-missing #22262
fix:link-docs-missing #22262
Conversation
Signed-off-by: Abhishek Kumar <abhishekkumar958830@gmail.com>
WalkthroughThe change updates a hyperlink within a modal component associated with membership tiers in the admin settings. Specifically, the URL provided in a hint text of a text field has been changed from the original address to a new one that directs users to more detailed information about free trials. The functionality of the component, including the logic tied to enabling or disabling the text field based on the free trial state, remains unchanged. No changes were made to the declarations of any exported or public entities. Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 ESLint
apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailModal.tsxOops! Something went wrong! :( ESLint: 8.44.0 ESLint couldn't find the plugin "eslint-plugin-react-hooks". (The package "eslint-plugin-react-hooks" was not found when loaded as a Node module from the directory "/apps/admin-x-settings".) It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
The plugin "eslint-plugin-react-hooks" was referenced from the config file in "apps/admin-x-settings/.eslintrc.cjs". If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@@ -268,7 +268,7 @@ const TierDetailModalContent: React.FC<{tier?: Tier}> = ({tier}) => { | |||
<TextField | |||
disabled={!hasFreeTrial} | |||
hint={<div className='mt-1'> | |||
Members will be subscribed at full price once the trial ends. <a className='text-green' href="https://ghost.org/" rel="noreferrer" target="_blank">Learn more</a> | |||
Members will be subscribed at full price once the trial ends. <a className='text-green' href=" https://ghost.org/help/free-trials/" rel="noreferrer" target="_blank">Learn more</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like there's an accidental space in front of the href, but otherwise looks good to me! :)
Hey @abhishek-kumar-91 , just a note that there's still an extra space in the url that needs fixing. If you made the change but didn't sync your changes to Github, please do! :) |
…o fix/link-docs-missing
Hey @cathysarisky , I have just removed the extra space from the link. |
Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!
pr: #22141
before redirect to https://ghost.org/
Edit Tier Page
this pr redirect to
I have added this link https://ghost.org/help/free-trials/
yarn test:all
andyarn lint
)We appreciate your contribution!