Duplicate query parameters when creating new tabs in TTD memory/calls widgets #858
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When users manually create a new tab by clicking the "+" button in TTD Memory or TTD Calls query widgets, the new tab now inherits the query parameters from the current tab instead of starting with empty/default values.
Changes Made
TTD Memory Widget
getStartAddress(),getEndAddress(),getCurrentAccessType()setParameters()methods for setting parameters without executing queriesTTD Calls Widget
getSymbols(),getStartAddress(),getEndAddress()setParameters()methods for setting parameters without executing queriesImplementation Details
The solution modifies the
createNewTab()methods in bothTTDMemoryWidgetandTTDCallsWidgetto:setParameters()methodsThe
setParameters()methods are variants of the existingsetParametersAndQuery()methods but without triggering the query execution, making them perfect for parameter duplication.User Experience
This enhancement significantly improves debugging workflows by eliminating repetitive parameter entry. Users can now:
All existing functionality remains unchanged, ensuring backward compatibility.
Fixes #857.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.