#4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. )
50 · by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 3 Jahre, 1 Monat ago von Sharif Mehedi about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : I am thinking if we should have the possibility on the react front end to partially collapse the toolbar.
- 3 Jahre, 11 Monate ago von Sharif Mehedi about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : now, quicksearch field is visible among the never_collapse actions. renamed the show_in_bbar to show_in_toolbar. We can probably consider this close.
- 4 Jahre ago von Luc Saffre about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : Rename show_in_bbar to show_in_toolbar. New action attribute "never_collapse". Have the toolbar always visible, but when there is limited space, collapse some part of it so that it shows only the actions maked "never_collapse". The quick_search field never collapses and the parameter button.
- 4 Jahre ago von Sharif Mehedi about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : We can probably close this ticket now.
- 4 Jahre ago von Sharif Mehedi about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : probably connection issue.
- 4 Jahre ago von Sharif Mehedi about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : I have implemented the display_mode as tuple of tuples concept, the frontend is working nice. But the test suite is failing because of pyvat checkdata.
- 4 Jahre, 1 Monat ago von Luc Saffre about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : Yes, this ticket is not trivial. Maybe we need changes in lino.core.layouts. And here are dragons...
- 4 Jahre, 1 Monat ago von Sharif Mehedi about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : There is a catch in the implementation detail of this idea. We do not know the available width in the frontend while building the *.json files. At the moment I have no idea how to approach this. @luc , let me know if anything comes to your mind.
- 4 Jahre, 1 Monat ago von Luc Saffre about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : Why is there no button "list view" right now in the toolbar?
- 4 Jahre, 1 Monat ago von Luc Saffre about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : I updated the blog entry: The whole `display_mode` tuple must be given to the client (in the `.js` file), and the client must loop over this tuple and pick the first item that fits into the available width.
- 4 Jahre, 2 Monate ago von Luc Saffre about #4601 (Data view on mobile device should have quicksearch field as first focus. Maybe list instead of grid. ) : See my blog: [url luc.lino-framework.org/blog/2022/0810.html#about-display-mode-on-mobile-views].