70d8a90152
Fixes: #16123 This commit changes the behavior when joining communities: 1) If the user hasn't joined a community, they will see the non-collapsed header. 2) If the user has already joined the community, they will see a collapsed version of the header, in order to have quicker access to the chats of the community without having to scroll a lot. One edge case that is taken care of is the following: 1) User visits a community that has not joined, requests to join. 2) The user is on the community page when the state changes from not-joined -> joined. In this case the user won't see the collapsed header until they leave the community view (go back to home say and back to communities). This is done in order to avoid some janky transition between the non collapsed & collapsed version of the header. This is slightly different from as mentioned in the issue "visiting the page for the 2nd time", as that will require larger changes but it should be an acceptable behavior, since most of the times they will have to visit the overview to request access. |
||
---|---|---|
.. | ||
js/worklets | ||
mocks | ||
native_module | ||
quo | ||
quo2 | ||
react_native | ||
status_im | ||
status_im2 | ||
test_helpers | ||
utils |