status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
265 stars 76 forks source link

fix(Communities): Show channel for non-members when read-only, tokenless permission is set #14840

Closed micieslak closed 2 weeks ago

micieslak commented 2 weeks ago

What does the PR do

When channel has view-only permission not requiring any holdings, the channel is not encrypted and should be presented to non-members in read-only mode.

There is additional flag introduced hasUnrestrictedViewOnlyPermission reflecting described condition. If true, the channel overlay is not presented.

Closes: #14439

Affected areas

ChatLayout

Screenshot of functionality (including design for comparison)

Screencast from 17.05.2024 11:53:34.webm

status-im-auto commented 2 weeks ago

Jenkins Builds

:grey_question: Commit :hash: Finished (UTC) Duration Platform Result
:heavy_check_mark: 0799aba2 #1 2024-05-17 10:03:59 ~7 min tests/nim :page_facing_up:log
:heavy_check_mark: 0799aba2 #1 2024-05-17 10:05:25 ~8 min macos/aarch64 :apple:dmg
:heavy_check_mark: 0799aba2 #1 2024-05-17 10:07:16 ~10 min macos/x86_64 :apple:dmg
:heavy_check_mark: 0799aba2 #1 2024-05-17 10:08:06 ~11 min tests/ui :page_facing_up:log
:heavy_check_mark: 0799aba2 #1 2024-05-17 10:14:56 ~18 min linux/x86_64 :package:tgz
:heavy_check_mark: 0799aba2 #1 2024-05-17 10:30:34 ~33 min windows/x86_64 :cd:exe