Skip to content

Conversation

@noeliaSD
Copy link
Contributor

@noeliaSD noeliaSD commented Oct 6, 2025

Fixes #18838

What does the PR do

Quick, low-risk improvement for small screens in the Communities Portal. It refines layout behavior to keep the UI usable on compact viewports, serving as an interim step while we define the app-wide responsive strategy.

  • Slightly reduce card size on compact screens to prevent cuts.
  • Reorder header in compact mode to prioritize title & primary actions; move secondary info.
  • No API changes; larger screens unaffected.

Affected areas

Communities Portal

Architecture compliance

Screencapture of the functionality

Screen.Recording.2025-10-06.at.11.32.15.mov

Impact on end user

Communities Portal layout fits better on small screen sizes

How to test

Play with different screen sizes on Communities Portal

Risk

None

@noeliaSD noeliaSD self-assigned this Oct 6, 2025
@status-im-auto
Copy link
Member

status-im-auto commented Oct 6, 2025

Jenkins Builds

Click to see older builds (42)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1970eb5a #1 2025-10-06 09:44:23 ~9 min android/arm64 🤖apk 📲
✔️ 850a81b #1 2025-10-06 09:45:42 ~10 min ios/aarch64 📦pkg
✔️ 850a81b #1 2025-10-06 09:47:46 ~12 min macos/aarch64 🍎dmg
✔️ 850a81b #1 2025-10-06 09:48:12 ~13 min tests/nim 📄log
✔️ 850a81b #1 2025-10-06 09:55:29 ~20 min macos/aarch64-nwaku 🍎dmg
✔️ 850a81b #1 2025-10-06 09:56:23 ~21 min tests/ui 📄log
✔️ 850a81b #1 2025-10-06 09:56:40 ~21 min linux/x86_64 📦tgz
✔️ 850a81b #1 2025-10-06 09:58:31 ~23 min linux/x86_64-nwaku 📦tgz
✔️ 850a81b #1 2025-10-06 10:08:29 ~33 min windows/x86_64 💿exe
✔️ 850a81b pr18959 2025-10-06 10:12:59 ~16 min tests/e2e 📊rpt
✔️ ff846ff #2 2025-10-07 12:54:48 ~6 min tests/nim 📄log
✔️ ff846ff #2 2025-10-07 13:00:51 ~12 min tests/ui 📄log
✔️ ff846ff #2 2025-10-07 13:00:58 ~13 min ios/aarch64 📦pkg
✔️ ff846ff #2 2025-10-07 13:05:27 ~17 min linux/x86_64 📦tgz
✔️ ff846ff #2 2025-10-07 13:07:21 ~19 min macos/aarch64 🍎dmg
✔️ ff846ff #2 2025-10-07 13:10:49 ~22 min linux/x86_64-nwaku 📦tgz
✔️ ff846ff #2 2025-10-07 13:11:25 ~23 min macos/aarch64-nwaku 🍎dmg
✔️ ff846ff #2 2025-10-07 13:18:36 ~30 min windows/x86_64 💿exe
✔️ ff846ff pr18959 2025-10-07 13:20:41 ~15 min tests/e2e 📊rpt
✔️ c954dbca #3 2025-10-07 12:54:48 ~6 min android/arm64 🤖apk 📲
✔️ 766a901 #4 2025-10-07 14:31:58 ~7 min android/arm64 🤖apk 📲
✔️ 766a901 #3 2025-10-07 14:32:17 ~7 min tests/nim 📄log
✔️ 766a901 #3 2025-10-07 14:33:09 ~8 min ios/aarch64 📦pkg
✔️ 766a901 #3 2025-10-07 14:38:21 ~13 min tests/ui 📄log
✔️ 766a901 #3 2025-10-07 14:38:45 ~13 min linux/x86_64 📦tgz
✔️ 766a901 #3 2025-10-07 14:39:10 ~14 min macos/aarch64 🍎dmg
✔️ 766a901 #3 2025-10-07 14:43:53 ~18 min macos/aarch64-nwaku 🍎dmg
✔️ 766a901 #3 2025-10-07 14:45:55 ~21 min linux/x86_64-nwaku 📦tgz
✔️ 766a901 pr18959 2025-10-07 14:53:58 ~15 min tests/e2e 📊rpt
✔️ 766a901 #3 2025-10-07 14:54:30 ~29 min windows/x86_64 💿exe
✔️ 0817ab57 #5 2025-10-07 17:22:42 ~7 min android/arm64 🤖apk 📲
✔️ 096a0483 #6 2025-10-08 17:23:10 ~7 min android/arm64 🤖apk 📲
✔️ 383c34f #4 2025-10-09 08:01:24 ~6 min tests/nim 📄log
✔️ 383c34f #4 2025-10-09 08:02:52 ~7 min ios/aarch64 📦pkg
✔️ 383c34f #4 2025-10-09 08:08:51 ~13 min linux/x86_64 📦tgz
✔️ 383c34f #4 2025-10-09 08:08:53 ~13 min macos/aarch64 🍎dmg
✔️ 383c34f #4 2025-10-09 08:09:20 ~14 min tests/ui 📄log
✔️ 383c34f #4 2025-10-09 08:14:03 ~18 min macos/aarch64-nwaku 🍎dmg
✔️ 383c34f #4 2025-10-09 08:14:55 ~19 min linux/x86_64-nwaku 📦tgz
✔️ 383c34f pr18959 2025-10-09 08:24:03 ~15 min tests/e2e 📊rpt
✔️ 383c34f #4 2025-10-09 08:25:02 ~29 min windows/x86_64 💿exe
✔️ 3befff62 #7 2025-10-09 08:02:27 ~7 min android/arm64 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 88d2feb #5 2025-10-09 08:52:58 ~6 min tests/nim 📄log
✔️ 88d2feb #5 2025-10-09 08:53:50 ~7 min ios/aarch64 📦pkg
✔️ 88d2feb #5 2025-10-09 08:59:51 ~13 min macos/aarch64 🍎dmg
✔️ 88d2feb #5 2025-10-09 09:00:45 ~14 min tests/ui 📄log
✔️ 88d2feb #5 2025-10-09 09:04:58 ~18 min macos/aarch64-nwaku 🍎dmg
✔️ 88d2feb #5 2025-10-09 09:07:00 ~21 min linux/x86_64-nwaku 📦tgz
✔️ 88d2feb #5 2025-10-09 09:13:49 ~27 min windows/x86_64 💿exe
✔️ 88d2feb #6 2025-10-09 09:59:22 ~12 min linux/x86_64 📦tgz
✔️ 88d2feb pr18959 2025-10-09 10:16:36 ~17 min tests/e2e 📊rpt
✔️ c263d7ea #8 2025-10-09 08:53:20 ~7 min android/arm64 🤖apk 📲

@86doteth
Copy link

86doteth commented Oct 6, 2025

nice improvement, as far as i can see from the mobile pr videos of lately mobile is starting to look pretty good!

is it possible to have the ‘join community’ and ‘create community’ buttons stacked as soon as their texts dont fit the width? and then make the texts be visible at all times by either reducing text size or wrap it over multiple lines? might be useful approach for other similar situations as well (if any) if its a quick fix

edit: or maybe keep buttons on same line but only wrap text over two lines and adjust size somewhat. and maybe even change copy to ‘create community’ dropping the ‘new’. basically just whatever works to keep button text visible

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@caybro
Copy link
Member

caybro commented Oct 6, 2025

nice improvement, as far as i can see from the mobile pr videos of lately mobile is starting to look pretty good!

is it possible to have the ‘join community’ and ‘create community’ buttons stacked as soon as their texts dont fit the width? and then make the texts be visible at all times by either reducing text size or wrap it over multiple lines? might be useful approach for other similar situations as well (if any) if its a quick fix

edit: or maybe keep buttons on same line but only wrap text over two lines and adjust size somewhat. and maybe even change copy to ‘create community’ dropping the ‘new’. basically just whatever works to keep button text visible

Could work... until you involve the translations :) And we recently jumped on that board 💪

@86doteth
Copy link

86doteth commented Oct 6, 2025

nice improvement, as far as i can see from the mobile pr videos of lately mobile is starting to look pretty good!
is it possible to have the ‘join community’ and ‘create community’ buttons stacked as soon as their texts dont fit the width? and then make the texts be visible at all times by either reducing text size or wrap it over multiple lines? might be useful approach for other similar situations as well (if any) if its a quick fix
edit: or maybe keep buttons on same line but only wrap text over two lines and adjust size somewhat. and maybe even change copy to ‘create community’ dropping the ‘new’. basically just whatever works to keep button text visible

Could work... until you involve the translations :) And we recently jumped on that board 💪

yeah adjusting copy is probably not the cleanest approach

(the translation prs ive seen so far looked pretty cool as well btw, gonna be a banger release)

Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Just a minor comment

BTW, there's yet another approach we can borrow from the Home Screen. In the Home Screen it really doesn't matter what's the device width. We're setting a min width for the card and a min number of columns. If it doesn't fit we'll scale down the cards. It would probably work even better here because the cards are huge

@noeliaSD
Copy link
Contributor Author

noeliaSD commented Oct 7, 2025

nice improvement, as far as i can see from the mobile pr videos of lately mobile is starting to look pretty good!

is it possible to have the ‘join community’ and ‘create community’ buttons stacked as soon as their texts dont fit the width? and then make the texts be visible at all times by either reducing text size or wrap it over multiple lines? might be useful approach for other similar situations as well (if any) if its a quick fix

edit: or maybe keep buttons on same line but only wrap text over two lines and adjust size somewhat. and maybe even change copy to ‘create community’ dropping the ‘new’. basically just whatever works to keep button text visible

Yes, you're right, it's a recurring problem, not just for this specific page. Also, as @caybro says, there's the added factor of translations. So yes, I agree that we need to find a generic way to solve it. We'll escalate this to the design team so we can find a generic, uniform, and consistent solution. Thank you very much for the feedback!

@noeliaSD
Copy link
Contributor Author

noeliaSD commented Oct 7, 2025

Very nice! Just a minor comment

BTW, there's yet another approach we can borrow from the Home Screen. In the Home Screen it really doesn't matter what's the device width. We're setting a min width for the card and a min number of columns. If it doesn't fit we'll scale down the cards. It would probably work even better here because the cards are huge

Applied same logic than with HomePage! Anyway, this grid needs a bit of more improvements. I think we can simplify it in a second iteration and, indeed, probably we can unify both layouts.

Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good but when testing on my OnePlus Open:

After opening on folded phone:
Image
The grid is not scrollable. All is fixed.

After unfolding:
Image

The view becomes usable, looks ok.

After folding again:
Image

The view is now scrollable, but the first item is misaligned.

Moreover, the view doesn't look correct in windowed mode:

Image

The content is clipped there.

Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One another issue, regarding Desktop (not sure if it's regression or old issue) - scrolling by mouse drag is broken:

  • only regular tiles are responding to drag (advert tile and placeholders do not respond)
  • space around tiles is not draggable
  • drag is immediately interrupted (just few pixels of vertical movement only)
Screencast.from.07.10.2025.15.45.35.webm

@noeliaSD
Copy link
Contributor Author

noeliaSD commented Oct 7, 2025

One another issue, regarding Desktop (not sure if it's regression or old issue) - scrolling by mouse drag is broken:

  • only regular tiles are responding to drag (advert tile and placeholders do not respond)
  • space around tiles is not draggable
  • drag is immediately interrupted (just few pixels of vertical movement only)

Screencast.from.07.10.2025.15.45.35.webm

Yeah.. I can see this issue already on master for both Communitites Portal and Home Page 🤔

@noeliaSD noeliaSD force-pushed the fix/issue-18838 branch 2 times, most recently from 766a901 to 383c34f Compare October 9, 2025 07:54
- Slightly reduce card size on compact screens to prevent cuts.
- Reorder header in compact mode to prioritize title & primary actions; move secondary info.
- No API changes; larger screens unaffected.

Fixes #18838
@noeliaSD
Copy link
Contributor Author

noeliaSD commented Oct 9, 2025

One another issue, regarding Desktop (not sure if it's regression or old issue) - scrolling by mouse drag is broken:

  • only regular tiles are responding to drag (advert tile and placeholders do not respond)
  • space around tiles is not draggable
  • drag is immediately interrupted (just few pixels of vertical movement only)

Screencast.from.07.10.2025.15.45.35.webm

Yeah.. I can see this issue already on master for both Communitites Portal and Home Page 🤔

Created separated task for it: #18981

@noeliaSD noeliaSD requested a review from micieslak October 9, 2025 08:59
Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! After recent changes it works nicely!

@noeliaSD noeliaSD merged commit f48eeaf into master Oct 9, 2025
12 checks passed
@noeliaSD noeliaSD deleted the fix/issue-18838 branch October 9, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mobile] Community portal poorly adapts to narrow screens

6 participants