Read a session's transcript as the file it is
The conversation on screen is a drawing of the record, and when the two disagree -- or when something in the record is what has gone wrong -- there was no way to see the record itself from the phone. View raw in the session settings dialog opens the file explorer on the transcript, which is its third caller and needed no new screen: the file name and path in the header, a back button, and the lines as code. The session says where the file is, because only the backend knows, and it names this backend's machine rather than the session's -- for a remote session those are two different filesystems. Back from the file lands in the session's own directory, where the log and the process record are. The paragraph under Reload goes, and both buttons move to a line of their own: two buttons and a measurement do not fit a phone's width.
This commit is contained in:
1 parent
049780fda6
commit
66b3403a71
8 files changed
+123
-12
No files matched your search
@@ -2507,6 +2507,16 @@ fun SessionScreen(
|
||||
// The purge finishes before the epoch moves, because the relaunched opening effect
|
||||
// reads the same directory and would otherwise draw what is about to be deleted. The
|
||||
// epoch is what makes the rest a cold open.
|
||||
// The explorer, opened on the transcript file: the record itself, in the screen this
|
||||
// app already has for reading a file on a machine. Nothing is offered where the server
|
||||
// does not say where the file is.
|
||||
onViewRaw =
|
||||
summary.transcriptFile?.let { file ->
|
||||
{
|
||||
settingsOpen = false
|
||||
onFiles(fileTarget(file))
|
||||
}
|
||||
},
|
||||
onReload = {
|
||||
settingsOpen = false
|
||||
scope.launch {
|
||||
|
||||
Reference in new issue
Block a user