Skip to content

Conversation

aanorbel
Copy link
Member

@aanorbel aanorbel commented May 9, 2025

Closes #710

@aanorbel aanorbel requested a review from sdsantos May 12, 2025 10:50
Copy link
Contributor

@sdsantos sdsantos left a comment

Choose a reason for hiding this comment

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

I feel the URLs should either align with the checkbox or the "Web Connectivity Test". Like this it feels a bit off:

Screenshot 2025-05-12 at 11 52 44

LazyColumn {
}

Box(
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this Box needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Adding the box to ensure the actions are displayed at the bottom of the screen and not at the end of the URL list.
This ensures we can install the descriptor without having to scroll to the end of the list when its a long one.

})

if (state.selectableItems.size == 1 && selectableItem.item.test == TestType.WebConnectivity) {
selectableItem.item.inputs.orEmpty().forEach { website ->
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be a LazyColumn, since lists can have thousands of links. So ideally TestItems and URLs should be sharing the LazyColumn above-

@aanorbel aanorbel force-pushed the feat/add-descriptor-update branch from af18b0c to 0f35d2a Compare May 12, 2025 12:02
@aanorbel aanorbel merged commit fb31201 into main May 12, 2025
8 checks passed
@aanorbel aanorbel deleted the feat/add-descriptor-update branch May 12, 2025 19:06
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.

Show URLs when the user installs OONI Run link
2 participants