Feat/update layout redirects#22319
Conversation
|
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.
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.
I believe some of the classes here are already part of the secondary variant and the button component.
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