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