You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 969ab35
Browse filesBrowse the repository at this point in the historyBrowse files
Extract browser connection status logic into a custom hook and share state with header components
- in landscape, should center 'edit' 'ask' vertically, as well as the middle-column elements
- in landscape, in header, should keep the back button on top, just center edit&ask (held together)
- in landscape, for the header left to have ideally centered edit/ask buttons, add a dummy IconButton below as a space-taking trick
- keep the state of connection status by main view in a hook
- header should accept props if browser connection status is closed, if so, in target.web, add hidden dummy `apps/editor/src/views/prompt/frontend/Main/MainView/components/BrowserConnectionStatus/BrowserConnectionStatus.tsx` here [Fragment]
- instead of [Fragment], place statusbar
- add identical below, and remove css-made padding bottom [Fragment]
- rename 'is browser connection closed' to 'is browser connection status bar closed'
├── apps
│ └── editor
│ └── src
│ └── views
│ └── prompt
│ └── frontend
│ └── Main
│ └── MainView
│ ├── MainView.module.scss
│ ├── MainView.tsx
│ ├── components
│ │ ├── BrowserConnectionStatus
│ │ │ └── BrowserConnectionStatus.tsx
│ │ └── Header
│ │ ├── Header.module.scss
│ │ ├── Header.tsx
│ │ └── index.ts
│ └── hooks
│ ├── use-browser-connection-status.ts
│ ├── use-invocation-counts.ts
│ ├── use-keyboard-shortcuts.ts
│ ├── use-last-choice-tooltip.ts
│ └── use-re-render-on-interval.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt
└── StatusBar
└── StatusBar.tsx
Copy file name to clipboardExpand all lines: apps/editor/src/views/prompt/frontend/Main/MainView/components/BrowserConnectionStatus/BrowserConnectionStatus.tsx
0 commit comments