-
Notifications
You must be signed in to change notification settings - Fork 46
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
Dev: Update OONI to use new Design System #636
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes ooni/probe#2596 ## Proposed Changes - Update designs for Run v1 components to match new designs - Add `SrtingListRecyclerViewAdapter` to display List items - Convert `OoniRunActivity` to Kotlin | Light | Dark| |--|--| |.|.| |![web_connectivity_light](https://github.com/ooni/probe-android/assets/17911892/6f4b5896-c85a-4cd9-8fb2-0f6eb693f38e)|![web_connectivity_dark](https://github.com/ooni/probe-android/assets/17911892/6a30f612-1b42-4e43-b8e5-0f4a16edf86b)| |![web_connectivity_light_long_list](https://github.com/ooni/probe-android/assets/17911892/9d871137-fd3b-4b23-9c3a-700d30d43f6b)| ![web_connectivity_dark_long_list](https://github.com/ooni/probe-android/assets/17911892/82c0d8fa-c0b6-4ed1-83ef-607c4bf952c4)| |![web_connectivity_light_short_list](https://github.com/ooni/probe-android/assets/17911892/42e96ad5-318b-4220-beae-d5d8932da985)|![web_connectivity_dark_short_list](https://github.com/ooni/probe-android/assets/17911892/7aafa54c-5498-40d2-8cbb-f00173e001ee)| |![http_header_field_manipulation_light](https://github.com/ooni/probe-android/assets/17911892/c79e07be-9044-4cf9-9272-b4be0a6f6d4f)|![http_header_field_manipulation_dark](https://github.com/ooni/probe-android/assets/17911892/d4cb96ed-c6a5-4e55-9a9b-7f47059fde3f)| |![invalid_light](https://github.com/ooni/probe-android/assets/17911892/05516448-7094-484d-9ccb-f118f489e546)|![invalid_dark](https://github.com/ooni/probe-android/assets/17911892/bc5351fa-770f-43d8-aa65-5265ba4c1cad)| |![outdated_light](https://github.com/ooni/probe-android/assets/17911892/e475971e-23c0-4f37-9ee1-598ce91bb611)|![outdated_dark](https://github.com/ooni/probe-android/assets/17911892/a94e5849-3eeb-4ad1-a393-4591d5d0f824)| |![whatsapp_light](https://github.com/ooni/probe-android/assets/17911892/3f9b5760-a259-4838-a28c-1d8db1e8ceed)|![whatsapp_dark](https://github.com/ooni/probe-android/assets/17911892/2313ca90-b5ab-4bb1-ac13-7cc763bc06eb)?
… new components (#629) Fixes ooni/probe#2591 ## Proposed Changes - Removes `Run` button. - Adds `Read more >` plugin to markdown text |.|.| |-|-| | ![Screenshot_20231031_205420](https://github.com/ooni/probe-android/assets/17911892/ac9619d7-6545-4ea2-b322-87ef70959651)|![Screenshot_20231031_205432](https://github.com/ooni/probe-android/assets/17911892/b0840d09-9d3c-4c1f-b07c-e33c46127a7f)| |![Screenshot_20231031_205456](https://github.com/ooni/probe-android/assets/17911892/c788b7be-1de9-4a86-9281-90840f336788)|![Screenshot_20231031_205442](https://github.com/ooni/probe-android/assets/17911892/280b200b-5326-4f20-a1d9-cf5c714a63e0)|
Closed
Fixes ooni/probe#2588 ## Proposed Changes - Update XML designs - Convert `ProgressFragment` to kotlin |.|.| |-|-| | ![Screenshot_20231031_172528](https://github.com/ooni/probe-android/assets/17911892/5b848e77-adf6-473c-889f-f8f119938aea) | ![Screenshot_20231031_172516](https://github.com/ooni/probe-android/assets/17911892/fe5f4d99-adc3-42b2-9571-737ae9db2b8f) | |![Screenshot_20231031_172436](https://github.com/ooni/probe-android/assets/17911892/1f30dbae-d8ae-43e1-b615-b34e295213bd) | ![Screenshot_20231031_172418](https://github.com/ooni/probe-android/assets/17911892/ea459e62-088e-4d37-886a-53347df94ca3)|
Fixes ooni/probe#2592 ## Proposed Changes - Updated `CustomWebsiteActivity` to use new theme. - Change List item builder to use `RecyclerView`. Tasks - [x] Implement designs on light theme. - [x] Convert list item builder to use `RecyclerView`. - [x] Fix dark theme - [x] Implement modal properly | Light | Dark| |-|-| |![Screenshot_20231104_110235](https://github.com/ooni/probe-android/assets/17911892/b4c8dca7-2c6a-4d55-9df4-f194a67b98a6))| ![Screenshot_20231104_110254](https://github.com/ooni/probe-android/assets/17911892/60ade191-40bb-4b0b-a5fa-aa93540bd112) | |![Screenshot_20231104_110336](https://github.com/ooni/probe-android/assets/17911892/2df8c97a-23ff-4771-970b-59044de00386)| ![Screenshot_20231104_110407](https://github.com/ooni/probe-android/assets/17911892/291af536-72e3-4774-a5ca-8301334543a0) | | ![Screenshot_20231104_110429](https://github.com/ooni/probe-android/assets/17911892/a7423372-5acd-45b8-aa0a-ae2ef4e4b62c) | ![Screenshot_20231104_110441](https://github.com/ooni/probe-android/assets/17911892/15047e19-9c3e-4cbe-a1c1-ceaa8783da8a) | --------- Co-authored-by: Simone Basso <bassosimone@gmail.com>
…r selecting desired tests (#632) Fixes ooni/probe#2589 build: https://github.com/ooni/probe-android/suites/18778645278/artifacts/1094292643 ## Proposed Changes - Add `RunTestsActivity` and related components |.|.| |-|-| | ![Screenshot_20231103_151029](https://github.com/ooni/probe-android/assets/17911892/f710481c-64c8-413b-9356-a7b2ba469d2c) | ![Screenshot_20231103_151057](https://github.com/ooni/probe-android/assets/17911892/90bfbab1-1fd9-4a03-b1fd-e20e79f5ffb5) | | ![Screenshot_20231103_151045](https://github.com/ooni/probe-android/assets/17911892/1f99b010-a91f-4128-a703-618659d7c260) | ![Screenshot_20231103_151112](https://github.com/ooni/probe-android/assets/17911892/f4a1e267-cb33-4828-84b9-6838c6319e6e) | --------- Co-authored-by: Simone Basso <bassosimone@gmail.com>
Fixes ooni/probe#2593 ## Proposed Changes - Merge `Automated Testing` settings into whats left of `Test Options` |.|.| |-|-| | ![Screenshot_20231104_194231](https://github.com/ooni/probe-android/assets/17911892/9e926414-5fec-4181-a586-5e6dd4bc078e) | ![Screenshot_20231104_194243](https://github.com/ooni/probe-android/assets/17911892/fbdde7f8-d003-48bc-a33d-e72212a82cf2) |
## Proposed Changes - Add `OONIDescriptor` and methods to transform to `DynamicSuite` - Update various components to use descriptors - Update tests --------- Co-authored-by: Simone Basso <bassosimone@gmail.com>
## Proposed Changes - Update `activity_overview.xml` to include list to display tests. - Add `OverviewTestsExpandableListViewAdapter.kt` and `OverviewViewModel.kt` to display the list and control actions. - Update `OverviewActivity` with various callbacks. |.|.|.| |-|-|-| | ![Screenshot_20231127_191935](https://github.com/ooni/probe-android/assets/17911892/a5b09876-7116-44ae-90c3-29acc8ec8e86)| ![Screenshot_20231127_191947](https://github.com/ooni/probe-android/assets/17911892/4295f34d-03d0-4941-a279-ed86fbc26d6d)| ![Screenshot_20231127_191957](https://github.com/ooni/probe-android/assets/17911892/1802f6cf-47e6-4d64-ba33-d6251b055ff7)| **NOTE** : Switches in designs replaced with checkbox since the switch does not have an intermediate state. The intermediate state is important when some of the component tests are disabled but not all are disabled. --------- Co-authored-by: Simone Basso <bassosimone@gmail.com>
…o dev/design-update
…com:ooni/probe-android into dev/design-update
Fixes OONI cards not enabled by default. ## Proposed Changes - Set default value for ooni tests to enabled.
Fixes ooni/probe#2659 (comment) ## Proposed Changes - Update `ReadMorePlugin` to take a `maxLength` parameter with default value `150`. - Update `OverviewActivity` to allow modification of all automated update items. - Update `RunTestsActivity` to save preferences only when the tests are run.
…obe-android into dev/design-update
## Proposed Changes - Update `MeasurementDetailActivity` to check test names when displaying performance results. - Update `ResultDetailActivity` to use colour of results in themes setup and use `Experimental` test names to determine where to navigate when the measurement is clicked.
fix: Updated `ProgressFragment` and its position on dashboard.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes