fix: fix toggle not work in settings page#2476
Conversation
Composer/packages/client/src/pages/setting/dialog-settings/index.tsx
Outdated
Show resolved
Hide resolved
|
Actually, do we really need this feature? can we just remove this feature @a-b-r-o-w-n @cwhitten? like in Azure Portal to config a DB or something or LUIS key, they don't really hide the keys through some toggle control, i guess their treatment must meet compliance, so? |
|
I think this was requested by the ABS-H team, I'll defer to @cwhitten on what to do. |
|
@a-b-r-o-w-n @boydc2014 I think we can remove this feature too. I am not sure whether it still need after decoupled with absh publish. |
|
@cwhitten any thoughts? |
|
@VanyLaw lets just remove the view complexity toggling this altogether for the time being. |
a-b-r-o-w-n
left a comment
There was a problem hiding this comment.
If we are removing the ability to obfuscate the json, let's clean up the rest of the code. We can always refer back to git history to see implemenation.
|
OK, I will remove the toggle and obfuscate feature. |
Composer/packages/client/src/pages/setting/dialog-settings/index.tsx
Outdated
Show resolved
Hide resolved
* fix toggle on change * add debounce in setting * change jsonEditor about obfuscate * remove toggle in setting page * remove obfuscate feature in jsonEditor * fix settings page height * memory the onChange function * change useMemo Co-authored-by: Andy Brown <asbrown002@gmail.com>
Description
remove the toggle feature in settings page
Task Item
close #2444
Screenshots