Use KeyValueForm getter/setter methods in DiffSettingsForm.
Review Request #14436 — Created May 13, 2025 and submitted
The
DiffSettingsForm
has a few things which are handled specially (in
order to serialize and deserialize certain settings where the UI doesn't
map trivially to the settings keys). These were written to read and
write directly from thesiteconfig
.This change makes it so those use the base
KeyValueForm
get_key_value()
andset_key_value()
methods instead. The
implementation of those ends up doing the same thing as the current
code, but will allow us to subclass this form in RBCommons and override
those methods to try reading and writing from theLocalSite
instead.
- Ran unit tests.
- Edited diff settings and verified that it all still worked correctly.
Summary | ID |
---|---|
f71ddb2699402d55e9d6b61c6af593f2fce273c2 |
Description | From | Last Updated | ||
---|---|---|---|---|
I believe this was fixed upstream, but to be sure, this (and others) must be Dict instead of dict for … |
|
|||
There are no open issues |