Skip to content

Add focus mode#227

Open
chrishalcrow wants to merge 4 commits intoSpikeInterface:mainfrom
chrishalcrow:add-focus-mode
Open

Add focus mode#227
chrishalcrow wants to merge 4 commits intoSpikeInterface:mainfrom
chrishalcrow:add-focus-mode

Conversation

@chrishalcrow
Copy link
Member

Had some feedback that the GUI can feel a bit clustered when you're "in the zone" curating. So had a look to see how hard is it to make a "focus mode" and... it's easy! Try it by either selecting "Focus Mode" in the menu or pressing ctrl+f (or cmd+f)

Screen.Recording.2026-01-20.at.16.54.53.mov

@samuelgarcia
Copy link
Member

C'est brillant!

@alejoe91
Copy link
Member

And it works in panel too!
Screencast from 11-02-2026 14:21:59.webm

Comment on lines +402 to +416
def _handle_shortcut(self, event):
if event.data == "focus":
self.focus_mode = not self.focus_mode

for tabs in self.all_tabs:
if self.focus_mode:
tabs.stylesheets = [
"""
.bk-header {
display: none !important;
}
"""
]
else:
tabs.stylesheets = []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't find a way to speed it up...Let's leave it like this for the time being :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok - it's an aspirational hidden shortcut, so that's ok

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.

3 participants