►
From YouTube: Terraform State Changed diff - Design review with Matt
Description
Reviewing the first design of the Terraform State Changes tab with the team's BE engineer Matt Kasa. The review is focused on 3 problems: data grouping, display and interactions, information design and display and UI design choices, such as the design components, interaction patterns, iconography and colour use.
A
A
We
could
group
the
items
by
created,
updated
deleted
or
we
could
show
all
the
individual
resources
and
then
indicate
whether
they
have
been
updated,
created,
updated
or
deleted.
I'll.
Give
you
more
context
while
showing
this
is
problem
number
one
and
problem
number
two
is:
how
do
we
show
the
diff,
the
actual
diff
just
for
reference
for
the
team?
We've
been
having
a
discussion
in
the
issue
where
you
did
an
initial
poc
of
how
the
diffs
would
be
shown.
B
Right
so
this
would
be
more
of
a
line-by-line
diff
and
the
problem
I
really
found
with
it.
Was
it's
really
difficult
to
know
what
resource
this
change
is
actually
occurring
to,
because
you
don't
really
get
enough
context
lines
to
see
the
name
of
the
resource?
You
have
the
the
number
of
the
resource
in
the
in
the
state
file
like
the
index
in
the
array,
but
you
don't
have
the
name.
The
name
is
a
little
bit
higher
up.
B
A
And
the
primary
the
primary
use
case,
at
least
when
I
spoke
to
users-
was
that
they
want
to
see
changes.
Well,
they
want
to
see
for
specific
resources,
so
they
either
want
to
find
a
specific
resource
first
and
then
see
the
changes
or
types
of
resources.
So
it's
really
important
for
them
to
see.
So.
Your
second
suggestion
was
to
group
by
type
of
change
and
then
resource
name,
somehow
parse
it
from
the
file,
and
then
these
would
be
the
changes.
A
B
No,
so
I
was
kind
of
trying
to
stick
with
the
kind
of
the
diff
output
of
plus
means
it's
being
added
and
minus
means
it's
being
deleted
yeah.
So
this
was
intended
to
be
more
of
a
diffu.
I
just
kind
of
did
this
in
the
markdown
in
the
in
the
issue.
Comment.
We'd
probably
want
to
have
the
styling
to
be
more,
like
I
guess,
like
a
code
snippet
or
or
like
the
diff
view
on
mr,
but
you
would
just
have
a
rather
than
having
the
diff
view
split
out
by
file.
B
The
file
would
be
the
like.
The
file
name
would
be
the
resource
type
and
name,
and
then
we
could
like.
We
could
optionally
group
them
under
the
created,
updated
deleted,
I'm
not
sure
if
it's
it
might
be
sufficient
to
just
see
that
everything
about
a
resource
is
new
and
to
know
that
it's
being
created,
you
know
we,
we
kind
of
show
that,
with
in
the
in
the
mrdif
view
of
files,
we
kind
of
show
you
when
a
file
is
being
completely
added
or
completely
deleted.
B
I
actually
don't
remember
offhand
what
it
looks
like
me
see
with
a
completely
new
file
so
with
a
completely
new
file.
It
the
whole.
B
Like
all
of
the
lines
of
code
are
green
and
the
name
of
the
file
there's
a
a
statistic,
summary
plus
number
of
lines,
minus
number
of
lines,
and
so
it's
just
plus
a
number
but
minus
zero.
B
B
And
actually,
if
you
look
at
the
changes,
if
you
click
the
little
tree
view
next,
to
compare
up
a
little
bit
through.
B
B
A
A
As
you
can
see
the
comparisons
on
the
top
we
and
for
mvc,
we
can
only
choose
two
consecutive
versions.
So
if
you
would
change
change
the
version,
the
other
one
would
be
automatically
changed.
A
Then
this
is
exact
repetition
from
here.
Actually
not
here.
A
A
A
B
A
A
And
once
you
select
one
of
them,
it
gets
filtered,
no,
it
scrolls
actually
because
it's
the
experience
in
vmr,
if
I
were
to
select.
A
A
So
this
pattern
does
not
exist
and
then
I
use
the
pattern
that
does
exist.
So
in
this
case
I
used
the
summary
we
have
in
limar
page.
So
here
we
have
in
the
mark
page.
Sorry,
like
four
files
were
affected,
that
many
things
were
added
that
many
things
were
removed.
A
So
I
also
played
around
with
this,
which
I
don't
prefer,
but
in
this
case
we
have
filters
an
actual
drop
down
where
you
see
all
changes
and
you
would
select,
created,
updated
and
deleted,
or
the
filter
would
be
positioned
next
to
resources.
A
A
And
third
option
the
one
I'm
currently
working
on
and
it's
the
most
complex,
but
I
think
quite
promising
if
we
brainstorm
on
how
we
can
evolve
it.
I
have
two
versions
of
this.
A
One
is
to
I
have
not
applied
filtering
here
yet,
but
it
would
have
some
filtering
to
group
all
the
created
to
under
an
expandable
component,
and
then
you
would
see
the
resource
name
and
what
changed
resource
name
and
one
changed,
and
then
the
same
here.
But
I
wanted
to
speak
about
this
version
more,
so
this
is
kind
of
using
the
diff
of
vmr,
where
you
see
all
the
lines
of
code.
Basically,
you
see
only
the
changed
lines.
I
think
this
is
a
better
example.
A
A
And
then
you
could
also
filter
by
updated,
deleted
and
created.
A
B
B
Like
it's
not
something
that
I
have
control
over,
so
I
can't
really
affect
the
order,
since
terraform
is
the
one
that
serializes
to
json
so
like
I,
I,
as
a
user,
really
never
interact
with
that,
it's
useful
for
me
to
be
able
to
like
get
the
whole
json
raw.
Potentially
I
want
a
script.
You
know,
use
a
script
to
parse
it
or
do
something.
A
B
It
sometimes
you
know
I
might
want
to
download
it
and
use
it
locally.
I
might
want
to,
you
know,
have
the
whole
thing,
but
I
don't
think
I
I
don't
think
I
would
be.
I
guess
concerned
with
like
where
a
specific
resource
is
in
the
file
since
I,
since
I
can't
control
that.
B
That
being
said,
I
I
like
the
view
of
having
kind
of
the
diff
with
the
the
resource
type
and
name,
but
I
think
you
have
that
in
all
three
options,
it's
like
the
resource,
type
and
name
is
very
close
to
the
attributes
that
are
changing.
So
you
kind
of
I
think
you
solve
that
with
all
of
them.
A
Yeah,
so
the
difference
is
in
the
first
one
and
the
second
one
the
resource
is
on
top
and
then
you
filter
by
created,
updated
and
deleted
in
the
third.
The
difference
is
that
you
view
them
grouped
by
type
of
change
here,
but
all
the
resources
that
belong
in
that
type
of
group.
This
could
be
expandable
and
collapsible
as
well
the
resource,
but
it's
like
two
levels
of
indentation
rather
than
filtering.
A
B
So
I
wonder
if
that's
maybe
like,
I
know
that
that's
kind
of
what
I
wanted
initially,
but
I'm
wondering
if
maybe
that's
not
the
right,
maybe
that's
too
much
like
indirection
before
you
get
to
the
information.
So
I
wonder,
if
is
it
your
first
one
that
they
they're
treated
like
files
more
yeah
this
one
so.
B
That's
the
thing
is
with
with
some
versions
like
especially
your
for
your
first
and
second
ones,
a
lot,
thousands
right,
probably
thousands
of
resources.
B
In
following
changes,
probably
less,
you
know
in
the
in
the
tens
to
hundreds,
maybe
just
one,
you
know
a
lot
of
times.
It
might
be
just
one
one
or
two,
so
it's
like
we
kind
of
have
to
design
for
both
the
thing
that
concerns
me
with
the
expanding
collapsing
ones
is
in
the
in
the
case
of
thousands.
B
B
Stuff
from
the
mr,
the
mr
that
tree
that
we
just
looked
at
it,
has
a
filter,
it
has
a
search
on
it
and
it
also
shows
you
what
things
are
new,
what
things
are
updated,
what
things
are
removed?
B
B
B
A
A
You
get
the
scrolling
and
a
search.
So
that's
why
I'm
wondering
if
it
would
be
a
duplication
to
have
a
search
on
the
left
and
within
the
main
diff
page,
but
that's
a
detail.
B
B
A
A
Well,
it's
very
similar
to
the
comic
page,
so
here
we
would
have
research
type.
We
could
group
all
the
resources
of
that
resource
type
under.
A
A
And
search
as
well
and
then
I
have
to
decide
whether
two
searches
are
relevant,
yeah
and
then
have
one
entry
per
resource
here.
So
I
wanna
widget,
sorry,
okay.
A
B
B
A
A
A
A
A
You
said
already
that
you
probably
don't
really
care
about
the
things
that
proceeded
and
follow
the
change,
and
you
don't
really
care
where
you
are
in
the
state
so
yeah
and
that's
why
you
proposed
this.
Actually
that
I
only
care
about
these
things
that
I
have
configured
for
this
new
resource
and
were
implemented.
B
B
I
think
the
interesting
thing
for
me
is
that
it
may
actually
end
up
being
kind
of
a
hybrid
of
these,
so
the
the
one
where
it
has
the
brackets
and
the
resources
and
122
and
instances.
So
that's
an
artifact
of
of
actually
parsing
the
json
and
making
a
line
with
all
of
the
hierarchy
in
one
line.
So.
B
A
A
A
A
A
B
B
B
And
then
yeah,
I
think
the
the
question
then
becomes
if
we
need
like
if
we
need
or
want
line
numbers
to
correspond
to
the
actual
line
numbers
in
the
two
json
files.
B
A
A
I
think
something
yeah
to
do
a
bit
of
problem,
validation
or
solution
validation.
I
don't
know
what
it
is
in
that
case.
B
Yeah
like,
on
the
one
hand,
they
might
say,
like
look
at
look
at
digitalocean,
droplet
matte
case
attempt
disk.
A
A
A
Yeah,
okay:
I
will
share
this
video
with
the
team
and
I
will
share
a
shorter
version.
I
guess
if
they
just
want
to
see
the
designs.
Another
conversation
and
the
last
thing
that
I
mentioned
and
it's
not
by
any
means
as
important,
but
I
was
wondering
that's
a
pure
design
thing.
A
B
A
A
Well,
we
would
use
just
basic,
like
networking
change
database
change
the
resource
like
cloud
resource
change,
but
that
was
my
second
q
question.
First,
is
no!
I
have
three
yeah
do.
Do
you
want
to
do
dynamic?
Do
we
want
to
do
color
coding?
A
Does
it
help
or
do
we
want
to
use
like
the
same
icon,
no
color
coding
or
just
basic
file,
icon,
no
color
coding,
but
that's
after
we
figure
out
the
the
other
problems.
I'm
gonna
leave
you
think
about
it.
B
I
think
I
like
the
icons,
I
think
the
color
coding
on
the
name
is
probably
not
necessary
as
long
as
we're
showing
either
the
the
badge
or
in
the
case.
If
we
follow
the
mr
pattern,
I
think
they
show
it
us
like
the
number
of
what
number
of
new
lines
number
of
deleted
lines.
A
B
B
Icon
wise,
it's,
it
would
be
a
nice
to
have
it's
probably
a
lot
to
implement
for
nice
to
have,
but
I
would
still
like
to
have
it
it's
just
like,
like
you
said
just
if
we
could
classify
changes
by
type
or
by
provider,
I
think
that
would
be
nice.
I
know
that
we
have
a
you
know.
We
display
a
little.
You
know
a
little
whale
icon
for
a
docker
file.
We
display
a
little
tanooki
for
get
lab,
ci
ammo,
so
we
kind
of
have
a
not
to
say
a.
A
B
But
we
have
a
a
pre-existing
yeah
and
we
show
a
little
view
icon
for
view
for
view
files.
B
B
B
A
Anyway,
cool,
so
I'm
taking
away,
we
could
do
the
icons,
but
it's
too
much
work,
but
we
could
do
some
sort
of
iconography.
Maybe
that
could.
B
A
B
B
A
A
Cool
so
a
bit
more
discovery
for
the
content,
and
I
guess
we're
almost
done
for
it.
Let
me
stop.