►
From YouTube: Dropdown Migration Example
Description
A (mostly) unedited example of a dropdown migration. From picking up the issue, to creating the MR and getting the pipeline passing.
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/106173
A
A
I
want
to
point
out
something
that
tripped
me
up.
First,
maybe
it'll
trip
you
up.
Maybe
you
already
know
about
this,
so
these
are
migrating
from
GL
drop
down
to
GL
collapsible
list
box.
This
collapsible
bit
through
me
a
bit
because
it's
just
called
list
box
in
in
GitHub
UI.
What's
the
difference
between
a
list
box
and
a
collapsible
list
box?
Absolutely
nothing
we're
in
the
process
of
renaming
your
list
box
to
GL
collapsible
list
box.
A
All
we've
done
so
far
is
basically
export
it
as
an
alias
for
GLS
box
right.
Okay,
that
out
of
the
way
this
is
the
list
box.
It's
a
drop
down.
It's
not
massively
complicated
anyway.
Moving
on.
Let's
pick
one
from
the
list,
this
one
is
in
jira,
Connect,
I'm,
all
right,
actually
reconnect
I've,
never
set
that
up.
I,
don't
know
what
that
is.
I'm
just
gonna
pick
something
else:
JavaScript
branches
components
or
that
one
looks
better.
Let's
do
this
one
so
open
it
up,
assign
yourself
and
let's
try
and
find
it.
A
A
A
A
No
okay,
let's
get
injected
okay.
This
looks
pretty
simple:
let's
try
and
find
where
it
is
easiest
way
to
do
this.
This
is
a
H1
in
there
like
that,
and
then
we'll
know
when
we
found
it,
because
there
will
be
a
big
thing
that
says
banana,
but
if
you
have
a
scripts
branches
components.
A
Branches
should
be
hit
there.
We
are
banana
right
good,
so
let's
get
rid
of
that
now
good
thing
to
do
as
well.
If
I
do
Style
scoped
Dot
go
display,
Flex.
A
A
That's
interesting,
so
there
must
be
an
F
on
this
there
is,
it
should
show
a
drop
down
return.
This
dot
mode
is
overview
mode
okay,
so
this
only
shows
up
when
we
are
on
this
mode
and
there's
your
drop
down,
and
it's
just
these
three
things.
Okay,
that's
pretty
simple!
A
A
A
A
A
A
Couple
that
list
box
is
that
right,
let's
just
copy
that
yep
put
it
in
here
as
well,
and
then
so
we
can
ignore
that
search
box
and
I'm
just
going
to
do
GL
collapse.
All
this
box.
A
A
Full
of
options
right
and
what
that
does
leave
it
in
for
now,
total
text
is.
A
A
I
guess
we
can
do
selected
key
I,
don't
know
if
that'll
update
in
time.
Let's
see
what
happens,
we
should
have
two
identical
ones
next
to
each
other.
Now.
A
A
A
A
A
A
A
Is
that
possible
can
I
do
this
with
collapsible
this
box?
Let
me
see.
A
A
What
am
I
doing
this
is
not
real
JavaScript.
Okay,
let
me
just
okay:
let's
talk
entries
this
stuff,
so
options
for
pressure
is
on
I
feel
like
I'm
in
some
kind
of
bizarre
interview.
It's
because
it's
an
array
of
arrays
right.
So
that's
not
what
I
want
to
do.
A
A
Yes,
okay,
good
right:
where
are
we
here?
So
options
are
rare
them
put
you
in.
A
Nearly
there
nearly
there,
oh
we
passed
it.
Let's
see:
View
collapsible
this
box,
all
right.
A
A
A
A
The
array
level
by
attribute
value
for
the
toggle
button,
providing
the
string
of
ID
separated
by
space
I,
don't
know
what
that
means.
The
attribute
value
for
the
toggle
button.
Okay,
right,
yeah
I,
see
that
I
guess
the
total
ones
are.
A
What
is
the
default
on
that
and
the
default
is
nothing
okay,
I,
don't
know
enough
about
this.
It's
got
me
a
shout
with
me
for
doing
this,
but
I
don't
know
I'm
just
going
to
delete
it.
We'll
see
right.
What
does
right
do
right
around
the
list
Box
menu
with
respect
to
the
toggle
button?
Do
we
want
to
do
that.
A
No,
this
is
the
old
one.
This
is
the
new
one.
Let's
keep
it
the
same.
Let's
get
rid
of
that
too
know.
These
should
be
exactly
the
same.
A
I'll
just
create
I'll,
just
update
it.
Sorry,
oh
yeah,
there
we
go,
we
just
hadn't
refreshed,
they
are
doing
exactly
the
same
thing
now
they
both
look
wonderful
and
we
can
now
delete
the
old
one
and
then
go
back
and
delete
everything
we
no
longer
need.
So
we're
gonna
need
your
drop
down
on
YouTube
item.
A
A
A
A
Good
good
good
good
and
a
book.
A
A
A
A
A
Okay,
let's
double
check
this
GL
drop
downs,
you'll
drop,
an
item
gone
collapsible
this
box
and
such
now.
Let's
stay
as
close.
All
this
box
has
replaced
these
two
same
here.
We
need
a
new
sort
of
options
array
because
we
can't
use
the
V4
like
we
used
to
the
we've
removed
all
of
this
stuff,
replaced
it
with
this
stuff
and
tied
everything
back
together.
We've
checked
everything
worked,
that's
good
edit
and
screenshots.
A
A
A
A
A
A
A
Okay,
all
the
stuff
I
do
now
is
wait
for
the
the
pipeline
to
finish,
and-
and
this
is
how
how
you
do
it-
that
was
pretty
simple,
pretty
quick,
okay,
so
I
just
wanted
to
jump
back
in
because
we
do
have
some
failures
and
I
want
to
show
you
the
whole
thing
to
show
you
that
you
can
do
everything
that
finding
the
issue
doing
the
work,
opening
the
merge
requests
and
fixing
the
the
test
failures
in,
let's
say
less
than
an
hour
right,
so
less
than
an
hour
of
actual
work,
you
need
the
pipeline
to
run.
A
So
we
have
a
failure.
It's
an
aspect.
We
expected
that
so,
let's
open
up
a
pipeline
head
over
to
the
tests,
tab
two
failed
aspect:
tests
and
11
failed
aspect:
ee
tests,
let's
stick
with
these
ones,
first
Okay!
So
we've
got
these
two,
both
in
Project
branches,
spec,
that's
good!
That's
where
we
would
expect
them
to
be.
A
A
So
if
I
do
bin
effect
and
then
nope,
not
sorts
of
wrenches
by
now,
I
wanna
copy,
the
relative
path
of
that
and
then
do
line
one
three
four
for
that
describe
block
should
get
the
same
two
failures.
A
While
that
is
running
in
the
background,
let's
see
if
we
can
figure
out
why
this
is
failing.
So
what
does
it
do?
Visit
the
page
clicks
the
update
button,
update
date
button
and
then
within
here
find
a
paragraph
called
name
and
click
on
that
and
then
expect
it
to
move
it
change
the
page.
So
I.
Imagine
it's
something
around
here:
either
this
isn't
the
button.
This
has
changed
so
I
think
we
did
migrate.
That
or
this
is
somewhere
else.
But
let's
have
a
look
so.
A
A
A
A
A
Hopefully
it
finds
that
and
clicks
it.
In
the
meantime,
let's
have
a
look
at
the
11
failed
ee
jobs.
A
A
I'm
going
to
ignore
this,
oh,
this
is
failing
again.
Why
is
it
still
failing.
A
Oh
it's
because
we
include
a
span
with
a
span.
We
that's,
we
shouldn't
do
that.
We
should
update
that.
But
for
now
what
we
can
do
is
make
our
test
more
robust
as
well
to
look
for
the
first
one
and
click
that
right.
A
Let's
run
that
again,
this
should
pass
so
yeah.
We
shouldn't
have
a
span
inside
it
span.
Let's
see,
I've
got
this
open
here
we
do.
We
have
a
span
inside
of
span.
A
A
A
I
think
we
are
now
ready
for
a
review,
because
this
is.
A
A
This
is
how
easy
they
are.
You
know,
we've
done
everything
end
to
end
in
I'm,
not
actually
sure
how
long
maybe
half
an
hour
to
when
I
was
worth
of
work
and
it's
in
there
we've
got
to
go
through
the
review
rounds,
yet
there
might
be
some
changes
that
come
through
as
a
result
of
that.
But
you
get
the
point
right,
they're,
not.
A
They
know
a
huge
time
sink,
that
the
hardest
thing
is
making
sure
the
tests
pass,
and
this
was
relatively
easy
this
time,
but
yeah
just
be
on
the
lookout
for
this.
If
it's
looking
for
a
paragraph
element-
and
we
should
be
looking
for
a
span-
but
you
know
hopefully
this
video
helps,
it
shows
you
how
to
debug
things
when
they
go
wrong.
It
shows
you
what
to
do
where
to
look
all
that
sort
of
thing
and
if
ever
you
are
stuck,
and
you
have
no
idea
what
to
do
come
come
speak
to
the
foundations
team.