grafana/public/app
Lucas Raschek 6b1b52b704
Templating: Fixes renaming a variable using special characters or same name (#26866)
* Fix variable editor name-input bug

You couldn't delete an invalid character after typing it into the name-input field.
While investigating the issue turned out to be bigger, as there was a problem with
valid characters too. (See test scenarios below)

The fix seems to be, to remove an unnecessary check in the `changeVariableName`
action. There is theoretically now the possibility, that the `changeVariableName`
action is called with the same name, as the variable is already, but practically
there seems no possibility, that this could happen. A test, which checks that, had
to be removed too.

Test scenarios:
* 1st Scenario
    1. Type "@"
    2. Try deleting it
* 2nd Scenario
    1. Type "w"
    2. delete "w"
    3. Try typing "w" again

Fixes #26562

* Fix bug when updating existing variable
2020-08-13 06:52:32 +02:00
..
core BackendSrv: Improves logic for hiding requests from query inspector (#26877) 2020-08-10 16:08:11 +02:00
features Templating: Fixes renaming a variable using special characters or same name (#26866) 2020-08-13 06:52:32 +02:00
partials Migrate: Error page (404) (#26010) 2020-07-03 08:53:54 +02:00
plugins Datasource/CloudWatchLogs: Correctly interpolate variables for data links (#26929) 2020-08-12 16:26:51 +01:00
routes Live: include a streaming event manager (#26537) 2020-07-27 00:26:16 -07:00
store Redux: Added config to redux development middlewares that checks for mutations and serializability (#23492) 2020-04-10 10:08:42 +02:00
types Bring back scripts evaluation in TextPanel (#26413) 2020-07-17 18:00:58 +02:00
app.ts Implicit import symbol-observable to avoid inconsistent symbol (#26288) 2020-07-14 09:25:17 +02:00
dev.ts React: Add why-did-you-render dev extension to better see what components re-render and why (in console) (#23455) 2020-04-09 19:44:05 +02:00
index.ts Echo: mechanism for collecting custom events lazily (#20365) 2019-12-05 08:30:39 +01:00