mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-05 05:24:13 +00:00
* feat(gui): type a path into the dashboard Files path bar Clicking the path bar anywhere but on a crumb, or typing /, swaps the breadcrumbs for a text field. Enter opens the folder typed (or a file's folder with the file selected); ~ is home and relative paths start from the folder on screen. Escape or clicking away puts the crumbs back, and a path to nothing shows an alert and keeps the field open. * fix(gui): closing the path alert with Escape gives the path field back UIAlert only settles when a button is clicked, so an alert closed with Escape left the path field waiting forever: it no longer closed on blur and never got the focus back. Wait for the alert window to close instead. * fix(gui): look a typed path up once, however often Enter is pressed A second Enter (or a held key) during the lookup started another one, and for a path to nothing stacked a second alert on the first. * fix(gui): leave Enter and Escape to an IME composing in the path field Picking a candidate with Enter while typing a name through an input method went to the typed path, and Escape to cancel the composition closed the field. * fix(gui): arrow keys go on from rows the Files tab selects for you Selecting a typed file, or the items just uploaded or pasted, left the keyboard's starting row on whatever was selected before, so Down jumped next to that row instead of the new selection. * fix(gui): opening the path field no longer moves a narrow Files header On phones and in narrow lists the field was shorter than the crumb row it replaced and dropped its divider, so the buttons and the listing jumped up as it opened. It now takes a crumb's height and keeps the divider. * fix(gui): space the path field from the Files toolbar buttons Its border ran up against the sort button, a few pixels from the icon, where the toolbar's other items keep 10px apart. * fix(gui): phone keyboards leave a typed path as typed iOS autocorrect rewrote folder names in the path field as they were typed. Turn it off, as the GUI's other name fields do, and label the keyboard's Enter key Go. * fix(gui): a typed / or .. reaches the root folder The root can't be stat'ed, so the path field reported "/" as not found, even though Up goes there. Like Shared, it is now opened without a lookup. * fix(gui): Escape calls off a path lookup still running Escape closed the path field, but the lookup behind it carried on: the tab still went to the path once it answered, or alerted that it wasn't found, and a path typed into the reopened field was ignored until then.