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

feat: force update #470

Merged
merged 8 commits into from
Dec 31, 2024
Merged

feat: force update #470

merged 8 commits into from
Dec 31, 2024

Conversation

ice-hector
Copy link
Contributor

@ice-hector ice-hector commented Dec 24, 2024

Description

This PR introduces force update flow on version mismatch

Additional Notes

Versions config re-fetch every 8 hours and on app launch
Showing of Update App modal on versions mismatch
Support of all platforms
Re-fetch config and recheck versions/hide popup after app update

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation
  • Chore

Screenshots (if applicable)

Screenshot 2024-12-24 at 09 58 10

@ice-hector ice-hector requested review from a team as code owners December 24, 2024 08:03
ice-ajax
ice-ajax previously approved these changes Dec 24, 2024
lib/main.dart Outdated Show resolved Hide resolved
ice-alcides
ice-alcides previously approved these changes Dec 24, 2024
@ice-hector ice-hector force-pushed the feature/force_update branch 2 times, most recently from edf20ce to 31e6b9d Compare December 27, 2024 14:32
@ice-hector ice-hector changed the title Feature/force update feat: force update Dec 27, 2024
@ice-hector ice-hector enabled auto-merge (squash) December 27, 2024 14:33
ice-kreios
ice-kreios previously approved these changes Dec 27, 2024
ice-tychon
ice-tychon previously approved these changes Dec 27, 2024
ice-ajax
ice-ajax previously approved these changes Dec 30, 2024
ice-kreios
ice-kreios previously approved these changes Dec 30, 2024
@ice-hector ice-hector dismissed stale reviews from ice-kreios, ice-ajax, and ice-tychon via 5d4d1b9 December 30, 2024 08:42
feat: add force update util

feat: connect ui

feat: handle update modal hiding after app update

fix: pr comments

fix: pr comments

fix: pr comments

feat: move interval to env variable

feat: add auth event (#461)

Add Auth flow for required resources

- Add mixins for close relay on timer, for listen `AuthMessage`
- Add `error` to retry task for manipulate with it in task

- [ ] Bug fix
- [x] New feature
- [x] Breaking change
- [x] Refactoring
- [ ] Documentation
- [ ] Chore

fix: feed post gesture detecting issue (#466)

If user presses on red area, it should open profile
if user presses on any other area (in blue one for example), it should
open post page. because right now the white area on right of the profile
opens the profile, and is confusing
Pressing on the quoted post (in any position, including the author of
quoted post), should open the quoted post page

![IMG_1190](https://github.com/user-attachments/assets/553a16c4-4e20-4a4d-b83e-7e6a37ce9671)

Please, note, that `GestureDetector`s were added for each user artifact
(name, username, avatar) separately in the `UserInfo` to avoid
corruption of other `ListItem.user` usages, since this
widget/constructor is used in many places.

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore

https://github.com/user-attachments/assets/f62c2ced-7019-4fc6-ab4e-1c3ae3d84344

fix: show the stories of the current user, sort by the story date cre… (#464)

<!-- Briefly explain the purpose of this PR and what it accomplishes.
-->
- show the stories of the current user
- sort the stories by the timestamp

<!-- Add any extra context or relevant information here. -->

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore

<!-- Include screenshots to demonstrate any UI changes. -->
<!-- <img width="180" alt="image" src="image_url_here"> -->

fix: add error handling to authenticator setup page (#469)

<!-- Briefly explain the purpose of this PR and what it accomplishes.
-->

<!-- Add any extra context or relevant information here. -->

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore

https://github.com/user-attachments/assets/905670ef-901c-43a6-8bb2-ea0651fe405c

feat(auth): prompt to create local creds (#468)

This PR adds the ability for users to create local credentials after
logging in using another device.

- Added `preferImmediatelyAvailableCredentials` param to login
- Added `CreateNewCredentialsService`
- Added `CreateLocalCredsPromptDialog`
- Updated redirect route logic

- [ ] Bug fix
- [x] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore

<!-- Include screenshots to demonstrate any UI changes. -->
<!-- <img width="180" alt="image" src="image_url_here"> -->

fix: add eror handling for code confirmation on auth, phone and email… (#471)

… setups

<!-- Briefly explain the purpose of this PR and what it accomplishes.
-->

<!-- Add any extra context or relevant information here. -->

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore

<!-- Include screenshots to demonstrate any UI changes. -->
<!-- <img width="180" alt="image" src="image_url_here"> -->

feat: add force update util

fix: exceptions

refactor: clean up

fix: warnings

fix: warnings

fix: optional

fix: issues

fix: imports

fix: generated file

fix: fields

fix: warnings
ice-endymion
ice-endymion previously approved these changes Dec 30, 2024
ice-alcides
ice-alcides previously approved these changes Dec 30, 2024
@ice-hector ice-hector dismissed stale reviews from ice-alcides and ice-endymion via bf06135 December 30, 2024 18:04
@ice-hector ice-hector merged commit 642161a into master Dec 31, 2024
1 check passed
@ice-hector ice-hector deleted the feature/force_update branch December 31, 2024 07:29
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.

7 participants