Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
1a08279
Remember last save directory across file save operations
sensei-hacker Dec 31, 2025
4197435
Implement remember last save directory in main process
sensei-hacker Dec 31, 2025
eccb158
Fix firmware flasher board matching for multi-underscore targets
sensei-hacker Jan 17, 2026
10407d6
Refactor: Normalize target names at parse time using target_id field
sensei-hacker Jan 18, 2026
d4e8f41
Clean up: Remove redundant comments
sensei-hacker Jan 18, 2026
e7f37a4
Add GPS preset configuration UI with auto-detection
sensei-hacker Jan 20, 2026
ef6b3ad
Update GPS presets to 3 constellations
sensei-hacker Jan 20, 2026
3c78816
Phase 1: Add GPS preset UI with M9 Precision/Sport modes and auto-det…
sensei-hacker Jan 20, 2026
025a254
Fix GPS tab preset reset on tab re-initialization
sensei-hacker Jan 20, 2026
953fa60
Trigger change events when applying GPS presets
sensei-hacker Jan 20, 2026
c75975a
Fix JS Programming decompiler incorrect operand validation warnings
sensei-hacker Jan 21, 2026
1129e30
Feature: Add accordion navigation for improved tab organization
sensei-hacker Jan 21, 2026
e2ff657
Add expand/collapse all toggle for accordion navigation
sensei-hacker Jan 21, 2026
f4667c8
Improve accordion navigation accessibility
sensei-hacker Jan 21, 2026
a898009
Add LC-to-line mapping for active condition highlighting
sensei-hacker Jan 26, 2026
744160f
Add Monaco integration for active LC highlighting
sensei-hacker Jan 26, 2026
426e6ab
Add visual styling for active LC highlighting
sensei-hacker Jan 26, 2026
cb9ac21
Add null checks to prevent errors when FC data not loaded
sensei-hacker Jan 26, 2026
f999e71
Fix isDirty race condition preventing active LC highlighting
sensei-hacker Jan 26, 2026
0a7c958
Track LC-to-line mappings during code generation
sensei-hacker Jan 26, 2026
d058d0f
Add debug logging to finalizeLcLineMapping
sensei-hacker Jan 26, 2026
6d3e73d
Add debug logging to updateActiveHighlighting
sensei-hacker Jan 26, 2026
1de1e9a
Fix critical bug: use getAll() instead of get() for LC status
sensei-hacker Jan 26, 2026
b12f9be
Improve active LC checkmark visibility with circle background and whi…
sensei-hacker Jan 26, 2026
3590ef3
Add FALSE condition indicators and transpiler-side line tracking
sensei-hacker Jan 27, 2026
10bdcd2
Address qodo-merge bot feedback and refactor highlighting logic
sensei-hacker Jan 27, 2026
a078606
Fix malformed JSDoc comment syntax
sensei-hacker Jan 27, 2026
f448f15
Add code sync status - disable Save button when code matches FC
sensei-hacker Jan 27, 2026
220c5d9
Add code sync status and gvar display features to JavaScript Programm…
sensei-hacker Jan 27, 2026
2cae8e7
Add error handling to gvar display and MSP polling
sensei-hacker Jan 27, 2026
d993994
Fix LC line mapping for duplicate if-statements
sensei-hacker Jan 28, 2026
b5d6ed3
Redesign LED Strip tab UI for improved usability and layout
sensei-hacker Jan 29, 2026
9ac4dcf
Add LED strip presets with aviation-standard navigation lights
sensei-hacker Jan 29, 2026
4a09075
Fix LED preset colors not displaying
sensei-hacker Jan 29, 2026
06ccd1b
Renumber LED presets to start from center
sensei-hacker Jan 29, 2026
c071eae
Fix wing preset and add auto-color-function
sensei-hacker Jan 29, 2026
65ea72a
Address code review issues
sensei-hacker Jan 29, 2026
107eac5
Fix wing preset wire numbering to be consecutive
sensei-hacker Jan 29, 2026
67c98cc
led strip: better use of vertical space, seperate out presets
sensei-hacker Jan 29, 2026
10158fe
didn't intend to delete CLAUDE.md
sensei-hacker Jan 29, 2026
5e02c2f
Fix GPS tab fields going blank and improve preset UX
sensei-hacker Jan 29, 2026
8239d70
Fix event handler memory leaks in GPS tab
sensei-hacker Jan 29, 2026
d5eff0e
Add transpiler test utilities and test data
sensei-hacker Jan 30, 2026
60cf39a
Improve BLE device chooser with sorting and filtering
sensei-hacker Jan 30, 2026
955513e
Merge pull request #2547 from iNavFlight/maintenance-9.x
sensei-hacker Jan 30, 2026
77ca061
bluetooth device chooser: remove breaking CSS
sensei-hacker Jan 31, 2026
14f8bf2
bluetooth device chooser: make dialog taller
sensei-hacker Jan 31, 2026
43e7090
Update defaults_dialog_entries.js
b14ckyy Feb 2, 2026
3ce3e50
Merge pull request #2550 from b14ckyy/b14ckyy-corrected-vspeed-defaults
b14ckyy Feb 2, 2026
be30119
Fix JS Programming decompiler: render childless boolean conditions (#…
sensei-hacker Feb 8, 2026
82e14c9
Fix GUI_control ReferenceError in multiple files (#2544)
sensei-hacker Feb 8, 2026
f059925
merge: Fix uncaught TypeError: fillStyle.getColor is not a function (…
error414 Feb 8, 2026
4c4469c
Implement robust WebGL fallback for 3D rendering (#2512)
sensei-hacker Feb 9, 2026
4756819
Fix mission file save error caused by fs module usage (#2549)
sensei-hacker Feb 9, 2026
d606a4c
OSD: use LC configured mask instead of loading all Logic Conditions
sensei-hacker Feb 9, 2026
f89f2be
Address review feedback: unsigned shift and error handling
sensei-hacker Feb 9, 2026
2c1685b
Bump configurator version to 9.0.1
sensei-hacker Feb 12, 2026
8426ef8
Update SITL binaries for 9.0.1
sensei-hacker Feb 14, 2026
12e6832
Merge PR #2561: Bump configurator version to 9.0.1 with SITL binaries
sensei-hacker Feb 14, 2026
18acf8d
Fix corner cases in firmware flasher target matching
sensei-hacker Feb 15, 2026
fbdc2c0
Merge pull request #2522 from sensei-hacker/fix-firmware-flasher-targ…
sensei-hacker Feb 16, 2026
113f46f
Bump configurator version to 9.0.2
sensei-hacker Feb 16, 2026
994d535
Merge pull request #2565 from sensei-hacker/release/bump-version-9.0.2
sensei-hacker Feb 16, 2026
ef9177e
Add location centering and address search to Mission Control
Feb 16, 2026
6f331a7
Improve search button styling
Feb 16, 2026
b9f0224
Remove unnecessary Electron geolocation permissions
Feb 16, 2026
19ba259
Merge pull request #2559 from sensei-hacker/fix/osd-lc-use-configured…
sensei-hacker Feb 16, 2026
82fc6e5
\Improve search button styling and icon design
Feb 16, 2026
a2cad7e
Fix search icon consistency - use white SVG icons
Feb 16, 2026
103dbd9
Your change description
Feb 17, 2026
aabb30e
Remove current-location button and preserve zoom on address search
Feb 17, 2026
e685d91
Tidy mission control action menu indentation
Feb 17, 2026
7aba1ea
Align mission control buttons
Feb 17, 2026
dd45634
Tidy GPS overlay position and styling
Feb 17, 2026
08b0d0a
Improve mission control telemetry bar
Feb 18, 2026
54ed386
Tweak telemetry bar font and precision
Feb 18, 2026
927c212
Mission Control UI polish: rem sizing, center button, shortcuts
Feb 19, 2026
cba6f45
Small fix to the shortcut key making open box open twice
Feb 19, 2026
fda71d0
Merge branch 'maintenance-9.x' into feature/mission-control-location-…
sensei-hacker Feb 19, 2026
08fec8f
removed package-lock
Feb 19, 2026
4d064b7
Merge branch 'feature/mission-control-location-search' of https://git…
Feb 19, 2026
a303be2
Merge pull request #2511 from sensei-hacker/remember-last-save-directory
sensei-hacker Feb 21, 2026
8b741d9
Merge pull request #2526 from sensei-hacker/feature-gps-preset-ui
sensei-hacker Feb 21, 2026
d0a5fea
Merge pull request #2527 from sensei-hacker/fix-js-programming-decomp…
sensei-hacker Feb 21, 2026
7c8b0dd
Merge pull request #2530 from sensei-hacker/feature/accordion-navigation
sensei-hacker Feb 21, 2026
c90bfdd
Merge pull request #2539 from sensei-hacker/feature/js-programming-lc…
sensei-hacker Feb 21, 2026
ab9bd05
Merge pull request #2540 from sensei-hacker/feature/js-programming-de…
sensei-hacker Feb 21, 2026
d50afb5
Merge pull request #2545 from sensei-hacker/feature/improve-ble-devic…
sensei-hacker Feb 22, 2026
10ed1b9
Merge pull request #2543 from sensei-hacker/feature/led-strip-ui-rede…
sensei-hacker Feb 22, 2026
41a2d3c
use FC.GPS_DATA.fix alone as its more accurate than 4 sats
Feb 28, 2026
f67f0e0
Merge pull request #2566 from GenCodeInc/feature/mission-control-loca…
sensei-hacker Mar 8, 2026
7dcdbff
Fix characteristic UUIDs for Nordic Semiconductor
b14ckyy Mar 11, 2026
c93560d
Merge pull request #2590 from iNavFlight/b14ckyy-fix-ble-charact
b14ckyy Mar 11, 2026
e586116
Added osd_framerate_hz command option ins OSD tab
hntirgeam Mar 17, 2026
6532bb8
added label for osd_framerate_hz
hntirgeam Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,83 @@ MSP.send_message(MSPCodes.MSP_SOME_CODE, payload, false, () => {
- **i18next** via `data-i18n` attributes: `<span data-i18n="key"></span>`
- **ES6 modules** throughout (`import`/`export`)

## CSS Best Practices

**Core Principle: Let the Browser Do Its Job of Handling Sizes**

Adding CSS to force specific sizes consistently causes problems. Removing that CSS and letting the browser calculate natural dimensions consistently produces better results.

### ❌ Don't Do This

```css
/* Don't force widths on containers */
.controls { width: 285px; }

/* Don't force button widths */
.button { width: 49%; }

/* Especially Don't use pixels for font sizes! */
.text { font-size: 16px; }
```

**Problems caused:**
- Fixed widths create cramped layouts, overlaps, and wasted space
- Forced button widths look unnatural
- Pixel font sizes don't scale across different display densities (200 DPI vs 800 DPI)
- Breaks user font size preferences and accessibility

### ✅ Do This Instead

```css
/* Let containers size naturally */
.controls { width: fit-content; }
/* Or just don't set width at all */

/* Let buttons size based on content */
/* Don't set width on buttons */

/* Use relative units for fonts */
.text { font-size: 1.2em; }
/* Or don't set font-size and use defaults */
```

**Results:**
- Layouts adapt naturally to content
- Elements look properly proportioned
- Text scales correctly across devices
- Respects user preferences

### The Pattern to Recognize

If you're writing CSS to force dimensions and encountering layout problems:

1. **Stop adding more CSS** to "fix" it
2. **Remove the size constraints** causing the problem
3. **Let the browser calculate** natural dimensions
4. **Only add back** minimal constraints if absolutely required

**Most of the time, removing CSS produces better results than adding more CSS.**

### When to Set Sizes

Only force sizes when there's a genuine need:
- Images/icons requiring exact dimensions
- `max-width` for text readability (e.g., `max-width: 80ch`)
- Specific design requirements (but question if they're necessary)

Use modern layout tools:
- **Flexbox** for flexible layouts with `gap`, `justify-content`, `align-items`
- **Grid** for two-dimensional layouts with `grid-template-columns`, `gap`
- **fit-content**, **auto**, **%** instead of fixed pixels

### Real Examples from LED Strip Redesign (2026-01-28)

All three of these problems were fixed by **removing CSS**, not adding more:

1. `.controls { width: 285px; }` → cramped step progress bar → **removed width rule**
2. `.button { width: 49%; }` → unnaturally wide buttons → **removed width rule**
3. `.step { font-size: 16px; }` → doesn't scale → **changed to font-size: 1.5em**

## Debugging

```bash
Expand Down
15 changes: 11 additions & 4 deletions images/icons/search-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading