git.lucas.co / cce-data-editor
structured data editor
git clone https://git.lucas.co/cce-data-editor.git

commit9f5532ce80352b40477df77b03b6c7dc1a3853d0
parent333490a736
authorLucas Galante <[email protected]>
date2026-09-08 21:44
feat: navigate in plate terms

Opt into cce-ui's Tab traversal (Application::plate_navigation): Tab and
Shift+Tab walk the plates and wells in reading order, each lighting its own
rim; a press acts on a plate, a well opens for typing.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 src/main.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main.rs b/src/main.rs
index 920917a..18abcdc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2485,6 +2485,11 @@ impl Application for DataEditorApp {
         }
     }
 
+    /// Tab walks the plates and wells (cce-ui's navigation in plate terms).
+    fn plate_navigation(&self) -> bool {
+        true
+    }
+
     fn handle_key_input(&mut self, event: &KeyEvent, needs_rebuild: &mut bool) -> Option<Self::Message> {
         self.ctrl_pressed = event.ctrl;
         self.ui_context.ctrl_pressed = event.ctrl;