mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
Revert "fix(app): more startup efficiency (#18985)"
This reverts commit 98b3340cee.
This commit is contained in:
parent
50f6aa3763
commit
cbe1337f24
8 changed files with 128 additions and 240 deletions
|
|
@ -1184,6 +1184,8 @@ export default function Page() {
|
|||
on(
|
||||
() => sdk.directory,
|
||||
() => {
|
||||
void file.tree.list("")
|
||||
|
||||
const tab = activeFileTab()
|
||||
if (!tab) return
|
||||
const path = file.pathFromTab(tab)
|
||||
|
|
@ -1638,9 +1640,6 @@ export default function Page() {
|
|||
sessionID: () => params.id,
|
||||
messagesReady,
|
||||
visibleUserMessages,
|
||||
historyMore,
|
||||
historyLoading,
|
||||
loadMore: (sessionID) => sync.session.history.loadMore(sessionID),
|
||||
turnStart: historyWindow.turnStart,
|
||||
currentMessageId: () => store.messageId,
|
||||
pendingMessage: () => ui.pendingMessage,
|
||||
|
|
@ -1712,7 +1711,7 @@ export default function Page() {
|
|||
<div class="flex-1 min-h-0 overflow-hidden">
|
||||
<Switch>
|
||||
<Match when={params.id}>
|
||||
<Show when={messagesReady()}>
|
||||
<Show when={lastUserMessage()}>
|
||||
<MessageTimeline
|
||||
mobileChanges={mobileChanges()}
|
||||
mobileFallback={reviewContent({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue