Problem: currently set-field is used both for changing visibility
and setting new fields. This results in additional handling of the
situation where both field contents and visibility option are missing.
Solution: require contents for setting field and allow changing
visibility for convenience. Add set-field-visibility command in CLI and route in WebAPI
which modifies only visibility.
Related issue(s)
Fixes #119
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Description
Problem: currently
set-field
is used both for changing visibility and setting new fields. This results in additional handling of the situation where both field contents and visibility option are missing.Solution: require contents for setting field and allow changing visibility for convenience. Add
set-field-visibility
command in CLI and route in WebAPI which modifies only visibility.Related issue(s)
Fixes #119
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)