Skip to content

Week 17 full test pass - #68

Merged
4555jan merged 76 commits into
StabilityNexus:devfrom
4555jan:week-17-full-test-pass
Oct 20, 2026
Merged

4555jan merged 76 commits into
StabilityNexus:devfrom
4555jan:week-17-full-test-pass

Conversation

@4555jan

@4555jan 4555jan commented Sep 19, 2026

Copy link
Copy Markdown

Addressed Issues:

Fixes #(TODO:issue number)

Screenshots/Recordings:

TODO: If applicable, add screenshots or recordings that demonstrate the interface before and after the changes.

Additional Notes:

AI Usage Disclosure:

We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact. AI slop is strongly discouraged and may lead to banning and blocking. Do not spam our repos with AI slop.

Check one of the checkboxes below:

  • This PR does not contain AI-generated code at all.
  • This PR contains AI-generated code. I have read the AI Usage Policy and this PR complies with this policy. I have tested the code locally and I am responsible for it.

I have used the following AI models and tools: TODO

Checklist

  • My PR addresses a single issue, fixes a single bug or makes a single improvement.
  • My code follows the project's code style and conventions
  • If applicable, I have made corresponding changes or additions to the documentation
  • If applicable, I have made corresponding changes or additions to tests
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contribution Guidelines
  • Once I submit my PR, CodeRabbit AI will automatically review it and I will address CodeRabbit's comments.
  • I have filled this PR template completely and carefully, and I understand that my PR may be closed without review otherwise.

4555jan added 30 commits June 25, 2026 16:18
…another fix which is profile pic wasnt showing perfectly on home screen
4555jan and others added 5 commits October 16, 2026 08:29
Resolve add/add conflict in analytics_screen.dart by keeping the week-14 data visualization version (dev had the week-5 placeholder).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Consolidate bloc folders to view_model/ (users, balance, group,
  transaction) to match the imports and week-18 layout
- Remove legacy duplicates: lib/data/transactions/ and
  lib/ui/transaction/view_models/ bloc+event
- Move drift generated files next to their sources (part 'x.g.dart')
  and drop lib/generated/ + build.yaml, matching week-18
- Add BalancesDao.getByPublicKeyAndCurrency and
  UserRepositoryImpl.getCurrentUser
- Register the settlement route used by friends_Detail
- Commit zplit-logo(1).png referenced in pubspec and declare
  zplit-logo.png used by the splash screen (asset bundle failed to build)
- Add bloc_test and mocktail dev dependencies used by the tests
- Update week-5 bloc/DAO tests to current paths and APIs; drop the
  default counter widget_test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bring back lib/data/transactions/transaction_repository.dart and lib/ui/transaction/view_models/{transaction_bloc,transaction_event,transaction_state}.dart unchanged from 75c6122.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@4555jan 4555jan added the gsoc label Oct 16, 2026
4555jan and others added 23 commits October 16, 2026 11:59
Bring back lib/ui/{users,balance,group}/view_models/*, build.yaml and test/widget_test.dart unchanged from 75c6122 so the PR does not delete them. lib/generated/ stays removed: its generated code now lives next to the DAOs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's squash of StabilityNexus#60 is identical to fix/week-7-bluetooth, which this branch already contains, so conflicts resolve to this branch's side. Brings in the CI Flutter version change from StabilityNexus#54.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Errors inherited from dev:
- Add view_model/ copies of the users, balance, group blocs and
  transaction_state (what every import uses); legacy view_models/
  copies are kept unchanged
- Move drift generated files next to their sources (part 'x.g.dart')
- Add BalancesDao.getByPublicKeyAndCurrency and
  UserRepositoryImpl.getCurrentUser
- Exclude the unused legacy lib/data/transactions/ and
  lib/ui/transaction/view_models/ from analysis instead of deleting them

Tests:
- Add bloc_test and mocktail dev dependencies
- Update week-5 DAO/bloc tests to current paths and APIs
- Rewrite stale widget tests for the current screens (bloc providers,
  current copy, paise amounts) and replace the default counter test
  with an onboarding smoke test

Lints:
- withOpacity -> withValues, Share.share -> SharePlus, activeColor ->
  activeThumbColor, print -> debugPrint
- mounted checks after async gaps, braces, unused imports/fields
- Declare equatable as a direct dependency
- Disable file_names lint for existing PascalCase file names

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the analyzer/test fix from feature/nfc-tap-to-share.

Conflicts:
- pubspec.yaml: keep both flutter_p2p_connection and equatable
- home_Screen.dart: keep week-11's scrollable empty state, with
  withValues instead of withOpacity

Follow-ups for week-11 code so analyze stays clean:
- withOpacity -> withValues in week-11 additions
- wifi_direct_Service: print -> debugPrint, keep unused _teardownHost
  with an ignore
- invite_friends: drop unnecessary '!' on wifiState
- invite_friends_screen_test: provide a mock WifiBloc and cover the
  WiFi Direct section

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the analyzer/test fix via feat/week-11 (no conflicts).

Follow-ups for week-13 code so analyze stays clean:
- Declare google_mlkit_text_recognition in pubspec (ocr_service
  imports it; same line week-14 adds)
- ocr_service: print -> debugPrint, drop unnecessary '!'
- receipt_scan_screen: withOpacity -> withValues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the analyzer/test fix via week-13.

Conflicts:
- pubspec.yaml: keep fl_chart + equatable, and flutter_launcher_icons
  + bloc_test + mocktail

Follow-ups for week-14 code so analyze/test stay clean:
- withOpacity -> withValues in week-14 additions
- analytics_screen: swapAnimationDuration -> duration (fl_chart)
- Commit zplit-logo(1).png referenced in pubspec (and zplit_logo.png
  used by flutter_launcher_icons) and declare zplit-logo.png used by the
  splash screen, as on week-17
- Analytics_screen_test: rewrite the AnalyticsScreen group for the
  data-visualization screen (mock blocs, fixtures, charts, filters)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the analyzer/test fix via week-14.

Conflicts:
- pubspec.yaml: keep url_launcher and equatable

Follow-ups for week-15-16 code:
- withOpacity -> withValues in settlement additions
- Register AppRoutes.settlement (used by friends_Detail) as on week-17

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the analyzer/test fix via week-15-16 (no conflicts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's squash of StabilityNexus#61 is identical to feature/nfc-tap-to-share, which this branch already contains, so all conflicts resolve to this branch's side. No content change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#61 squash via feat/week-11 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#61 squash via week-13-ocr-receipt-scanning (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#61 squash via week-14-data-visualization (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#61 squash via week-15-16-settlement (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's squash of StabilityNexus#63 is identical to feat/week-11, which this branch already contains; conflicts resolve to this branch's side. No content change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#63 squash via week-13 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#63 squash via week-14 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#63 squash via week-15-16 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's squash of StabilityNexus#65 is identical to week-13-ocr-receipt-scanning, which this branch already contains; conflicts resolve to this branch's side. No content change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#65 squash via week-14 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#65 squash via week-15-16 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev's squash of StabilityNexus#66 is identical to week-14-data-visualization, which this branch already contains; conflicts resolve to this branch's side. No content change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picks up dev's StabilityNexus#66 squash via week-15-16 (no content change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@4555jan
4555jan merged commit 528440c into StabilityNexus:dev Oct 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant