Repository navigation
refactor: split iOS pages and large Rust modules into directories - #127
Merged
Merged
Conversation
Move high-traffic iOS screens onto the TopicDetail Host/Controller/Feed/Shell layout and replace oversized Rust modules with directory modules, keeping public crate paths stable. Dead SwiftUI profile views are removed. Session control-plane behavior is unchanged.
The page split moved Swift sources into new groups, but the committed Xcode project still referenced the old layout. iOS Test regenerates with XcodeGen 2.46.0 and fails the project drift check before xcodebuild. Co-authored-by: peter rich <fannnzhang@users.noreply.github.com>
Home and Search action extensions present bookmark editors with UIHostingController. The page split dropped import SwiftUI from those files, so iOS Test failed to compile FireHomeViewController+Actions. Co-authored-by: peter rich <fannnzhang@users.noreply.github.com>
The page split promoted the bookmark helper to an internal initializer on FireTopicListPalette while topic-detail feed cells kept a private copy. Swift treats that pair as a redeclaration, so the feed cells now use the palette initializer. Co-authored-by: peter rich <fannnzhang@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FireProfileViewandFirePublicProfileVieware removed.network,session,chat,interactions,notifications,diagnostics,topic_payloads,cookie, rich text, UniFFI session records/handle). Public crate paths stay stable.HomeFeedSession,ChatChannelSession, notification runtime,ComposerSession) is documented and not migrated.Test plan
cargo fmt --all --checkcargo clippy -p fire-models -p fire-core -p fire-uniffi --all-targets --no-deps -- -D warnings(debug and release)cargo test -p fire-models -p fire-store -p fire-core -p fire-uniffi --all-targets