-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataLinks: Respects display name and adds field quoting #27616
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment but otherwise LGTM!
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but getFrameVars was a bit cryptic, so took some time to parse what was going on :)
Great tests @hugohaggmark! |
* DataLinks: Adds field quoting and respects DisplayName * Update public/app/features/panel/panellinks/link_srv.ts Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> (cherry picked from commit e86ff52)
* DataLinks: Adds field quoting and respects DisplayName * Update public/app/features/panel/panellinks/link_srv.ts Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> (cherry picked from commit e86ff52)
* DataLinks: Adds field quoting and respects DisplayName * Update public/app/features/panel/panellinks/link_srv.ts Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
What this PR does / why we need it:
are decorated with quotes.
Firstly, this PR switches from using
field.name
to the actualdisplayName
for the field. Secondly displayName containing.
orWhich issue(s) this PR fixes:
Fixes #26545
Special notes for your reviewer: