Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterate on loadingNode to render the same way JoinRoomView will render #2741

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Apr 22, 2024

Ready to be reviewed.

@bmarty bmarty requested a review from a team as a code owner April 22, 2024 16:38
@bmarty bmarty requested review from ganfra and removed request for a team April 22, 2024 16:38
Copy link
Contributor

github-actions bot commented Apr 22, 2024

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/evAYXi

Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.50%. Comparing base (e0d40ec) to head (1ffa6c5).
Report is 19 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2741   +/-   ##
========================================
  Coverage    73.50%   73.50%           
========================================
  Files         1490     1490           
  Lines        35881    35881           
  Branches      6924     6924           
========================================
  Hits         26376    26376           
  Misses        5872     5872           
  Partials      3633     3633           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bmarty bmarty force-pushed the feature/bma/removeRoomFlowNodeLoading branch from b4fa3e1 to f2a0744 Compare April 23, 2024 08:22
@bmarty bmarty added the Record-Screenshots Runs the 'Record Screenshots' CI job and adds a commit with any new screenshots found. label Apr 23, 2024
@github-actions github-actions bot removed the Record-Screenshots Runs the 'Record Screenshots' CI job and adds a commit with any new screenshots found. label Apr 23, 2024
@frebib
Copy link
Contributor

frebib commented Apr 23, 2024

Not sure this is correct. Looks to have the wrong placeholder for me
https://github.com/element-hq/element-x-android/assets/775104/b85c6f44-9296-42b3-852f-30dacb87d4d0

@bmarty
Copy link
Member Author

bmarty commented Apr 23, 2024

@frebib you're right, good catch, thanks! Let's iterate to look more like the existing room loading view, which will be more frequent than clicking on an unknown room permalink.

@bmarty bmarty force-pushed the feature/bma/removeRoomFlowNodeLoading branch from 9690fcc to 1ffa6c5 Compare April 23, 2024 16:38
Copy link

sonarcloud bot commented Apr 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

val networkStatus by networkMonitor.connectivity.collectAsState()
LoadingRoomNodeView(
state = LoadingRoomState.Loading,
hasNetworkConnection = networkStatus == NetworkStatus.Online,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bit weird to show the hasNetwork connection here and not in room preview :/

Copy link
Member Author

Choose a reason for hiding this comment

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

It's OK I think since the network status is displayed on rooms, and for preview we will get an error anyway (which could be improved, but out of scope of this PR)

image

We may want to add the network status to room preview if this was what you mean?

@bmarty bmarty merged commit 9a780cd into develop Apr 25, 2024
16 checks passed
@bmarty bmarty deleted the feature/bma/removeRoomFlowNodeLoading branch April 25, 2024 07:34
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.

None yet

3 participants