►
From YouTube: Grafana UX Feedback Call 2021-05-12
Description
Discussed in this session: View mode for value mappings.
If you have any feedback after watching, we're happy to read your comments!
A
So
I'm
going
to
talk
about
value
mappings,
just
before
some
background
on
on
this
feature,
it's
kind
of
has
as
a
long
history
dating
back
to
this
stat
panel.
I
think
where
this
was
introduced
mainly
to
kind
of
initially.
I
think
it
was
only
used
for
like
mapping
numbers
to
text,
so
if
you
want
to
so,
if
you
had
yeah,
let's
switch
this
to
us.
If
you
have
have
something
like
this.
A
Oh,
I
have
this
song
move
this.
So
if
you
want
to
zero,
for
example,
to
be
displayed
as
s
so,
zero
should
be
displayed
as
down
or
some
some
some
some
text
value.
So
that
was
kind
of
I
think
the
start
of
this.
This
feature
to
be
able
to
map
numerical
values,
to
a
display
text
value
same
thing
with
like
a
range
to
be
able
to
say
like.
Oh,
if,
if
a
value
is
in
a
specific
range,
I
want
to
show
this
text.
Instead,
it
has
had
one
more
use.
A
I
think
in
actually
going
the
other
way.
So
a
big
problem
in
your
phone
is
that
if
you
have
text
values
like
this
column,
here
that
says
up
down
up
down,
you
haven't
been
able
to
color
this
value
in
in
any
kind
of
easy
way.
A
A
A
So
we
have
some
new
panels.
So
this
is
a
kind
of
existing
problem
that
you
cannot
color
text
values,
which
is
what
we're
grateful
to
do
that
for
the
table
panel.
The
stack
panel
and
one
more
use
case
for
for
the
value
mapping
has
been
able
has,
has
been
to
specify
what
how
a
missing
value
a
null
value
should
be
displayed
as
so,
if
and
that
has
been
done
by
like
a
magic
string.
A
A
So
yeah
back
to
being
able
to
color
string
values
to
two
colors,
so
we
have
new
panels
coming
up
in
the
timeline
panel.
The
timeline
panel
really
is
about
kind
of
showing
both
the
kind
of
numerical
states
over
time,
but
mainly
kind
of
boolean
states,
true
false
over
time
or
text
strings.
A
A
The
exist,
the
current
value
mapping
ui,
has
been
a
bit
clunky
because
it
takes
up
a
lot
of
space
for
each
value
mapping
and
in
in
these
use
cases
that
we
we
see
where
they
want
to
map
these
text
states
to
strings.
They
can
be
up
to
20
or
something
so
so
that
this
ui
is
really
clunky
to
to
represent
20
text
to
color,
mappings
and-
and
these
are
the
string
mappings
as
well
so
yeah.
A
We
struggled
a
lot
with
like
exploring
ui
that
will
fit
in
this
narrow,
sidebar
paint
that
will
allow
us
to
both
like
have
this
range
mappings
value,
mappings
and
add
a
color
options
as
well
and
make
kind
of
make
it
make
it
possible
to
drag
and
drag
and
move
this
around
order
can
be
important.
A
So
the
the
solution
that
that
I
kind
of
ended
up
in
is
that
we
should
we
should
have,
like
a
a
view,
view
only
mode
or
at
least
sort
of
a
mode
that
only
allows
you
to
maybe
change
a
few
things
that
represents
the
mappings
in
a
very
condensed
way.
So
here
you
can
see
that
I'm
mapping
numerical
values
to
text
mappings
and
a
color.
I'm
also
mapping
this
null
value
to
a
text.
A
A
Then,
by
hitting
the
button
there,
I
can
open
a
modal
with
the
full
edit
experience,
and
here
I
have
first-
is
a
type,
the
type
of
kind
of
mapping.
There
are
three
types
right
now
value
mappings
that
can
map
a
value
or
or
a
numerical
value,
or
a
text
value
to
another
text,
value
and
a
color.
The
color
is
optional.
A
So
that's
why
you
can
sort
of
remove
the
color
or
set
the
color,
and
that's
why
it's
kind
of
important,
because
here
you
can
actually
assign
you
can
assign
you
can
change
the
the
display
value
of
a
numerical
value.
So
you
can
change,
one
should
be
displayed
as
up,
but
still
have
it
be
processed
by
the
threshold
numerical
kind
of
threshold,
color
rules.
So
that's
why
the
color
is
optional,
sort
of
the
same
same
thing:
the
text
is
also
optional,
because
you
can
maybe
only
want
to
map.
A
Let's
see,
I
have
another
use
another
here.
You
might
only
want
to
map
text
values
to
colors,
so
you
might
want
to
say
up
should
keep
its
color.
I
don't
want
to
change
the
I
want
to.
I
don't
want
to
change
the
text.
I
just
want
to
set
the
color
and
same
thing
here.
I
want
to
map
down
to
a
color.
I
don't
want
to
change
it,
but
you
can
anyway,
that
you
can
rearrange
things
here,
just
just
to
or
keep
it
keep
things
organized.
They
have
a
slight
imp.
A
The
ordering
slide
has
an
impact.
If
you
kind
of
place
a
range
first,
it
will
be
kind
of
looked
at
first
evaluated
first
and
the
first
thing
that
matches
will
will
be
the
one
that
kind
of
is
is
mapped,
so
the
order
does
matter.
The
other
thing
here
here
is
the
new
kind
of
special
type,
and
instead
of
having
these
magic
strings
for
for
representing
null
values,
we
have
the
special
type
where
you
can
match
on
null
values,
not
the
number
value,
which
is
a
special
value.
A
That
kind
of
results,
after
numerical,
after
numerical
expression,
has
failed
to
reduce
a
sensible
result.
So
it's
it's.
You
has
a
limited
use.
You
can
also
hear
match
on
true
and
false
values,
which
it's
also
new,
which
some
kind
of
some
some
databases
have
really
kind
of,
not
string
values.
True
or
false,
but
really
kind
of
logical
values,
true
or
false,
so
you
can
have
so
have
these
be
non-kind
of
magic
strings,
but
really
a
special
condition
here,
so
that
is
basically
it
and
then
update
button
to
trigger
the
update.
A
I
have,
I
think,
just
fix
the
bug
with.
So,
if
I
do
up
here,
it
should
rem
the
valve.
The
texture
remain.
A
Maybe
not
so
any
feedback
on
on
the
one
thing
that
I
see
that
could
potentially
be
changed
here
is
that
we
can
change
these
buttons
to
just
one
button
and
have
the
type
be
a
drop
down.
It's
a
possible
kind
of
change
that
I
didn't
think
about
until
prepping.
For
this.
B
A
B
Love
the
changes,
but
nan
is
really
unintuitive
to
me.
Maybe,
since
we've
got
the
room,
we
could
write
it.
B
C
A
C
A
Mean
all
everything
in
in
sort
of
in
the
in
the
display
names,
they're
supporting
modules
so.
A
Hey,
which
is
really
nice,
I
mean
this
is
something
you've
been
able
to
do
so
if
I'm
in
the
start
panel.
D
Yeah,
that
would
be
great.
It's
it's
interesting
to
see
how
users
are
gonna,
use
that
if
they're
actually
gonna
start
using
that,
because
if
they
do
that,
it
might
mean
we
have
to
introduce
maybe
icons
or
something
they
can
use.
What
I
was
thinking
there
is
maybe
an
easy
way.
I
can
click
on
like
type
to
organize
it,
for
example
alphabetically
the
entire
row,
so
I
don't
have
to
drag
it
myself.
Alphabetically.
C
A
Yeah,
no,
it's
a
that's
a
good
point,
sort
of
say
same
thing
with
with
with
everything
you
know
in
kefauna
I
mean
you:
could
you
could
use
the
json
kind
of
model
here
and
copy
that
so
it'll
be
a.
A
Process
but
yeah,
it's
it's
an
interesting.
E
Maybe
the
use
case
where
the
so,
if
science
correctly,
if
I
leave
the
display
text
empty,
then
the
value
will
still
be
will
be
the
original
value
right,
but
I
can
apply
a
color
to
it
that
one
is
maybe
a
little
bit
unclear,
like
maybe
the
placeholder
text
and
the
the
use
case
that
you
know
we
clear
the
text
field.
That
means
that
use
the
default
value
is
maybe
the
display
text
placeholder
there
should
be
adjusted.
Maybe
I
don't
know
just
yes.
A
No,
no,
I
agree,
I
think,
or
could
have
like
some
tool
tips
on
these
and
maybe
say
optional.
A
B
Is
this
going
to
be
ready
for
8.0
beta
1.
B
D
Me
but
the
match
label
at
the
top.
I
would
expect
that
to
say
value.
A
B
Or
maybe
value
to
match?
Because
yes,.
E
B
Agree
that
value
is
too
vague,
because
you
should
say
like
okay,
what
type
of
type
of
so
I'm
trying
to
use
normal
words
to
define
what
you
get.
Your
first
is
the
type
of
translation.
E
B
A
In
in
a
ideal
world,
this
would
be
sort
of
merged
with
thresholds,
but
the
problem
is
that
the
threshold
it
would
complicate
thresholds.
A
lot
thresholds
are
like
simple
right
now,
with
with
no
conditions
on
greater
or
less
than
they're,
just
a
miracle
sort
of
conditions,
but
there
yeah.
So
these
are
primarily
as
for
for
setting
color,
because
the
thresholds
only
operate
on
on
numerical
values,
and
this
is
for
going
to
be
mainly
for
text
value,
coloring
text
or
assigning
text
values
for
numerical
values.
D
If
you
almost
lean
on
what
deanna
says,
you
can
almost
write
it
as
like
an
if
statement
if
value
equals
display.
Yes,.
A
E
Also,
I
think
it's
literally
like
for
for,
like
a
maybe
like
a
programmer's
intuitive,
maybe
but
like
the
idea
that
the
value
and
the
special
are
two
different
things.
You
know
I
I
would
be
willing
to
bet
that
some
people
will
write
null
into
the
value
field
and
then
be
confused
that
it
doesn't
work.
I
don't
offer
any
kind
of
solution
there.
I
don't
know
it's.
C
D
E
A
A
Okay,
so
look
at
the
number
and
then
there's
null
plus
not
a
number,
which
is
like
capturing
everything
that
might
be
like
a
wrong
or
missing,
can't
can't
display
kind
of
thing,
yeah
and
then
there's
true
false,
empty.
A
I
think
I
think
it's
really
I
mean
and
really
useful
for
so
many
panels,
like
just
not
just
these
new
panels
but
yeah.
It's
that
to
be
able
to
just
more
easily
color
string
values
is
really
powerful.
A
B
A
B
Yeah
when
I
see
that
I
want
to
enter
when
I
see
this
kind
of
input,
I
want
to
enter
a
statement
kind
of
like
we
do
for
the
old
alerts
like
when
you
know
like
when,
when
it's
this
value
show
me
change
it
to
this,
so
so
yeah,
if
you
can,
could
make
it
more
more
like
natural
language,
I
think
that
that
would
help
the
beginners.
B
E
A
A
A
A
Left
bye.