Repository navigation
Description
🤖 Phase 8 for the EEGBrowser epic. Parent epic: #94. Follow-up from Phase 6: #100.
Dependency
Start after Phase 6 lands on feature/eegbrowser-completion. This should be completed before the final closeout phase (#101), because #101 should document and validate the completed browser/property parity surface rather than carry new dashboard feature work.
Goal
Port the full ICLabel pop_prop_extended / viewprops dashboard experience so EEGPrep matches EEGLAB's component-property workflow beyond the browser-backed scrolling activity views added in Phase 6.
Phase 6 covers the scrolling/browser-backed activity portions of pop_prop and pop_viewprops. This phase owns the complete extended ICLabel dashboard: layout, component classifier panels, property plots, scrolling activity placement, navigation across requested components, Help behavior, and GUI workflow parity.
Implementation scope
- Add EEGPrep-owned implementation for the ICLabel extended component-property dashboard currently represented in EEGLAB by
plugins/ICLabel/viewprops/pop_prop_extended.mand relatedviewpropshelpers. - Integrate the dashboard with existing EEGPrep
pop_prop,pop_viewprops, ICLabel classifier data, topoplot, spectra, ERP/image/property plots, and the Phase 6 browser-backed activity view. - Match EEGLAB labels, ordering, defaults, enabled/disabled state, figure titles, component index conventions, and visible layout where practical in Qt/Matplotlib.
- Support both Python/API and GUI-reachable workflows without runtime reads/imports/shell-outs to
src/eegprep/eeglab. - Add EEGPrep-owned help resource(s) for new GUI Help buttons or user-facing functions.
- Preserve current Phase 6 behavior for lightweight activity-view attachments; do not regress
pop_prop,pop_viewprops, orpop_subcompbrowser flows.
Out of scope
- New ICLabel classifier inference behavior beyond consuming classifier outputs already present on the EEG structure.
- Runtime dependency on vendored EEGLAB files.
- Exact MATLAB figure-edit internals when a simpler EEGPrep-native dashboard gives equivalent researcher-facing behavior.
Acceptance criteria
pop_viewpropscomponent mode can open/render a full extended ICLabel-style properties dashboard for selected components when classifier data are available.- Dashboard shows the expected component topography/property/classification/activity surfaces with EEGLAB-facing 1-based component indices.
- Browser-backed scrolling activity remains available inside or alongside the dashboard and honors the event-display option.
- Missing classifier data fails clearly or falls back to non-classifier property display in a documented, tested way.
- GUI Help and
pophelpbehavior use EEGPrep-owned packaged resources. - No runtime code depends on
src/eegprep/eeglab.
Tests and evidence
- Unit tests for classifier-data parsing, selected-component indexing, missing-classifier behavior, and dashboard data assembly.
- GUI tests for dashboard creation, visible labels/titles, component navigation, and activity-browser integration.
- Sample-data or synthetic ICA-capable fixture tests with ICLabel-like
EEG.etc.ic_classificationdata. - Visual parity capture(s) comparing EEGPrep dashboard output to EEGLAB ICLabel
pop_prop_extended/pop_viewpropsreference screenshots, attached to the phase PR as GitHub user attachments. - Focused tests for touched files, then
uv run --no-sync ruff check .,uv run --no-sync ruff format --check .,uv run --no-sync ty check,./pre-commit.py, andEEGPREP_SKIP_MATLAB=1 uv run --no-sync pytest -m "not slow"when feasible.
Required references
AGENTS.md.agents/skills/eegprep-feature-development/SKILL.md.agents/skills/eeglab-gui-visual-parity/SKILL.mdsrc/eegprep/plugins/ICLabel/pop_viewprops.pysrc/eegprep/functions/popfunc/pop_prop.pysrc/eegprep/functions/popfunc/_property_browser.pysrc/eegprep/eeglab/plugins/ICLabel/viewprops/pop_prop_extended.msrc/eegprep/eeglab/plugins/ICLabel/viewprops/pop_viewprops.m- Other
src/eegprep/eeglab/plugins/ICLabel/viewprops/*.mhelpers as needed for parity interpretation only.
/goal prompt
/goal Implement Phase 8 of the EEGBrowser epic: full ICLabel pop_prop_extended/viewprops dashboard parity. Build on Phase 6 browser-backed activity views, port the EEGLAB-facing dashboard workflow without runtime EEGLAB dependencies, add help/docs/tests/visual parity evidence, and verify with focused tests plus ruff/format/ty/pre-commit and non-slow pytest when feasible.
Activity
claude commentedon Jun 1, 2026
🤖 Plan:
developandphase/eegbrowser-6-advancedResearch
Issue is actionable (clear scope, acceptance criteria, references) but not a small bug fix. Scope is a full dashboard port (classifier panels, property plots, activity placement, navigation, Help) across
plugins/ICLabel/,functions/popfunc/,functions/guifunc/,resources/help/, docs, and visual parity captures — well over the 100-line PR threshold. Perfix-issueskill, posting design/approach for review instead of opening a PR.Blocker: Issue states "Start after Phase 6 lands on
feature/eegbrowser-completion." Phase 6 is PR #106 (open, headphase/eegbrowser-6-advanced, basefeature/eegbrowser-completion). Required scaffolding_property_browser.pyonly exists on that branch, not ondevelop.Vendored reference missing:
src/eegprep/eeglab/plugins/ICLabel/viewprops/pop_prop_extended.mis required by the issue as a parity oracle butsrc/eegprep/eeglab/is empty on this checkout — parity work needs the EEGLAB checkout populated or fetched out-of-band (runtime code stays standalone per AGENTS.md).Relevant code (current state):
src/eegprep/plugins/ICLabel/pop_viewprops.py— currentpop_viewprops; non-scrolling overview, classifier popup, ICLabeletc.ic_classificationparsingsrc/eegprep/functions/popfunc/pop_prop.py— single-component property dialog/plot (topo + spectra)src/eegprep/plugins/ICLabel/pop_iclabel.py+iclabel.py— classifier outputs consumed by the dashboardphase/eegbrowser-6-advanced:src/eegprep/functions/popfunc/_property_browser.py— Phase 6property_activity_browser(EEG, typecomp, index, ...), the activity-view hook the dashboard must placephase/eegbrowser-6-advanced:src/eegprep/plugins/ICLabel/pop_viewprops.py— Phase 6 attaches activity views viafigure.eegprep_activity_views; dashboard should consume the same hookProposed Approach
Add an EEGPrep-owned dashboard; do not chase exact MATLAB figure-edit internals. Concretely:
src/eegprep/plugins/ICLabel/pop_prop_extended.pyexportingpop_prop_extended(EEG, typecomp, chanorcomp, ...)andpop_prop_extended_dialog_spec(...). Mirrors EEGLAB signature, supportsreturn_com=True, emits EEGLAB history string.Figureembedded inFigureCanvasQTAgg) per requested component, containing: scalp topo, ERP-image, power spectrum, classifier bar/labels panel (fromEEG.etc.ic_classification[<classifier>]), and a slot forproperty_activity_browser(...)(Phase 6) as the scrolling-activity surface. EEGLAB-facing 1-based component indices throughout.IC k / N. Keep state local to the dashboard, not onEEGPrepSession.pop_viewprops— component mode opens the extended dashboard when classifier data is present; channel mode and missing-classifier component mode keep current overview, with a clear error message documenting the fallback (per acceptance criteria).src/eegprep/resources/help/pop_prop_extended.md(no fallback to vendored EEGLAB at runtime).tests/:tests/test_pop_prop_extended.py— classifier parsing, indexing, missing-classifier fallback, history-string round-trip, navigation across requested componentstests/test_pop_viewprops*.pyfor the component-mode dispatch into the dashboardtools/visual_paritypereeglab-gui-visual-parityskill; screenshots attached to the PR as user-attachments per AGENTS.mddocs/source/forpop_prop_extended, updatepop_viewpropspage.feature/eegbrowser-completion, notdevelop. Branch nameagent/20260601-fix-108.Open questions (need human input before coding)
phase/eegbrowser-6-advancedand target it as the base, or (c) targetfeature/eegbrowser-completionand rebase after Implement advanced EEGBrowser display modes #106 lands?src/eegprep/eeglab/plugins/ICLabel/viewprops/from upstream EEGLAB for parity work, or rely on the EEGLAB GitHub mirror as the parity oracle?Figurewith embedded controls (easier tests, slightly weaker EEGLAB visual match). Recommend Qt with a headless-test seam; confirm.pop_prop_extendedbehavior) vs. one dashboard window per index. Recommend single window + nav; confirm.Not implementing until the dependency and the four questions above are resolved.
arnodelorme commentedon Dec 1, 2026
🤖 The pop_prop_extended dialog and native jamming captures are tracked in #960.