-
-
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
🎨 Added ability to vertically resize the Spam Filters text area #22311
base: main
Are you sure you want to change the base?
Conversation
no issue In Ghost Admin, the Spam Filters text area was not resizable, which made it difficult to work with for sites with more than 4 rows of blocked domains. This change makes the text area vertically resizable so, if desired, users can see more domains at the same time.
WalkthroughThe changes in this pull request introduce a modification to the Possibly related PRs
Suggested reviewers
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/advanced/SpamFilters.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)
🔇 Additional comments (1)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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 (
|
Hello @evanwon, Thanks for the PR! Makes sense :) Merging |
yarn test:all
andyarn lint
)In Ghost Admin, the Spam Filters text area was not resizable, which made it difficult to work with for sites with more than 4 rows of blocked domains. This change makes the text area vertically resizable so, if desired, users can see more domains at the same time.
Before
The Spam Filters text area is not resizable, which makes it difficult to work with longer lists of spam domains.

After
Here's what the Spam Filters text area now looks like by default in Firefox - same size as before, but note the resize indicator in the bottom right corner.

And here's what it looks like when you manually resize the Spam Filters text area (note that it can only be resized vertically, which I think makes the most sense for this use case).
