Describe the bug
On touch-enabled laptops, as on mobile devices, the Cell Toolbar is attached to the bottom of the cell instead of to the bottom of the window. In this configuration, the Cell Toolbar does not have the 'cell name' field, and the UI provides no alternative access to the cell name. As a result, there is no direct way to view or edit the cell name for non-Javascript cells.
To Reproduce
Steps to reproduce the behavior:
Enter 'Edit' mode for any non-Javascript notebook cell on a touch-enable or mobile device.
The Cell Toolbar is at the bottom of the cell instead of at the bottom of the window.
There is no 'cell name' field.
(This can be experienced on other devices using the device toolbar in Chrome DevTools to simulate a touch device such as an iPad Air.)
Expected behavior
There should be some way to view and edit the 'cell name' on touch-enabled laptops and mobile devices.
Screenshots
Non-touch laptop:
Touch-enabled laptop (no 'cell name' field!):
Desktop (please complete the following information):
Device: Lenovo Thinkpad X390 Yoga (a 13" convertible 'business' laptop)
OS: Windows 11
Browser: Chrome
Version: 115
Additional context
I can think of a few ways to address this issue:
Distinguish touch-enabled laptops from touch-only mobile devices, and use the full window-attached cell toolbar on the laptops. (This would only help touch-enabled laptop users.)
Include cell name field in cell toolbar when it is attached to cell instead of window, if the window is wide enough. (This would help touch-enabled laptop users and touch-only users with wide-enough screens.)
Add a “Cell name” item to the cell’s menu, either always, or only when the cell name field is hidden from the toolbar. (This would help touch-enabled laptop users and all mobile users.)
Describe the bug On touch-enabled laptops, as on mobile devices, the Cell Toolbar is attached to the bottom of the cell instead of to the bottom of the window. In this configuration, the Cell Toolbar does not have the 'cell name' field, and the UI provides no alternative access to the cell name. As a result, there is no direct way to view or edit the cell name for non-Javascript cells.
To Reproduce Steps to reproduce the behavior:
(This can be experienced on other devices using the device toolbar in Chrome DevTools to simulate a touch device such as an iPad Air.)
Expected behavior There should be some way to view and edit the 'cell name' on touch-enabled laptops and mobile devices.
Screenshots
Non-touch laptop:![image](https://github.com/observablehq/feedback/assets/266509/0d348643-b8af-465f-abec-07ffe76cbdd2)
Touch-enabled laptop (no 'cell name' field!):![image](https://github.com/observablehq/feedback/assets/266509/ec3ff9ea-ddb5-449b-99a9-0352b8ecc39b)
Desktop (please complete the following information):
Additional context I can think of a few ways to address this issue: