Commit 6d9cea2
authored
docs: document plan review and voice-to-text features + UI fixes (#6)
* fix(voice-to-text): resolve 4 critical bugs in recording
- Add single-instance detection to prevent duplicate tray icons
- Implement window lifecycle management (hide instead of destroy)
- Add microphone permission validation and audio stream checking
- Move command invocation to Rust for global shortcut independence
Fixes issues: global shortcut only working with window open, window
not reopening after close, CLI creating duplicate instances, and
blank audio transcription with model loaded.
* build: add http-server for Tauri dev mode
- Add http-server dependency for serving static files
- Configure beforeDevCommand to auto-start dev server
- Remove center positioning from recording window
* feat(voice-to-text): implement audio device selection backend
- Add list_audio_devices() to enumerate available microphones
- Modify AudioRecorder to accept device_name parameter
- Add RMS validation (threshold 0.001) to detect silent audio
- Add 50ms delay before stopping stream to prevent sample loss
- Persist selected device in WhisperSettings
- Add Tauri commands: list_audio_devices, set_audio_device
- Add window permissions: allow-hide, allow-show, allow-set-focus
- Restore onCloseRequested behavior for minimize-to-tray
* feat(voice-to-text): add audio device selection UI
- Add microphone dropdown in Settings modal
- Load and display available audio devices
- Persist device selection on change
- Add CSS styling for device selector
- Add diagnostic logging for window close handlers
* feat(voice-to-text): add recording modes and clipboard integration
- Add button mode and shortcut mode for recording
- Add cancel_recording command for better control
- Add write_clipboard command for transcription results
- Add long_recording_threshold setting (default 60s)
- Enable macOS private API for better integration
- Update recording window size and config
* refactor(ui): reorganize toolbar layout and add close file button
- Simplify toolbar to horizontal layout (file name on left, actions on right)
- Add close file button (X) next to filename
- Remove 'Arandu' label from toolbar for cleaner look
- Add components.css for reusable component styles
- Improve toolbar spacing and button consistency
- Add closeFile() function to clear current file state
* refactor(tray): update icon to match Arandu logo style
- Replace horizontal bar with diamond/losango shape
- Make apex more pointed (sharper top)
- Use thinner stroke for refined appearance
- Icon now matches the Arandu logo design
* fix(ui): clear comments state when closing file
- Reset selectedBlocks and commentsData
- Hide bottom-bar (comments panel)
- Hide stale comments banner
- Prevents UI state from persisting after file close
* fix(ui): restore refresh button padding
- Revert padding from merge conflict resolution
- Keep consistent with other toolbar buttons
* ci(auto-tag): skip tag creation for docs-only changes
- Check if apps/shared/scripts changed before creating tag
- Skip release build for website/README updates only
- Reduces unnecessary CI runs and costs
* chore(deps): update Cargo.lock from merge
* refactor(tauri): consolidate button styles
* docs(website): add plan review and voice-to-text features
* docs(readme): document plan review and voice-to-text features
* fix(ui): prevent comment modal preview overflow
- Increase modal width to match review modal (700px)
- Add max-height and scroll to block preview
- Normalize whitespace in preview text (remove line breaks, collapse spaces)
* fix(style): add word-break to prevent code overflow
Add overflow-wrap, word-wrap, and word-break properties to inline code elements to prevent horizontal overflow when displaying long paths or identifiers.
Changes:
- shared/style.css: add word-break properties to code blocks
- website/css/site.css: add word-break properties to mockup code elements
* chore: add examples/ to gitignore for private reference files
* fix: use null for beforeBuildCommand and remove deprecated word-wrap
* fix(style): remove aggressive word-break: break-all from inline code
overflow-wrap: break-word alone prevents overflow while preserving
readability by not splitting identifiers mid-word.1 parent f3b5cbd commit 6d9cea2
8 files changed
Lines changed: 191 additions & 28 deletions
File tree
- apps/tauri
- src-tauri
- src
- website
- css
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
50 | 79 | | |
51 | 80 | | |
52 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
844 | 847 | | |
845 | 848 | | |
846 | 849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
451 | 452 | | |
452 | 453 | | |
453 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
454 | 555 | | |
455 | 556 | | |
456 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
| |||
281 | 285 | | |
282 | 286 | | |
283 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
284 | 325 | | |
285 | 326 | | |
286 | 327 | | |
| |||
432 | 473 | | |
433 | 474 | | |
434 | 475 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
455 | 480 | | |
456 | | - | |
457 | | - | |
| 481 | + | |
| 482 | + | |
458 | 483 | | |
459 | 484 | | |
460 | 485 | | |
| |||
0 commit comments