Skip to content

Group input hints and subgroup lookup fixes - #34

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/group-input-hints-8c01
Sep 1, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/group-input-hints-8c01

Conversation

@decoder-dev

@decoder-dev decoder-dev commented Sep 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Group input hints (Android + iOS): while editing profile, typing 2+ characters shows up to 5 matching groups from schedule data. Users can tap a suggestion or keep typing.
  • Helper text: contextual hints explain minimum input, empty results, and successful selection.

Bug fixes

  • ProfileViewModel / LoginViewModel: null-safe handling of SubGroups to avoid crashes when API returns no subgroup list.
  • ProfileViewModel: guard against missing CurrentUser during save; cancel in-flight suggestion requests on page leave.
  • API get_subgroups: match exact group codes (uppercase) instead of broad LIKE '%…%', which could resolve the wrong group; reject empty group names early.

Platforms

Platform Data source
MAUI (Android) POST /get_groups
iOS SwiftUI cached schedule groups via ScheduleAPIClient.suggestGroups

Merged to main.

Open in Web Open in Cursor 

Add autocomplete hints when entering a study group in profile on Android
(MAUI) and iOS, backed by /get_groups and cached schedule groups.

Fix null-safe subgroup handling in profile/login flows and tighten
get_subgroups API matching to exact group codes instead of broad LIKE.

Co-authored-by: D3C0Y <decoder-dev@users.noreply.github.com>
@decoder-dev
decoder-dev marked this pull request as ready for review September 1, 2026 00:34
@cursor
cursor Bot deleted the cursor/group-input-hints-8c01 branch September 1, 2026 00:34
@cursor
cursor Bot merged commit ce0e3e9 into main Sep 1, 2026
7 of 9 checks passed
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.

1 participant