Skip to content

feat(ios): integrate new iOS screens and fix simulator linking - #37

Merged
guyghost merged 3 commits into
mainfrom
guyghost/ios-screen-integration
Jun 3, 2026
Merged

feat(ios): integrate new iOS screens and fix simulator linking#37
guyghost merged 3 commits into
mainfrom
guyghost/ios-screen-integration

Conversation

@guyghost

@guyghost guyghost commented Jun 3, 2026

Copy link
Copy Markdown
Owner

This PR aligns the iOS app with the new screen vision while keeping the existing tab bar/navigation model intact, and resolves pre-existing build blockers that prevented reliable simulator runs.

What changed

  • Integrated a new event-detail experience flow (EventDetailExperienceView) and wired navigation from existing home/detail entry points without changing the current navbar/tabbar structure.
  • Updated the inbox experience labeling/content to match the intended "Messages" screen behavior.
  • Migrated impacted iOS surfaces to current shared Kotlin types (Event_, TimeSlot_, Vote_) so view, view-model, and repository calls are consistent.
  • Fixed pre-existing preview/build issues in AddToCalendarButton and refreshed preview factory/repository wiring for current shared APIs.
  • Added iOS project setting to exclude x86_64 for simulator builds to avoid Kotlin Shared framework undefined-symbol link failures.

Notes for reviewers

  • The navigation contract is intentionally preserved: tab bar behavior is unchanged, and new screens are integrated through existing app view routing.
  • The simulator architecture exclusion is a targeted compatibility fix for current KMP framework output and is limited to iOS simulator builds.

- Integrate event detail experience and transport plan views without changing tab bar navigation

- Migrate affected iOS views to Shared domain types (Event_, TimeSlot_, Vote_)

- Fix pre-existing AddToCalendarButton preview constructor errors

- Update repository wiring and preview factory for current Shared APIs

- Exclude x86_64 for iOS simulator to avoid Kotlin Shared framework link failures

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 3, 2026 09:29

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

Copy link
Copy Markdown

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: 825dd67fe9

ℹ️ 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 thread iosApp/src/ContentView.swift
Comment thread iosApp/src/Views/EventDetailExperienceView.swift

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the iOS SwiftUI navigation and UI to introduce a new event-detail “experience” screen (plus a transport sub-screen), adjusts Inbox labeling/content, refreshes preview/test factories, and tweaks Xcode build settings to address simulator linking issues.

Changes:

  • Adds EventDetailExperienceView (and TransportPlanView) and wires it into ContentView routing for the .eventDetail case.
  • Updates Inbox tab title / filter chip labels to reflect the “Messages” experience.
  • Refactors multiple views/view-models/preview factories to use underscored Shared types (Event_, TimeSlot_, Vote_) and updates previews (notably AddToCalendarButton).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 48 comments.

Show a summary per file
File Description
iosApp/src/Views/PollVotingView.swift Updates poll voting UI types and vote submission wiring to new Shared model types.
iosApp/src/Views/PollResultsView.swift Updates poll results UI types and organizer confirm flow to new Shared model types.
iosApp/src/Views/ParticipantManagementView.swift Updates participant management view’s event type.
iosApp/src/Views/InboxView.swift Renames Inbox navigation title to “Messages” and adjusts filter chip labels.
iosApp/src/Views/HomeView.swift Updates Home events list/carousel types and selection callback signature.
iosApp/src/Views/EventDetailExperienceView.swift Adds the new event detail experience screen and a transport planning screen.
iosApp/src/Views/CreateEventSheet.swift Updates the created-event callback type and the constructed shared event type.
iosApp/src/ViewModels/EventDetailViewModel.swift Updates selected event type and update intent signature.
iosApp/src/Services/RepositoryProvider.swift Updates repository initialization (user repository type) for sync wiring.
iosApp/src/Preview/Factories/EventFactory.swift Refactors preview event/time-slot factory to new Shared types and APIs.
iosApp/src/ContentView.swift Wires new event detail experience + transport route; updates event types used throughout navigation.
iosApp/src/Components/AddToCalendarButton.swift Updates preview event construction for current Shared APIs.
iosApp/iosApp.xcodeproj/project.pbxproj Excludes x86_64 for iOS simulator builds to avoid Shared framework link failures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread iosApp/src/Views/PollVotingView.swift
Comment thread iosApp/src/Views/PollVotingView.swift
Comment thread iosApp/src/Views/PollVotingView.swift
Comment thread iosApp/src/Views/PollVotingView.swift
Comment thread iosApp/src/Views/PollResultsView.swift
Comment thread iosApp/src/Preview/Factories/EventFactory.swift
Comment thread iosApp/src/Preview/Factories/EventFactory.swift
Comment thread iosApp/src/Preview/Factories/EventFactory.swift
Comment thread iosApp/src/Preview/Factories/EventFactory.swift
Comment thread iosApp/src/Preview/Factories/EventFactory.swift Outdated
guyghost and others added 2 commits June 3, 2026 11:45
- Show Vote action only for polling events with slots and show Results for non-draft events

- Disable vote/results tile when no proposed slots are available

- Prevent empty-slot poll flow from submitting a false-success vote state

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add missing French accents in event detail and transport labels

- Localize inbox filter chip labels via String(localized:)

- Fix Borély accent in preview fixture text

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@guyghost
guyghost merged commit f9e948e into main Jun 3, 2026
4 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