#5844 (The ↗ of the phantom row should open an insert window)

by Luc Saffre · in Developers · assigned to Luc Saffre

Résumé

Use case: avanti2, the "Comments" tab of a client. The end users explicitly want CommentsByRFC to be in a "tabular" view by default. We do this by saying CommentsByRFC.default_display_modes = {None: constants.DISPLAY_MODE_GRID} in /avanti/lino_avanti/lib/avanti/models.py

This works well, BUT adding a new comment is not intuitive because of two "small" problems: (1) the ↗ of the phantom row should open an insert window (right now it just causes a blank window) and (2) Clicking on the body of the phantom row does start the editor, BUT it's difficult to submit because neither Ctrl+S nor TAB do anything meaningful. (3) And we should probably deactivate the toolbar of the editor when it is used inside a grid.

Concepts sous-jacents

Commentaires