The GitHub Actions job "Required Checks" on texera.git/fix/filetree-click-highlight has succeeded. Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run: 33e44e1526b9f21caaac5d0c60adf47b2a832e08 / Yang Zhang <[email protected]> fix(frontend): highlight the file picked in the dataset file tree The dataset file tree's click handler overrode the tree library's default click (TOGGLE_ACTIVE) with an emit of selectedTreeNode alone, so the tree never had an active node and the library never marked the clicked row: in the dataset-selection modal, where the host only stores the path, the picked file looked like every other and the one sign of the pick was the Select button turning enabled. The handler now activates the clicked file (ACTIVATE, not TOGGLE_ACTIVE, so a second click on the picked file keeps it highlighted, as the selection it emits stands either way), Enter and Space on the focused node do the same rather than the library's toggle, and the component styles the active row like the app's selected rows, with an inset shadow so the row keeps the height the virtual scroll pins. Folders toggle as before. A host that browses a version's files without holding one -- the dataset picker in version mode, the model picker -- sets isFileSelectable false, and a file click there activates and emits nothing: a highlighted row would promise a pick nothing takes. Every other host keeps the click it has and gains the highlight. Co-Authored-By: Claude Fable 5.1 <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/44262449127 With regards, GitHub Actions via GitBox
