►
From YouTube: Pajamas UI Kit badge migration Figma walkthrough
Description
Walkthrough of migrating the Single Stat component to use our updated badge component in Figma.
https://gitlab.com/gitlab-org/gitlab-services/design.gitlab.com/-/issues/1372
A
Hello:
everyone
dan
mitzi
harris
here
product
designer
at
git,
lab
recently
in
the
pyjamas
ui
kit.
We
refactored
the
refactored
the
badge
component.
A
I
appreciate
that
was
a
bit
of
a
weird
jumble,
but
hopefully
it
will
make
sense
as
as
we
go
forward
and
so
for
this
one.
I'm
going
to
look
at
the
single
single
stat
component
see
I
can
see
here.
Sometimes
extra
information
is
displayed
in
a
badge,
so
we'll
be
updating
this
single
stack
component
to
use
our
new
batch
in
the
data
visualization
file
single
stack
page.
A
So
I'm
gonna
have
a
look
at
some
of
these
examples,
see
how
they're
constructed
first,
because
that
might
give
us
some
clues
as
to
what's
going
to
go
on
here.
A
Lots
of
auto
layouts
going
on
here,
looks
like
we're
using
this
wrapper
for
some
of
the
spacing.
So
I'll
have
to
be
be
aware
of
that
bottom
padding's,
coming
in
from
here.
A
Might
might
see
some
weird
behavior
in
the
interaction
between
them,
but
it
all
looks
all
looks
like
it's
gonna
be
okay.
So
before
I
do
anything,
I'm
gonna
use
a
plug-in
called
visual
difference
just
to
take
a
snapshot
of
everything.
That's
so
when
I
make
changes
what
it'll
do
is
compare
it
to
a
visual
diff
between
what
it
was
at
the
start
and
any
changes
I
make.
I
can
make
sure
I'm
not
introducing
any
extra
regressions
and
it
is
a
one
for
one
replacement.
A
So
that's
all
done.
Let's
get
started
so
I'll
start
with
the
base
component.
I'll
move
my
face,
like
I
said,
we've
got
a
badge
in
here.
A
So
change
the
variant
to
neutral
looks
like
most
of
the
other
stuff
is
come
through.
So
let's
just
check,
icon
icon
enable
by
default
that's
fine.
We
will
turn
on
our
icon.
This
is
a
12.
A
A
A
A
Gonna
check
here
to
make
sure
that
it
has
used
the
the
new
badge.
Sometimes
because
we
didn't
delete
the
old
component,
it
will
retain
the
deprecated
one.
All
of
that
looks
like
it's
updated.
Okay,
let's
just.
A
A
So
to
test,
what's
going
on,
I'm
gonna
try
and
make
a
couple
of
versions
of
these
two
single
stats,
try
and
manipulate
them
a
little
bit
and
see
if
I
still
see
the
see
the
challenges
and
that
we've
seen
in
the
other
file
and
hopefully
it'll,
give
us
some
clues
as
to
what's
happening
or
if
I
can't
work
out
what's
happening,
give
more
confidence
and
that
merging
medium
won't
break
it.
A
A
Nice
I'll
do
the
same
same
for
these
as
well
so
danger.
Oh,
that's
interesting!
That
color
hasn't
updated.
That
might.
That
might
be
why
there
might
be
some
other
overrides
that
have
happened,
which
is
why
that
didn't
didn't
do
what
I
was
supposed
to
do,
but
I'll
just
keep
it
like
that,
and
this
was
changed
to
text
and
this
one
I'll
change
the
icon
to.
A
A
Watch
for
changes-
I'm
seeing
this
change
here
and
here
here
here
here,
but
when
I
change
the
when
I've
changed
this
variant,
it
hasn't
so
I'm
going
to
undo
reset
some
overrides.
A
A
A
A
A
Cool,
so
all
of
these
needs
updating,
essentially,
and
that's
why
that's
why
it
wasn't
wasn't
behaving
as
it
should
have
been
no
problem
at
all.
A
What's
happened
is
because
it's
the
stiller
component,
it
hasn't
it
hasn't
updated
everywhere,
so
where
the
styles
have
stayed
the
same,
it's
still
using
the
deprecated
version,
so
we'll
just
quickly
go
through
and
update
all
of
these,
and
thankfully
we've
got
the
visual
diff
to
help
us
recreate
them
exactly
so.
That's
the
top
percent
icon
is
topic
source
and
it
should
be
a
down.
I'm
going
to
sell
changes
just
to
be
sure.
A
A
A
A
A
A
With
the
e
yeah
find
oh
cool,
so
we
have
some
hidden
ones
here.
I
will
update
them,
but
I
won't
update
the
content
in
them
because
they
are
hidden,
but
just
in
case
anyone
copies
and
pastes
across
and
just
one
more
check.
A
Nice
no
layers
match
that's
everything.
Migrated
run
the
visual
difference.
Compare
all
that
is
happy
nice.
So
that's
how
I've
been
approaching
these
and
sorry
it
took
a
little
bit
longer
than
I
hoped
it
would,
but
I
hope
you
I
hope
it
gave
you
some
ideas
for
some
things
that
you
could
include
in
your
figma
workflow,
but
most
of
all,
I
hope
it
encourages
you
to
contribute
to
our
figma
library
and
a
good
place
to
start
could
be
performing.
One
of
these
badge
migrations
feel
free
to
reach
out
in
slack.