Skip to content

Develop#53

Merged
aromanov91 merged 9 commits intomainfrom
develop
Feb 22, 2026
Merged

Develop#53
aromanov91 merged 9 commits intomainfrom
develop

Conversation

@aromanov91
Copy link
Copy Markdown
Collaborator

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: add90429cf

ℹ️ 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".

private func prepareCalendar() {
func generateDates(inside interval: DateInterval, matching components: DateComponents) -> [Date] {
var dates: [Date] = []
dates.append(interval.start)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Use month-start dates when building calendar month tags

Seeding months with interval.start here makes the first TabView tag a mid-month date whenever the interval does not start on day 1, while displayedMonth is normalized to year/month boundaries (in the initializer and in .onChange(of: selection)). Because TabView(selection:) matches tags by exact Date equality, this desynchronizes selection for the first month (e.g., month picker/day taps set displayedMonth to YYYY-MM-01, but no tag exists for that value), so the first month cannot be reliably selected or restored.

Useful? React with 👍 / 👎.

@aromanov91 aromanov91 merged commit 8125b1b into main Feb 22, 2026
11 checks passed
@aromanov91 aromanov91 deleted the develop branch February 22, 2026 21:44
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