* 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
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
actions.test.ts | Loading commit data... | |
actions.ts | Loading commit data... | |
helpers.ts | Loading commit data... | |
onTimeRangeUpdated.test.ts | Loading commit data... | |
processVariable.test.ts | Loading commit data... | |
reducers.test.ts | Loading commit data... | |
reducers.ts | Loading commit data... | |
selectors.ts | Loading commit data... | |
sharedReducer.test.ts | Loading commit data... | |
sharedReducer.ts | Loading commit data... | |
transactionReducer.test.ts | Loading commit data... | |
transactionReducer.ts | Loading commit data... | |
types.ts | Loading commit data... | |
variablesReducer.ts | Loading commit data... |