Optimize how styles are saved in global settings#2061
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe pull request introduces modifications to the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
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 (
|
engahmeds3ed
left a comment
There was a problem hiding this comment.
Indeed, that's a brilliant idea.
Tested it on a customer's site with the suggested change and it's working properly.
|
Thanks Ahmed! |
Related Slack conversation https://strategy11.slack.com/archives/C799A2R61/p1729188618152819
This update aims to reduce the size of the POST data, reducing the number of input vars to help avoid reaching server limits on the global settings page when there are a lot of forms.
nameattribute on load, so the data is never sent. This is now defined asdata-nameand applied later with JS.nameattribute is now added when the dropdown is changed, so only changed dropdown data is sent.