You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugfix: model/boxes/buttons: Fully handle both server color formats.
The zulip server used to store some colors in the format #xxx and others
in the format #xxxxxx. The terminal client did not handle the #xxx
format correctly in all cases until this commit.
This commit:
* removes an instance of on-the-fly color canonicalization in
`ui_tools/boxes.py` (in `StreamButton.__init__`)
* adds a color canonicalization step to `model.py` (in
`Model._stream_info_from_subscriptions`)
* removes integration tests that verify that `StreamButton`
canonicalizes its colors.
* modifies integration tests to verify that the model canonicalizes
its colors.
0 commit comments