Shared Blocklist (minus Appeal) #7149

Closed
infinite-persistence wants to merge 4 commits from ip/shared.block.list into master

4 commits

Author SHA1 Message Date
infinite-persistence
a34aa6969f
SBL 2021-10-01 16:34:08 +08:00
infinite-persistence
6965c4b99c
General-purpose "Confirm" modal
Added a re-usable "yes/no" confirmation modal where the client just sets the question string and gets a callback to handle "OK". It doesn't make sense to create one modal for each confirmation, especially when it's only used in one place.

Replaced one of the existing modal as an example.
2021-10-01 16:33:12 +08:00
infinite-persistence
ced33fb5ef
Factor out 'FormFieldDuration' for re-use 2021-10-01 16:33:12 +08:00
infinite-persistence
085fe44463
form-field__textarea-info - hide if no children
This prevents extra whitespace under the textarea when all widgets in `info` are removed.
2021-10-01 16:33:11 +08:00