new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Mantine · all subjects

spotlight/props

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Spotlight keyboard shortcuts configuration

Spotlight uses the use-hotkeys hook to handle keyboard shortcuts. By default, Ctrl + K and Cmd + K shortcuts open spotlight. Use the shortcut prop to customize: pass a string for a single shortcut (e.g., 'mod + J'), an array of strings for multiple shortcuts (e.g., ['mod + K', 'mod + P', '/']), or null to disable shortcuts.

Spotlight limit prop for performance

Use the limit prop to limit the maximum number of actions displayed at a time. Usually 5-7 actions is a good number. The limit prop is crucial for performance when you have many actions, preventing the spotlight from rendering all of them at once. This is especially useful when you have thousands of actions.

Spotlight scrollable actions list

The Spotlight actions list is not scrollable by default. If you have many actions, set the scrollable and maxHeight props. When scrollable is not set, the actions list height is not limited and the body will grow to fit all actions; use the limit prop to prevent overflow. When scrollable is set, the list has a fixed height equal to maxHeight and scrolling is handled by the ScrollArea component.

Give your agent this brain