Repository navigation
Commit 4cced07
committed
Add landscape layout support across views and components
- inspired by landscape handling on Main page, implement landscape in Home
- one 'landscape' is activated once, upon return compacting stops working
- compacting hook should accept optional object with optional key: is disabled
- 'discord', 'buy me coffee' should be compacted in landscape at all times
- rename header 'left' 'right' to header__home, header__links
- give better, descriptible names to columns
- [Fragment] should be '4' in landscape
- pinned and nonpinned should be held together in a container
├── README.md
├── apps
│ └── editor
│ └── src
│ └── views
│ └── prompt
│ └── frontend
│ ├── Home
│ │ ├── Home.module.scss
│ │ └── Home.tsx
│ ├── Main
│ │ └── MainView
│ │ ├── MainView.module.scss
│ │ ├── MainView.tsx
│ │ ├── components
│ │ │ └── Header
│ │ │ ├── Header.module.scss
│ │ │ ├── Header.tsx
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ └── prompt-type-labels.ts
│ └── components
│ ├── Layout
│ │ └── Footer
│ │ └── Footer.tsx
│ └── recent-donations
│ └── RecentDonationsFooter
│ └── RecentDonationsFooter.tsx
└── packages
├── shared
│ └── src
│ └── hooks
│ └── use-compacting.ts
└── ui
└── src
└── components
└── editor
└── prompt
├── BrowserExtensionMessage
│ └── BrowserExtensionMessage.tsx
├── Configurations
│ ├── Configurations.module.scss
│ └── Configurations.tsx
└── ResponsePreviewFooter
└── ResponsePreviewFooter.tsx1 parent 8c8cf90 commit 4cced07
8 files changed
Lines changed: 353 additions & 230 deletions
File tree
- apps/editor/src/views/prompt/frontend
- Home
- Main/MainView
- components/Header
- packages
- ui/src/components/editor/prompt/Configurations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
7 | 17 | | |
8 | 18 | | |
9 | 19 | | |
| |||
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
30 | 53 | | |
31 | 54 | | |
32 | | - | |
| 55 | + | |
33 | 56 | | |
34 | 57 | | |
35 | 58 | | |
| |||
40 | 63 | | |
41 | 64 | | |
42 | 65 | | |
43 | | - | |
| 66 | + | |
44 | 67 | | |
45 | 68 | | |
46 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
47 | 76 | | |
48 | 77 | | |
49 | 78 | | |
| |||
179 | 208 | | |
180 | 209 | | |
181 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
0 commit comments