Basic Rule UI bug:
- If a Basic Rule has [square brackets] in its name, then it will be impossible to edit that name.
- It will also be impossible to change any of the dropdown menus.
- The square brackets will also not appear in the Basic Rule's name in the Apps list.
Steps to reproduce:
- Create new Basic Rule.
- Add some automation steps (e.g., turn on a light at sunset).
- Select "Change the Basic Rule Name?"
- Put some [brackets] in the name of the rule.
- Save the rule (you make have to click "Done" several times).
- Go back to Apps and find the new Basic Rule (the brackets won't appear in the Apps list).
- Click on the new Basic Rule to edit it.
- In the Basic Rule, click inside the "Edit Name for Basic Rule" to text field to edit it.
- The text field will lose input focus before you can type.
This bug appears both in the desktop browser and in the mobile app. Looking more carefully in the desktop browser, it appears that when the Basic Rule name contains a square brackets, the App continually refreshes its main container (i.e., div#divMainUIContent > main
) so quickly that any element that receives input focus loses that focus when it is removed from and readded to the DOM before it can receive any further events.
Note that the small bug of the brackets not appearing in the name shown in the Apps List also affects the Notifications and Smile Automation Rules apps, only in Basic Rules is there a problem with the editing UI.