Using โMattโs modalโ tips and trick, โGroup Actionโ with no attached exaction, which basically do nothing even action is fired.
The use case should be quite rare, not much use case, but if we really want not to do anything on the table view once the user select table view row item, i.e, disable default aciton to open the detail view for the selected item and keep the table view stay inactive.
Stick is super simple. Refer to Mattโs tricks, create action, grouped action, but select NIL action, and leave the confirmation message beinng turned off.
This is basically kinda of โScilent Actionโ, do exactly nothing.
On your target view like Table (Or any other type of view you want, for โRow selectedโ action, pick up this scilent action.
By doing so, nothing is going to happen when the user click the item on the table.
Another way to make this trick work, is to use the
to set a columnโs value to itself.
This doesnโt cause anything to happen in the app, but it DOES cause the action to fire off - you can use this then to show a message, or to do nothing.
In general, whenever a user interacts with your app there should be some sort of response in the app - letting that user know that something indeed has happened. Even if the thing that happens is a message appearing saying, โYou cannot do Xโ or some other explanation giving the user information about WHY they canโt do what theyโre wanting to do, having some sort of response is typically a good idea.
Hereโs a good article for more tips on UX design
https://givegoodux.com/feedback-5-principles-interaction-design-supercharge-ui-5-5/
What Iโve taken to doing lately is to create a composite action (a group of actions) and include in that stack conditional navigation actions - so depending on WHERE a user taps on the table a certain action fires off.
This gives you the ability for having nothing to happen, navigating to another record, running some background updates, etc. - all based on the context() or other criteria of the record being tapped on.
Thanks for your input.
Feedback echoes what we learned in high school Physics: for every action there should be a reaction (Quote from the article @MultiTech_Visions posted)
I love a good no-op! This perfect.