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
Copy file name to clipboardExpand all lines: .cursor/rules/viewer.mdc
+25-4Lines changed: 25 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -226,11 +226,24 @@ The application has two main pages:
226
226
227
227
* `p` (lowercase): Open game picker in same tab (from viewer)
228
228
* `P` (uppercase): Open game picker in new tab (from viewer)
229
+
* `t` (lowercase): Toggle floating table of contents
229
230
* `Ctrl/Cmd + D`: Toggle dark/light mode
230
231
* `Ctrl/Cmd + E`: Expand all sections
231
232
* `Ctrl/Cmd + Shift + E`: Collapse all sections
232
233
* `Escape`: Close all open sections
233
234
235
+
### Floating Navigation
236
+
237
+
* **Floating Table of Contents**: A floating navigation panel that provides quick navigation (always visible by default)
238
+
- **Go to Top button**: Smooth scroll to the top of the page
239
+
- **Round Navigation**: Quick links to jump to specific round sections
240
+
- **Section Navigation**: Quick links to Overview and Rounds sections
241
+
- **Close Button**: × button in the header to hide the navigation panel
242
+
- **Keyboard Toggle**: `t` key to show/hide the navigation panel
243
+
- **Positioning**: Fixed position in bottom-right corner
244
+
- **Responsive Design**: Adapts to mobile screens appropriately
245
+
- **Always Visible**: Panel is expanded by default (no toggle button required)
246
+
234
247
### Mouse Navigation
235
248
236
249
* **Left-click in checkbox column**: Toggle checkbox selection
@@ -295,7 +308,8 @@ The application has two main pages:
295
308
- Tooltip explains middle-click functionality
296
309
* **"↗" button**: Always open picker in new tab
297
310
* **Dark/light mode toggle button**
298
-
* **Current folder path display** with copy functionality and delete button
311
+
* **Current folder path display** with copy functionality, move/rename button, and delete button
312
+
- **Move/Rename button**: 📁 icon that opens a dialog for moving or renaming the experiment folder (exact same functionality as in the game picker)
299
313
- **Delete button**: 🗑️ icon with simple confirmation prompt to delete the entire experiment folder (rm -r)
300
314
301
315
### Main body
@@ -312,6 +326,9 @@ The application has two main pages:
312
326
313
327
* At the top, we show the content of `metadata.json`
314
328
* There's a foldout that displays main.log (hidden by default)
329
+
* **Overview table**: Shows results summary with round navigation
330
+
- **Header formatting**: Column headers should show player names directly followed by "Steps" (e.g., "sonnet-4-more-prescriptive Steps"), not "Player sonnet-4-more-prescriptive Steps"
331
+
- **Navigation buttons**: Each row includes a button to jump to the specific round details
315
332
316
333
#### Rounds
317
334
@@ -383,10 +400,10 @@ The game picker includes four batch operations for selected game folders, access
383
400
384
401
## Individual Move/Rename Functionality
385
402
386
-
Each game row in the picker includes a move/rename button (📁) that provides individual folder operations:
403
+
Both the game picker and trajectory viewer include move/rename functionality for individual folders:
387
404
388
405
### Move/Rename Dialog
389
-
- **Trigger**: Click the 📁 button next to any game folder
406
+
- **Trigger**: Click the 📁 button next to any game folder (picker) or in the folder path section (viewer)
390
407
- **Interface**: Minimal unstyled dialog with text input field
391
408
- **Behavior**:
392
409
- Pre-fills input with current full path
@@ -402,13 +419,17 @@ Each game row in the picker includes a move/rename button (📁) that provides i
402
419
- **Intermediate folders**: Creates intermediate directories if necessary
0 commit comments