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

[New Designs] Implement Dashboard Link update loading and Review Updates #655

Merged
merged 91 commits into from
Mar 21, 2024

Conversation

aanorbel
Copy link
Contributor

@aanorbel aanorbel commented Jan 18, 2024

Fixes ooni/probe#2594

Proposed Changes

  • Add a worker to automatically update descriptors with autoUpdate enabled every 24 hrs.
  • Add a worker to fetch updates for descriptors with autoUpdate disabled and return to caller.
  • Show progress update for descriptors being fetched and prompt to review updates for descriptors with autoUpdate disabled in MainActivity
. . .
Screenshot_20240123_151744 Screenshot_20240123_151752 Screenshot_20240123_151808
Screenshot_20240124_160104 Screenshot_20240124_160101 Screenshot_20240124_161236

aanorbel and others added 8 commits February 9, 2024 14:32
…actActivity.java

Co-authored-by: Simone Basso <bassosimone@gmail.com>
…ctivity.java

Co-authored-by: Simone Basso <bassosimone@gmail.com>
…ctivity.java

Co-authored-by: Simone Basso <bassosimone@gmail.com>
…ctivity.java

Co-authored-by: Simone Basso <bassosimone@gmail.com>
…iewActivity.java

Co-authored-by: Simone Basso <bassosimone@gmail.com>
…iewActivity.java

Co-authored-by: Simone Basso <bassosimone@gmail.com>
## Proposed Changes

  - Add supported icons in project and track.
…#653)

Fixes # <issue>

## Proposed Changes

- Adds uninstall button
- Adds setting for auto-update
- Updates preferences to properly save autorun settings
Base automatically changed from issues/2595-uninstall-and-auto-update to issues/2595 February 13, 2024 14:13
aanorbel and others added 7 commits February 13, 2024 15:16
…erent screen (#657)

## Proposed Changes

- Add `OoniRunV2Activity` to handle all incoming OONI Run v2 `Intents`
- Update `AndroidManifest.xml` to launch `OoniRunV2Activity` when OONI
Run v2 `Intents` are received.
  - Clean `MainActivity`
- Override `onBackPressed` and `finish` in `AddDescriptorActivity` to
ensure activity always launches `MainActivity` when closed


|.| Possible Areas of  Improvement |
|-|-|
|
![Screenshot_20240125_205311](https://github.com/ooni/probe-android/assets/17911892/595a9100-9fd6-4baf-b9d0-f0f024402fa7)|
-Improve on error messages. <br/> - Merge with `AddDescriptorActivity`
to make a single activity with 2 fragments for each of the views
(requires a bit of core rewrite). |

---------

Co-authored-by: Simone Basso <bassosimone@gmail.com>
…en fetching preferences in `RunTestsActivity`
Base automatically changed from issues/2595 to dev/ooni-run-v2 February 16, 2024 09:53
aanorbel and others added 4 commits February 19, 2024 13:22
## Proposed Changes

  - Check if `worker` has started before actually displaying progress.
  - Add color to `AddDescriptorActivity` icon
  - End `OoniRunV2Activity` when descriptor cannot be fetched.
  - Update `InstalledDescriptor` to use preference prefix properly.
descriptor.runId,
applicationContext
)
/**
Copy link
Member

Choose a reason for hiding this comment

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

AFAIK, JavaDoc comments only have effect when documenting classes and methods. Did I got this incorrectly? Is this comment rendered in the documentation? If not, maybe I'd avoid using JavaDoc inside methods.

Copy link
Member

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

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

I have read this whole diff and it looks good to me

🐳

@aanorbel aanorbel merged commit 09613d9 into dev/ooni-run-v2 Mar 21, 2024
6 of 10 checks passed
@aanorbel aanorbel deleted the issues/2594 branch March 21, 2024 14:50
@aanorbel aanorbel restored the issues/2594 branch March 21, 2024 15:10
aanorbel added a commit that referenced this pull request Mar 21, 2024
aanorbel added a commit that referenced this pull request Mar 21, 2024
…tes (#702)

#655

---------

Co-authored-by: Simone Basso <bassosimone@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants