Skip to content

Comments

feat: add 2d ConfigPresetsTable#449

Merged
tlambert03 merged 10 commits intopymmcore-plus:mainfrom
tlambert03:q-config-preset-table
Jul 1, 2025
Merged

feat: add 2d ConfigPresetsTable#449
tlambert03 merged 10 commits intopymmcore-plus:mainfrom
tlambert03:q-config-preset-table

Conversation

@tlambert03
Copy link
Member

@tlambert03 tlambert03 commented Jun 30, 2025

continuing with views onto the new model from #447, this adds a 2D Config Table widget.

It represents a single Configuration group with presets as Columns (or rows), and the union of all dev-prop pairs as rows.

It's best suited for groups that share the same combo of device properties across all presets... but works either way. A missing Dev-Prop in a given preset will show as an empty cell

Double clicking on the cell reveals a property-value-specific editor widget

Screenshot 2025-06-30 at 7 25 34 PM Screenshot 2025-06-30 at 7 25 36 PM

closes #320

@codecov
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

❌ Patch coverage is 98.41270% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.39%. Comparing base (d26ffde) to head (d052f35).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...ets/config_presets/_views/_config_presets_table.py 98.40% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #449      +/-   ##
==========================================
+ Coverage   87.19%   87.39%   +0.19%     
==========================================
  Files          99      100       +1     
  Lines       10933    11122     +189     
==========================================
+ Hits         9533     9720     +187     
- Misses       1400     1402       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tlambert03 tlambert03 marked this pull request as ready for review July 1, 2025 00:31
@tlambert03 tlambert03 merged commit 2a79de5 into pymmcore-plus:main Jul 1, 2025
23 checks passed
@tlambert03 tlambert03 deleted the q-config-preset-table branch July 1, 2025 00:59
@tlambert03 tlambert03 added the enhancement New feature or request label Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant