Chat View Refinement
Nucleic-Session: 4E56990A-96AE-4597-9140-753CB82E769D Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import SwiftUI
|
||||
import NucleicProtocol
|
||||
|
||||
/// One session: a full-height Transcript/Diff read view (mode flip in the navigation bar) with
|
||||
/// a status-driven action bar floating over it on Liquid Glass (UX_IOS §4). Subscribes on
|
||||
/// One session: a full-height transcript with a status-driven action bar floating over it on
|
||||
/// Liquid Glass; the diff viewer sits behind the ⋯ menu as a sheet (UX_IOS §4). Subscribes on
|
||||
/// appear, unsubscribes on disappear.
|
||||
struct SessionDetailView: View {
|
||||
@EnvironmentObject var store: RemoteStore
|
||||
let sessionID: SessionID
|
||||
// Initial tab (0 = Transcript, 1 = Diff); overridable via NUCLEIC_DETAIL_TAB for
|
||||
// offline UI previews, matching NUCLEIC_TAB / NUCLEIC_DEMO_SESSION.
|
||||
@State private var tab = Int(ProcessInfo.processInfo.environment["NUCLEIC_DETAIL_TAB"] ?? "") ?? 0
|
||||
// Diff sheet visibility; NUCLEIC_DETAIL_TAB=1 opens it for offline UI previews,
|
||||
// matching NUCLEIC_TAB / NUCLEIC_DEMO_SESSION.
|
||||
@State private var showDiff = ProcessInfo.processInfo.environment["NUCLEIC_DETAIL_TAB"] == "1"
|
||||
@State private var draft = ""
|
||||
@State private var showRename = false
|
||||
@State private var renameDraft = ""
|
||||
|
||||
Reference in New Issue
Block a user