- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
Open
Labels
enhancementNew feature or requestNew feature or request
Description
So in vanilla Grafana, many buttons don't have good selectors. Early on, we implemented making it possible to select buttons by their contained text:
              <li class="interactive"
                  data-reftarget="Save & Test"
                  data-targetaction="button">
                Click "Save & Test" to save the data source.
              </li>
This was good.  But it also has a major drawback:  if user is using any other language, this step will obviously break because it relies
on English data-reftarget="Save & Test"
Inside of the plugin, note that DOM selectors appear not to be supported. The text approach is the only approach.
Proposal:  In the case of data-targetaction="button"
- Support EITHER a regular selector as all other OR the text option
 
I'm saying we punt the translation issue, in part because some buttons are vague enough they may have to be done the text way, until such time as more stable selectors can be put in the code.

Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request