chore: add pi cache dirs to .gitignore and mobile terminal styles
This commit is contained in:
@@ -49,3 +49,10 @@ apps/web/dist/
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
/.stoneforge/.worktrees/
|
/.stoneforge/.worktrees/
|
||||||
|
|
||||||
|
# Pi / agent cache
|
||||||
|
.pi/
|
||||||
|
.atl/
|
||||||
|
.sisyphus/
|
||||||
|
.pi-lens/
|
||||||
|
|
||||||
|
|||||||
@@ -190,10 +190,16 @@ export const TerminalPage: React.FC = () => {
|
|||||||
|
|
||||||
if (isMobile) {
|
if (isMobile) {
|
||||||
return (
|
return (
|
||||||
<section className={`terminal-page mobile ${isFullscreen ? "fullscreen" : ""}`}>
|
<section
|
||||||
|
className={`terminal-page mobile ${isFullscreen ? "fullscreen" : ""}`}
|
||||||
|
>
|
||||||
{!isFullscreen && (
|
{!isFullscreen && (
|
||||||
<div className="terminal-page-header mobile-header">
|
<div className="terminal-page-header mobile-header">
|
||||||
<button className="secondary-button" onClick={() => navigate(-1)} type="button">
|
<button
|
||||||
|
className="secondary-button"
|
||||||
|
onClick={() => navigate(-1)}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
Back
|
Back
|
||||||
</button>
|
</button>
|
||||||
<h1>Terminal</h1>
|
<h1>Terminal</h1>
|
||||||
@@ -245,9 +251,7 @@ export const TerminalPage: React.FC = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section
|
<section className={`terminal-page ${isFullscreen ? "fullscreen" : ""}`}>
|
||||||
className={`terminal-page ${isFullscreen ? "fullscreen" : ""}`}
|
|
||||||
>
|
|
||||||
{!isFullscreen && (
|
{!isFullscreen && (
|
||||||
<div className="terminal-page-header">
|
<div className="terminal-page-header">
|
||||||
<button
|
<button
|
||||||
@@ -278,16 +282,13 @@ export const TerminalPage: React.FC = () => {
|
|||||||
isMobile={false}
|
isMobile={false}
|
||||||
/>
|
/>
|
||||||
<div className="terminal-page-content">
|
<div className="terminal-page-content">
|
||||||
{error && (
|
{error && <div className="terminal-error-banner">{error}</div>}
|
||||||
<div className="terminal-error-banner">{error}</div>
|
|
||||||
)}
|
|
||||||
{sessions.map((session) => (
|
{sessions.map((session) => (
|
||||||
<div
|
<div
|
||||||
key={session.id}
|
key={session.id}
|
||||||
className={`terminal-instance ${session.id === activeSessionId ? "active" : ""}`}
|
className={`terminal-instance ${session.id === activeSessionId ? "active" : ""}`}
|
||||||
style={{
|
style={{
|
||||||
display:
|
display: session.id === activeSessionId ? "flex" : "none",
|
||||||
session.id === activeSessionId ? "flex" : "none",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<TerminalComponent
|
<TerminalComponent
|
||||||
|
|||||||
+2502
-2475
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user