Skip to content

Enh UI event link#286

Draft
nmarkowitz wants to merge 13 commits intomne-tools:mainfrom
nmarkowitz:ENH-ui-event-link
Draft

Enh UI event link#286
nmarkowitz wants to merge 13 commits intomne-tools:mainfrom
nmarkowitz:ENH-ui-event-link

Conversation

@nmarkowitz
Copy link
Copy Markdown
Contributor

Reference issue

Example: Fixes #1234. , mne-tools/mne-python#12409 , #252

What does this implement/fix?

Adds TimeChange, TimeBrowse and ChannelBrowse ui events to sync with ui event system.

Additional information

@nmarkowitz
Copy link
Copy Markdown
Contributor Author

@wmvanvliet @larsoner I'm picking this up again. I have the vertical bar synced across databrowsers and time browse and channel browse seem to be working. I haven't worked on edge cases yet. Wanted to get your opinions before I keep resuming more work

Comment thread mne_qt_browser/_pg_figure.py Outdated
Comment thread mne_qt_browser/_pg_figure.py Outdated
nmarkowitz and others added 7 commits June 16, 2025 10:44
Co-authored-by: Marijn van Vliet <w.m.vanvliet@gmail.com>
Resolve conflict: accept main directory restructure
(mne_qt_browser/ -> src/mne_qt_browser/).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Integrate MNE ui_events system (TimeChange, TimeBrowse, ChannelsSelect)
to enable syncing between multiple browser instances. Browsers can be
linked via ui_events.link() to sync time position, time browsing, and
channel selection. Includes proper cleanup on close and feedback loop
prevention via disable_ui_events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wmvanvliet
Copy link
Copy Markdown

my opinion on the matter is that it is a very cool feature, but indeed with lots of edge cases. This is especially true when you sync a raw-browser with an epochs-browser. We need a good testing suite. Perhaps we could build a list of tricky cases we can think of, so we can try all of those manually in the GUI.

Also, please always declare how and where you use AI when working on this codebase. For example, That some commits are annotated with Claude is useful.

@wmvanvliet
Copy link
Copy Markdown

great to hear to want to pick this up again! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants