Repository navigation
Slack's show-only-unreads setting no longer hides channels under All - #980
Open
skullvalanche wants to merge 1 commit into
Open
skullvalanche wants to merge 1 commit into
skullvalanche wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Slack's own "show only unreads" setting on a sidebar section hid that section's read channels even under the All segment, so a person who had turned it on in Slack could not find a read channel in tinyclient. The Unread segment is already the one filter for this, so the section setting is no longer applied and All lists every channel.
Type
Platforms
Proof
Scenario: e2e/scenarios/slack-unreads-all
It starts the build's tinyclient with
TINYCLIENT_PROVE=slack-unreads-all. That build lists a Slack section set to show only unreads and exits 0 only when its read channel is still a row. A build from before the change ignores the variable and opens the window, so the driver fails on the base.Unit test:
slack_sorts_its_sections_folds_quiet_channels_and_keeps_apps_and_threads_apartincrates/tinyclient/src/gui/sidebar/tree.rsnow expects the read channel under All. It fails with the old lines put back and passes with the fix.Lab run:
Compatibility
Client only. Nothing changes on the wire, in the protocol or on the server. The setting is still read and stored; the sidebar just no longer filters by it.
Risk and rollback
A Slack section with many read channels now lists all of them under All, which is longer than before. Revert the commit to undo it.
Release note
Slack channels are no longer hidden under All when show only unreads is on in Slack.
Test notes
cargo test --workspaceon this branch passed except twomediadvoice tests,a_priority_speaker_ducks_everyone_else_by_twelve_dbanda_picture_on_a_voice_call_is_not_refused_for_being_voice_only. The first passes when run alone. The second times out waiting formediad. This change touches nothing undermediador any call code, so both look like load or environment problems. I did not run them onmain.