Repository navigation
Description
🤖 Epic tracker for completing EEGPrep EEGBrowser/eegplot-style scrolling workflow parity.
Goal
Implement the previously excluded EEGBrowser/eegplot workflows so EEGPrep supports visual scrolling, inspection, marking, rejection, component browsing, event overlays, linked windows, and all menu paths that currently depend on pop_eegplot.
When this epic is complete, browser-related workflows should work from the GUI, Python API, and eegprep-console with EEGLAB-familiar behavior and EEGPrep-owned standalone runtime code.
Relationship to prior epics
- Epic: Complete EEGPrep core EEGLAB parity except browser and external plugins #60 completed core EEG feature parity while explicitly excluding EEGBrowser/eegplot-style scrolling workflows.
- Epic: STUDY and standalone EEGPrep integration parity #78 completed STUDY and standalone integration while still excluding EEGBrowser.
- This epic starts from
feature/study-standalone-completionand removes the EEGBrowser exclusion.
Branching model
- Epic integration branch:
feature/eegbrowser-completion - Phase PR target:
feature/eegbrowser-completion - Final epic PR target:
origin/develop - Final epic PR must include integration evidence and GUI side-by-side user attachments for GUI changes.
Scope
In scope:
- EEGLAB-style
eegplot,pop_eegplot,eeg_multieegplot,trial2eegplot,eegplot2event, andeegplot2trialbehavior. - Main-window menu paths for visual scrolling and visual rejection.
- Browser integration in rejection, selection, cleaning, component, and property workflows already present in EEGPrep.
- Visual parity with EEGLAB for browser windows and browser-dependent dialogs.
Out of scope:
- External plugin repositories not vendored or packageable in EEGPrep.
- Runtime imports, reads, or shell-outs to
src/eegprep/eeglab. - Exact MATLAB figure-edit internals when an EEGPrep-native equivalent is simpler and user-equivalent.
Phase issues
- Browser data model, rendering foundation, and
eegplotAPI. - Core browser UI, navigation, menus, and visual shell parity.
- Interactive marking,
winrej, and rejection conversion parity. pop_eegplotmenu workflows and session/console integration.- Browser integration for rejection and cleaning workflows.
- Advanced display modes, linked windows, component views, and property flows.
- Docs, help, performance, cross-platform QA, and epic closeout.
- Full ICLabel
pop_prop_extendeddashboard parity (Phase 8: Full ICLabel pop_prop_extended dashboard parity #108).
Parallelization plan
Phase 1 must merge first because it defines shared browser state, rendering, option parsing, and test contracts. After Phase 1, Phases 2 and 3 can run in parallel. Phase 4 starts after Phases 2 and 3 merge. After Phase 4, Phases 5 and 6 can run in parallel because they integrate separate call sites. Phase 8 starts after Phase 6 because it extends the component/property dashboard surface. Phase 7 runs last as the closeout phase.
Recommended merge order: 1 -> 2 + 3 -> 4 -> 5 + 6 -> 8 -> 7 -> final epic PR.
Project-wide acceptance criteria
- EEGPrep implements EEGLAB-style
eegplot/ EEGBrowser workflows without runtime EEGLAB dependency. - All browser-related main-window menu actions are implemented and no longer marked as excluded.
- Visual inspection, scrolling, marking, updating marks, rejection, component browsing, event overlays, linked windows, and advanced display modes work from GUI and
eegprep-console. - Existing non-browser rejection, plotting, STUDY, and console workflows do not regress.
- Every GUI feature has EEGLAB side-by-side visual evidence attached to the relevant PR as GitHub user attachments, not repo files.
- New feature code has targeted tests aiming for >90% coverage, with MATLAB parity tests for deterministic conversion and rejection semantics.
- Final branch passes
uv run --no-sync ruff check .,uv run --no-sync ruff format --check .,uv run --no-sync ty check,EEGPREP_SKIP_MATLAB=1 uv run pytest -m "not slow", MATLAB-enabled parity tests for browser helpers/workflows, visual parity captures, and GUI Agent mixed console/GUI QA.
Required references for every phase
AGENTS.md.agents/skills/eegprep-feature-development/SKILL.md.agents/skills/eeglab-gui-visual-parity/SKILL.mdfor GUI features.agents/skills/gui-agent-flow-qa/SKILL.mdfor end-user flow QA- EEGLAB reference under
src/eegprep/eeglab, used only as development/parity input.
Core EEGLAB references
src/eegprep/eeglab/functions/sigprocfunc/eegplot.msrc/eegprep/eeglab/functions/sigprocfunc/eegplotlegacy.msrc/eegprep/eeglab/functions/sigprocfunc/eegplot2event.msrc/eegprep/eeglab/functions/sigprocfunc/eegplot2trial.msrc/eegprep/eeglab/functions/sigprocfunc/trial2eegplot.msrc/eegprep/eeglab/functions/popfunc/pop_eegplot.msrc/eegprep/eeglab/functions/popfunc/eeg_rejmacro.msrc/eegprep/eeglab/functions/popfunc/eeg_multieegplot.m
Notes for agents
Each phase issue includes a /goal prompt. Use it for long-running implementation work. Keep .notes/implementation-notes.html current during implementation, including design decisions, parity interpretations, deviations, tradeoffs, and open questions.
Activity
claude commentedon May 31, 2026
🤖 Plan:
Research
Actionable as an epic but well above the >100-line / multi-module bar for a single PR — phases #95–#101 already split the work, and
feature/eegbrowser-completionalready exists (currently equal tofeature/study-standalone-completion, no eegplot work yet). Current state: every browser-dependent surface is wired as an explicit exclusion, not a TODO, so removing those exclusions is the integration contract for the epic.Current EEGBrowser/eegplot exclusion surface (runtime, non-vendored):
src/eegprep/functions/guifunc/menu_placeholders.py#L26-L66—pop_eegplotregistered withexcluded_reason=\"eegbrowser\"; shared placeholder message.src/eegprep/functions/popfunc/pop_rejmenu.py#L264— rejection menu disables EEGBrowser scrolling buttons.src/eegprep/functions/popfunc/pop_autorej.py#L68—eegplotcheckbox forcedenabled=False.src/eegprep/functions/popfunc/pop_rejspec.py#L119-L199—eegplotplotallrej/eegplotrejectoptions plumbed but not honored end-to-end.src/eegprep/functions/popfunc/pop_subcomp.py#L41— confirm-plot step disabled.src/eegprep/functions/popfunc/pop_select.py#L656— TODO awaiting EEGPrep scrolling viewer.src/eegprep/plugins/ICLabel/pop_viewprops.py#L99-L100— channel-mode property overview skips scrolling activity.src/eegprep/functions/popfunc/eeg_eegrej.py#L301— already acceptseegplot-shaped regions; useful for Phase 3 winrej parity.No existing
eegplot*/pop_eegplot*/EEGBrowsersource modules undersrc/eegprep/functions/orsrc/eegprep/plugins/outside the vendoredeeglab/reference — Phase 1 is a green field.Duplicate-work preflight:
gh pr listfor eegbrowser/eegplot/browser returned empty).feature/eegbrowser-completionexists at the same commit asfeature/study-standalone-completion; no implementation commits yet.Proposed Approach
Treat #94 as a coordination/tracker issue and do not open a PR against it. Implementation should land via the seven phase issues into
feature/eegbrowser-completion, in the order #95 → (#96 ∥ #97) → #98 → (#99 ∥ #100) → #101, then a final epic PR todevelop. Phase 1 (#95) is the only one ready to start now because it owns the shared data model, render foundation, option parsing, and test contracts that #96/#97 depend on; the others should wait until #95 merges into the epic branch.Recommended next human action: assign or
/goalPhase 1 (#95). When that lands, unblock #96 and #97 in parallel. No code changes proposed against #94 itself — its only runtime artifact would be flipping thepop_eegplotexclusion inmenu_placeholders.py, which belongs to Phase 4 (#98).