-
Notifications
You must be signed in to change notification settings - Fork 928
Feat/update layout redirects #22319
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/update layout redirects #22319
Conversation
...es/js/src/first-time-configuration/tailwind-components/steps/social-profiles/social-input.js
Outdated
Show resolved
Hide resolved
Hey @kyrylo-polozenko-newfold, my teammate @vraja-pro left a first round of comments above |
Hey @enricobattocchi |
return <> | ||
<Button | ||
id={ buttonId } | ||
type="button" |
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.
type button is the default
id={ buttonId } | ||
type="button" | ||
variant="secondary" | ||
className="yst-w-full yst-flex yst-items-center yst-justify-start yst-font-normal yst-text-sm yst-leading-6 yst-text-slate-500 yst-rounded-md yst-border-slate-300 yst-shadow-sm yst-py-1.5 yst-pl-2 yst-pr-3" |
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.
I believe some of the classes here are already part of the secondary
variant and the button component.
as={ TextField } | ||
type="text" | ||
name="newURL" | ||
id="input-new_url" |
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.
id="input-new_url" | |
id="yst-input-new_url" |
as={ TextField } | ||
type="text" | ||
name="oldURL" | ||
id="input-old_url" |
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.
id="input-old_url" | |
id="yst-input-old_url" |
as={ SelectField } | ||
type="select" | ||
name="redirectType" | ||
id="input-redirect_type" |
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.
id="input-redirect_type" | |
id="yst-input-redirect_type" |
<div className="yst-bg-slate-50 yst-border-slate-200 yst-border-t yst-rounded-b-lg"> | ||
<div className="yst-flex yst-align-middle yst-space-x-3 rtl:yst-space-x-reverse yst-p-8"> | ||
<Button | ||
id="button-submit-settings" |
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.
id="button-submit-settings" | |
id="yst-button-submit-settings" |
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.
CR ✅
Context
This PR introduces the initial structure for the Redirections feature in the application. The goal is to establish a foundation for managing and displaying redirections within the admin interface.
Summary
This PR can be summarized in the following changelog entry:
Adds the basic structure and UI for the Redirections page in the WordPress SEO plugin.
Some components were also moved to the shared layer and reused on the settings and redirects pages
UI changes
This PR changes the UI in the plugin. I have added the 'UI change' label to this PR.
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
React frontend structure