asterics / AsTeRICS-Grid

Free and simple to use app for augmentative and alternative communication (AAC) with offline support, flexible input methods and media access
https://grid.asterics.eu/
GNU Affero General Public License v3.0
55 stars 17 forks source link

Improve the "Navigate to home grid after selecting an element" option #352

Closed arasaac-dga closed 8 months ago

arasaac-dga commented 9 months ago

The new feature "Navigate to home grid after selecting an element" added in configuration is a great addition but we think that is neccesary improve them because now is a very global action and sometimes you don't want that this feature is applied. For example in case of use keyboards or Youtube, Radio, Web links actions. So we think is neccesary to add some conditions to disable this feature for specific kind of cells. A possibility could be to add in configuration, next to this option an option to activate/deactivate this option for some kind of listed cells (as commented). So you can deactivate this option for keyboard cells and activate for radio cells, for example.

ms-mialingvo commented 9 months ago

I can't think of a case where 'navigating to home grid after selecting an element' would be useful in the keyboard/radio/podcast sites etc. Maybe a general deactivation for these kind of sites, would be faster/quicker to implement for the moment? Otherwise yes, the option to deactivate 'navigating to home' for specific grids or cells.

arasaac-dga commented 9 months ago

Yes general deactivation for this kind of cells with specific actions could be the quickest solution to begin. Perhaps, after sometime of use, some case appear commented by users.

klues commented 9 months ago

I would propose to disable "navigate to home after selecting element" for all elements which contain one of these actions:

Additionally I would disable "navigate to home after selecting element" for grids which appear to be a keyboard (I'm already using some kind of heuristics to determine if a page is a keyboard in order to decide if elements are added with a separate space or not to the collection bar - I'll reuse this).

I think this should fine, probably nobody needs to manually define for which buttons "navigate to home after selecting element" should not happen.

ms-mialingvo commented 9 months ago

Sounds good!

arasaac-dga commented 9 months ago

I would propose to disable "navigate to home after selecting element" for all elements which contain one of these actions:

  • Navigate to other grid -> this is already the case
  • AsTeRICS action (activates something in the background via the AsTeRICS Framework - e.g. sending some infrared command to control a TV)
  • OpenHAB action - some smart home action using openHAB, e.g. controlling lights or shutters
  • Web radio action
  • YouTube action
  • Open website in new tab

Additionally I would disable "navigate to home after selecting element" for grids which appear to be a keyboard (I'm already using some kind of heuristics to determine if a page is a keyboard in order to decide if elements are added with a separate space or not to the collection bar - I'll reuse this).

I think this should fine, probably nobody needs to manually define for which buttons "navigate to home after selecting element" should not happen.

We agree with those actions and kind of grids you propose although we would add "accumulated phrase" action too, because if you are composing a phrase in a subgrid and want, for example to delete a word, the system comes back to the home grid when you press in delete or in play or..... Another thing that "worries us" is the elements that are on Global Grid. We are not sure that you always want elements on Global Grid to come back to the home grid but we are going to think about it. We have not a clear opinion about that at the moment.

arasaac-dga commented 8 months ago

After discuss more carefully we though that all the cells in Global Grid must be excluded of "Navigate to home grid after selecting an element" option (part from the actions commented prevously).

klues commented 8 months ago

I've implemented it, please test at "latest":

klues commented 8 months ago

released with https://github.com/asterics/AsTeRICS-Grid/releases/tag/release-2024-01-19-09.25%2F%2B0100