Skip to content

Feat/ygdk final reminder#72

Merged
oNya685 merged 6 commits into
BUAASubnet:devfrom
oNya685:feat/ygdk-final-reminder
May 17, 2026
Merged

Feat/ygdk final reminder#72
oNya685 merged 6 commits into
BUAASubnet:devfrom
oNya685:feat/ygdk-final-reminder

Conversation

@oNya685
Copy link
Copy Markdown
Collaborator

@oNya685 oNya685 commented May 13, 2026

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 585ac0a329

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@oNya685
Copy link
Copy Markdown
Collaborator Author

oNya685 commented May 13, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d77f756f53

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@oNya685
Copy link
Copy Markdown
Collaborator Author

oNya685 commented May 14, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 453d7aa522

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@oNya685
Copy link
Copy Markdown
Collaborator Author

oNya685 commented May 14, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e0e1ccffd5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@oNya685
Copy link
Copy Markdown
Collaborator Author

oNya685 commented May 14, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 191b074bda

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +70 to +74
termRepository.getTerms(forceRefresh).onSuccess { terms ->
val selectedTerm = terms.find { it.selected } ?: terms.firstOrNull()
if (selectedTerm == null) return@onSuccess
scheduleApi.getWeeks(selectedTerm.itemCode).onSuccess { weeks ->
val currentWeek = weeks.find { it.curWeek } ?: weeks.firstOrNull()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Handle current-week fetch failures explicitly

The new loadCurrentWeek path ignores failures from both termRepository.getTerms(...) and scheduleApi.getWeeks(...), so when either request fails the reminder bootstrap silently does nothing (no error state, no fallback state update) and users get no indication why the YGDK home reminder never appears. This is especially visible on transient network failures because the new reminder flow depends on uiState.currentWeek being populated.

Useful? React with 👍 / 👎.

@oNya685 oNya685 merged commit a66e220 into BUAASubnet:dev May 17, 2026
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.

2 participants