-
Notifications
You must be signed in to change notification settings - Fork 6
Dashboard Redesign #956
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
base: main
Are you sure you want to change the base?
Dashboard Redesign #956
Conversation
d01327c to
434de99
Compare
434de99 to
720851a
Compare
6700141 to
a671c45
Compare
a671c45 to
52aba99
Compare
d50202b to
6ba4c16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good. We just need to make some adjustments for the stuff like json
| } | ||
|
|
||
| private fun SelectAllWithNetwork.toModel(): ResultWithNetworkAndAggregates? { | ||
| private fun org.ooni.probe.data.ResultWithNetworkAndAggregates.toModel(): ResultWithNetworkAndAggregates? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import Class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need this one, because that's the class generated by Sqldelight, and we have another one with the same name. Or we find a better name for our ResultWithNetworkAndAggregates.
composeApp/src/commonMain/kotlin/org/ooni/probe/domain/articles/GetArticles.kt
Outdated
Show resolved
Hide resolved
composeApp/src/commonMain/kotlin/org/ooni/probe/domain/articles/GetFindings.kt
Show resolved
Hide resolved
composeApp/src/commonMain/kotlin/org/ooni/probe/domain/articles/GetFindings.kt
Outdated
Show resolved
Hide resolved
composeApp/src/commonMain/kotlin/org/ooni/probe/ui/dashboard/DashboardScreen.kt
Show resolved
Hide resolved
composeApp/src/commonMain/kotlin/org/ooni/probe/ui/dashboard/DashboardScreen.kt
Show resolved
Hide resolved
composeApp/src/commonTest/kotlin/org/ooni/probe/domain/articles/GetFindingsTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐳
Refresh articles only once per day
Closes #957
Just waiting for @majakomel to tell us how to show the mobile-friendly webview for findings, blog posts and reports.
https://github.com/user-attachments/assets/f24c0b72-e74b-49b5-8c18-4d5eaccd9e54
https://github.com/user-attachments/assets/c3c7ee4b-2375-4f68-ae9a-cd1cf974646c
https://github.com/user-attachments/assets/c22467e3-6512-4306-b4f3-c432e1ccf978