Convert the structure of Web IDE left sidebar HTML

This is an incremental refactoring to support making the
left sidebar collapsible.

It includes changes to be consistent with the changes
to the CollapsibleSidebar done in
!26043
Status Job ID Name Coverage
  Prepare
passed #484346504
docker gitlab-org
build-qa-image

00:05:53

passed #484346497
gitlab-org
compile-assets pull-cache

00:08:24

passed #484346499
gitlab-org
compile-assets pull-cache as-if-foss

00:08:38

passed #484346495
docker gitlab-org
gitlab:assets:compile pull-cache

00:29:31

passed #484346510
gitlab-org
retrieve-tests-metadata

00:01:10

manual #484346506
gitlab-org allowed to fail manual
review-cleanup
passed #484346508
gitlab-org
review-stop-failed-deployment

00:01:21

passed #484346501
gitlab-org
setup-test-env

00:09:08

 
  Fixtures
passed #484346511
gitlab-org
frontend-fixtures

00:19:58

passed #484346512
gitlab-org
frontend-fixtures-as-if-foss

00:07:59

 
  Test
passed #484346526
gitlab-org
code_quality

00:16:35

passed #484346691
gitlab-org
danger-review

00:05:24

passed #484346593
gitlab-org
db:check-schema

00:04:21

passed #484346594
gitlab-org
db:migrate-from-v11.11.0

00:12:35

passed #484346592
gitlab-org
db:migrate:reset

00:05:08

passed #484346595
gitlab-org
db:rollback

00:05:38

passed #484346690
gitlab-org
db:rollback geo

00:04:45

failed #484346528
gitlab-org allowed to fail
dependency_scanning

00:01:17

passed #484346531
gitlab-org
downtime_check

00:05:02

passed #484346596
gitlab-org
gitlab:setup

00:04:50

passed #484346692
gitlab-org
gitlab_git_test

00:01:05

passed #484346513
gitlab-org
graphql-reference-verify

00:04:41

passed #484346516
gitlab-org
jest 1/2

00:09:49

passed #484346517
gitlab-org
jest 2/2

00:10:42

passed #484346518
gitlab-org
jest-as-if-foss

00:14:01

passed #484346514
gitlab-org
karma

00:10:19

66.97%
passed #484346515
gitlab-org
karma-as-if-foss

00:07:42

passed #484346521
gitlab-org
memory-on-boot

00:07:52

passed #484346520
gitlab-org
memory-static

00:04:22

passed #484346522
gitlab-org
qa:internal

00:02:46

passed #484346523
gitlab-org
qa:internal-as-if-foss

00:02:32

passed #484346524
gitlab-org
qa:selectors

00:02:24

passed #484346525
gitlab-org
qa:selectors-as-if-foss

00:02:36

passed #484346591
gitlab-org
rspec fast_spec_helper

00:05:42

passed #484346559
gitlab-org
rspec integration pg9 1/8

00:17:23

passed #484346560
gitlab-org
rspec integration pg9 2/8

00:19:31

passed #484346561
gitlab-org
rspec integration pg9 3/8

00:20:41

passed #484346562
gitlab-org
rspec integration pg9 4/8

00:18:01

passed #484346563
gitlab-org
rspec integration pg9 5/8

00:20:05

passed #484346564
gitlab-org
rspec integration pg9 6/8

00:18:14

passed #484346565
gitlab-org
rspec integration pg9 7/8

00:20:05

passed #484346566
gitlab-org
rspec integration pg9 8/8

00:18:47

passed #484346624
gitlab-org
rspec integration pg9-as-if-foss 1/8

00:16:01

passed #484346625
gitlab-org
rspec integration pg9-as-if-foss 2/8

00:18:10

passed #484346626
gitlab-org
rspec integration pg9-as-if-foss 3/8

00:16:17

passed #484346627
gitlab-org
rspec integration pg9-as-if-foss 4/8

00:18:49

passed #484346628
gitlab-org
rspec integration pg9-as-if-foss 5/8

00:16:06

passed #484346629
gitlab-org
rspec integration pg9-as-if-foss 6/8

00:17:23

passed #484346630
gitlab-org
rspec integration pg9-as-if-foss 7/8

00:16:10

passed #484346631
gitlab-org
rspec integration pg9-as-if-foss 8/8

00:16:41

passed #484346532
gitlab-org
rspec migration pg9 1/5

00:11:41

passed #484346533
gitlab-org
rspec migration pg9 2/5

00:16:21

passed #484346534
gitlab-org
rspec migration pg9 3/5

00:17:55

passed #484346535
gitlab-org
rspec migration pg9 4/5

00:16:27

passed #484346536
gitlab-org
rspec migration pg9 5/5

00:20:18

passed #484346597
gitlab-org
rspec migration pg9-as-if-foss 1/5

00:11:17

passed #484346598
gitlab-org
rspec migration pg9-as-if-foss 2/5

00:16:18

passed #484346599
gitlab-org
rspec migration pg9-as-if-foss 3/5

00:16:27

passed #484346600
gitlab-org
rspec migration pg9-as-if-foss 4/5

00:15:10

passed #484346601
gitlab-org
rspec migration pg9-as-if-foss 5/5

00:19:06

passed #484346567
gitlab-org
rspec system pg9 1/24

00:15:12

passed #484346576
gitlab-org
rspec system pg9 10/24

00:17:00

passed #484346577
gitlab-org
rspec system pg9 11/24

00:16:29

passed #484346578
gitlab-org
rspec system pg9 12/24

00:17:43

passed #484346579
gitlab-org
rspec system pg9 13/24

00:19:12

passed #484346580
gitlab-org
rspec system pg9 14/24

00:18:20

passed #484346581
gitlab-org
rspec system pg9 15/24

00:17:29

passed #484346582
gitlab-org
rspec system pg9 16/24

00:17:26

passed #484346583
gitlab-org
rspec system pg9 17/24

00:15:58

passed #484346584
gitlab-org
rspec system pg9 18/24

00:18:15

passed #484346585
gitlab-org
rspec system pg9 19/24

00:17:59

passed #484346568
gitlab-org
rspec system pg9 2/24

00:14:35

passed #484346586
gitlab-org
rspec system pg9 20/24

00:19:53

passed #484346587
gitlab-org
rspec system pg9 21/24

00:15:23

passed #484346588
gitlab-org
rspec system pg9 22/24

00:17:25

passed #484346589
gitlab-org
rspec system pg9 23/24

00:17:43

passed #484346590
gitlab-org
rspec system pg9 24/24

00:18:01

passed #484346569
gitlab-org
rspec system pg9 3/24

00:16:48

passed #484346570
gitlab-org
rspec system pg9 4/24

00:16:44

passed #484346571
gitlab-org
rspec system pg9 5/24

00:16:15

passed #484346572
gitlab-org
rspec system pg9 6/24

00:17:16

passed #484346573
gitlab-org
rspec system pg9 7/24

00:15:11

passed #484346574
gitlab-org
rspec system pg9 8/24

00:17:31

passed #484346575
gitlab-org
rspec system pg9 9/24

00:19:48

passed #484346632
gitlab-org
rspec system pg9-as-if-foss 1/24

00:13:54

passed #484346641
gitlab-org
rspec system pg9-as-if-foss 10/24

00:16:03

passed #484346642
gitlab-org
rspec system pg9-as-if-foss 11/24

00:13:13

passed #484346643
gitlab-org
rspec system pg9-as-if-foss 12/24

00:16:44

passed #484346644
gitlab-org
rspec system pg9-as-if-foss 13/24

00:18:25

passed #484346645
gitlab-org
rspec system pg9-as-if-foss 14/24

00:14:41

passed #484346646
gitlab-org
rspec system pg9-as-if-foss 15/24

00:16:39

passed #484346647
gitlab-org
rspec system pg9-as-if-foss 16/24

00:16:02

passed #484346648
gitlab-org
rspec system pg9-as-if-foss 17/24

00:15:45

passed #484346649
gitlab-org
rspec system pg9-as-if-foss 18/24

00:17:08

passed #484346650
gitlab-org
rspec system pg9-as-if-foss 19/24

00:19:10

passed #484346633
gitlab-org
rspec system pg9-as-if-foss 2/24

00:17:36

passed #484346651
gitlab-org
rspec system pg9-as-if-foss 20/24

00:17:24

passed #484346652
gitlab-org
rspec system pg9-as-if-foss 21/24

00:14:34

passed #484346653
gitlab-org
rspec system pg9-as-if-foss 22/24

00:16:39

passed #484346654
gitlab-org
rspec system pg9-as-if-foss 23/24

00:17:42

passed #484346655
gitlab-org
rspec system pg9-as-if-foss 24/24

00:16:52

passed #484346634
gitlab-org
rspec system pg9-as-if-foss 3/24

00:17:07

passed #484346635
gitlab-org
rspec system pg9-as-if-foss 4/24

00:15:51

passed #484346636
gitlab-org
rspec system pg9-as-if-foss 5/24

00:16:48

passed #484346637
gitlab-org
rspec system pg9-as-if-foss 6/24

00:16:57

passed #484346638
gitlab-org
rspec system pg9-as-if-foss 7/24

00:15:49

passed #484346639
gitlab-org
rspec system pg9-as-if-foss 8/24

00:14:38

passed #484346640
gitlab-org
rspec system pg9-as-if-foss 9/24

00:15:46

passed #484346537
gitlab-org
rspec unit pg9 1/20

00:24:57

passed #484346547
gitlab-org
rspec unit pg9 10/20

00:18:49

passed #484346548
gitlab-org
rspec unit pg9 11/20

00:19:07

passed #484346549
gitlab-org
rspec unit pg9 12/20

00:18:22

passed #484346550
gitlab-org
rspec unit pg9 13/20

00:18:38

passed #484346551
gitlab-org
rspec unit pg9 14/20

00:18:43

passed #484346552
gitlab-org
rspec unit pg9 15/20

00:19:35

passed #484346553
gitlab-org
rspec unit pg9 16/20

00:17:52

passed #484346555
gitlab-org
rspec unit pg9 17/20

00:19:39

passed #484346556
gitlab-org
rspec unit pg9 18/20

00:18:58

passed #484346557
gitlab-org
rspec unit pg9 19/20

00:18:25

passed #484346538
gitlab-org
rspec unit pg9 2/20

00:16:34

passed #484346558
gitlab-org
rspec unit pg9 20/20

00:19:03

passed #484346539
gitlab-org
rspec unit pg9 3/20

00:16:16

passed #484346540
gitlab-org
rspec unit pg9 4/20

00:19:00

passed #484346541
gitlab-org
rspec unit pg9 5/20

00:16:56

passed #484346542
gitlab-org
rspec unit pg9 6/20

00:20:08

passed #484346543
gitlab-org
rspec unit pg9 7/20

00:16:41

passed #484346544
gitlab-org
rspec unit pg9 8/20

00:18:31

passed #484346545
gitlab-org
rspec unit pg9 9/20

00:18:50

passed #484346602
gitlab-org
rspec unit pg9-as-if-foss 1/20

00:21:35

passed #484346613
gitlab-org
rspec unit pg9-as-if-foss 10/20

00:18:03

passed #484346614
gitlab-org
rspec unit pg9-as-if-foss 11/20

00:17:54

passed #484346615
gitlab-org
rspec unit pg9-as-if-foss 12/20

00:15:49

passed #484346616
gitlab-org
rspec unit pg9-as-if-foss 13/20

00:17:54

passed #484346617
gitlab-org
rspec unit pg9-as-if-foss 14/20

00:16:54

passed #484346618
gitlab-org
rspec unit pg9-as-if-foss 15/20

00:18:31

passed #484346619
gitlab-org
rspec unit pg9-as-if-foss 16/20

00:18:41

passed #484346620
gitlab-org
rspec unit pg9-as-if-foss 17/20

00:17:12

passed #484346621
gitlab-org
rspec unit pg9-as-if-foss 18/20

00:16:43

passed #484346622
gitlab-org
rspec unit pg9-as-if-foss 19/20

00:18:15

passed #484346603
gitlab-org
rspec unit pg9-as-if-foss 2/20

00:17:30

passed #484346623
gitlab-org
rspec unit pg9-as-if-foss 20/20

00:17:01

passed #484346604
gitlab-org
rspec unit pg9-as-if-foss 3/20

00:17:04

passed #484346606
gitlab-org
rspec unit pg9-as-if-foss 4/20

00:16:07

passed #484346607
gitlab-org
rspec unit pg9-as-if-foss 5/20

00:14:39

passed #484346608
gitlab-org
rspec unit pg9-as-if-foss 6/20

00:21:27

passed #484346609
gitlab-org
rspec unit pg9-as-if-foss 7/20

00:18:18

passed #484346611
gitlab-org
rspec unit pg9-as-if-foss 8/20

00:16:07

passed #484346612
gitlab-org
rspec unit pg9-as-if-foss 9/20

00:16:57

passed #484346688
gitlab-org
rspec-ee integration pg10 geo

00:10:37

passed #484346672
gitlab-org
rspec-ee integration pg9 1/4

00:15:27

passed #484346673
gitlab-org
rspec-ee integration pg9 2/4

00:17:29

passed #484346674
gitlab-org
rspec-ee integration pg9 3/4

00:16:39

passed #484346675
gitlab-org
rspec-ee integration pg9 4/4

00:17:41

passed #484346684
gitlab-org
rspec-ee integration pg9 geo

00:08:26

passed #484346656
gitlab-org
rspec-ee migration pg9 1/2

00:09:16

passed #484346657
gitlab-org
rspec-ee migration pg9 2/2

00:09:29

passed #484346689
gitlab-org
rspec-ee system pg10 geo

00:11:40

passed #484346676
gitlab-org
rspec-ee system pg9 1/6

00:18:12

passed #484346677
gitlab-org
rspec-ee system pg9 2/6

00:17:46

passed #484346678
gitlab-org
rspec-ee system pg9 3/6

00:17:28

passed #484346679
gitlab-org
rspec-ee system pg9 4/6

00:20:14

passed #484346680
gitlab-org
rspec-ee system pg9 5/6

00:18:22

passed #484346681
gitlab-org
rspec-ee system pg9 6/6

00:19:40

passed #484346685
gitlab-org
rspec-ee system pg9 geo

00:10:52

passed #484346686
gitlab-org
rspec-ee unit pg10 geo 1/2

00:17:12

passed #484346687
gitlab-org
rspec-ee unit pg10 geo 2/2

00:16:57

passed #484346658
gitlab-org
rspec-ee unit pg9 1/10

00:18:39

passed #484346671
gitlab-org
rspec-ee unit pg9 10/10

00:19:58

passed #484346659
gitlab-org
rspec-ee unit pg9 2/10

00:18:59

passed #484346661
gitlab-org
rspec-ee unit pg9 3/10

00:15:05

passed #484346663
gitlab-org
rspec-ee unit pg9 4/10

00:18:26

passed #484346665
gitlab-org
rspec-ee unit pg9 5/10

00:21:45

passed #484346667
gitlab-org
rspec-ee unit pg9 6/10

00:17:14

passed #484346668
gitlab-org
rspec-ee unit pg9 7/10

00:15:52

passed #484346669
gitlab-org
rspec-ee unit pg9 8/10

00:16:16

passed #484346670
gitlab-org
rspec-ee unit pg9 9/10

00:19:14

passed #484346682
gitlab-org
rspec-ee unit pg9 geo 1/2

00:18:04

passed #484346683
gitlab-org
rspec-ee unit pg9 geo 2/2

00:18:25

passed #484346693
gitlab-org
run-dev-fixtures

00:04:42

passed #484346694
gitlab-org
run-dev-fixtures-ee

00:05:21

failed #484346527
gitlab-org allowed to fail
sast

00:01:16

passed #484346529
gitlab-org
static-analysis 1/2

00:14:40

passed #484346530
gitlab-org
static-analysis 2/2

00:31:36

passed #484346519
gitlab-org
webpack-dev-server

00:07:12

 
  Post Test
passed #484346695
gitlab-org
coverage-frontend

00:06:39

passed #484346696
gitlab-org
rspec:coverage

00:06:17

97.19%
 
  Review Prepare
passed #484346697
gitlab-org
review-build-cng

00:29:15

 
  Review
failed #484346698
gitlab-org allowed to fail
review-deploy

00:17:35

manual #484346699
gitlab-org allowed to fail manual
review-stop
 
  Qa
passed #484346701
gitlab-org
dast

00:04:28

failed #484346700
gitlab-org allowed to fail
package-and-qa

02:00:00

passed #484346708
docker gitlab-org
review-performance

00:04:23

manual #484346703
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #484346704
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #484346705
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #484346706
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #484346707
docker gitlab-org allowed to fail manual
review-qa-all 5/5
failed #484346702
docker gitlab-org allowed to fail
review-qa-smoke

00:07:46

 
  Post Qa
manual #484346709
gitlab-org allowed to fail manual
parallel-spec-reports
 
Name Stage Failure
failed
package-and-qa Qa The script exceeded the maximum execution time set for the job
$ ./scripts/trigger-build omnibus
Triggering downstream pipeline on gitlab-org/build/omnibus-gitlab-mirror
with variables {"GITLAB_REF_SLUG"=>"204819-convert-the-structure-of-web-ide-left-sidebar-html", "TRIGGERED_USER"=>"Chad Woolley", "TRIGGER_SOURCE"=>"https://gitlab.com/gitlab-org/gitlab/-/jobs/484346700", "TOP_UPSTREAM_SOURCE_PROJECT"=>"gitlab-org/gitlab", "TOP_UPSTREAM_SOURCE_JOB"=>"https://gitlab.com/gitlab-org/gitlab/-/jobs/484346700", "TOP_UPSTREAM_SOURCE_SHA"=>"d10513c6eef92b3bce4e008a2396c456d0c208c2", "TOP_UPSTREAM_SOURCE_REF"=>"204819-convert-the-structure-of-web-ide-left-sidebar-html", "TOP_UPSTREAM_MERGE_REQUEST_PROJECT_ID"=>"278964", "TOP_UPSTREAM_MERGE_REQUEST_IID"=>"25663", "GITLAB_VERSION"=>"d10513c6eef92b3bce4e008a2396c456d0c208c2", "ALTERNATIVE_SOURCES"=>"true", "ee"=>"true", "QA_BRANCH"=>"master", "GITALY_SERVER_VERSION"=>"12.9.0-rc1", "GITLAB_ELASTICSEARCH_INDEXER_VERSION"=>"2.1.0", "GITLAB_WORKHORSE_VERSION"=>"8.26.0", "GITLAB_PAGES_VERSION"=>"1.17.0", "GITLAB_SHELL_VERSION"=>"12.0.0"}
Triggered downstream pipeline: https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/pipelines/129410917
Waiting for downstream pipeline status
......................................................................................................................
Running after_script
Uploading artifacts for failed job
Pulling docker image gitlab/gitlab-runner-helper:x86_64-4c96e5ad ...
ERROR: Job failed: execution took longer than 2h0m0s seconds
failed
review-qa-smoke Qa
  /home/gitlab/qa/qa/scenario/template.rb:8:in `perform'
/home/gitlab/qa/qa/scenario/bootable.rb:28:in `launch!'
bin/qa:7:in `<top (required)>'
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
./qa/gitlab-qa-run-*: found 4 matching files

Uploading artifacts to coordinator... ok
id=484346702 responseStatus=201 Created token=VGqqvhsJ
ERROR: Job failed: exit code 1
failed
review-deploy Review
Unsuccessful Jobs for release review-204819-con-8xan5m
NAME COMPLETIONS DURATION AGE
review-204819-con-8xan5m-migrations.1 0/1 15m 15m
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
environment_url.txt: found 1 matching files

Uploading artifacts to coordinator... ok
id=484346698 responseStatus=201 Created token=yt2sp5tA
ERROR: Job failed: exit code 1
failed
dependency_scanning Test
$ docker run \ # collapsed multi-line command
docker: error during connect: Post http://docker:2375/v1.40/containers/create: dial tcp: lookup docker on 169.254.169.254:53: no such host.
See 'docker run --help'.
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
WARNING: gl-dependency-scanning-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 125
failed
sast Test
$ ENVS=`printenv | grep -vE '^(DOCKER_|CI|GITLAB_|FF_|HOME|PWD|OLDPWD|PATH|SHLVL|HOSTNAME)' | sed -n '/^[^\t]/s/=.*//p' | sed '/^$/d' | sed 's/^/-e /g' | tr '\n' ' '` # collapsed multi-line command
docker: error during connect: Post http://docker:2375/v1.40/containers/create: dial tcp: lookup docker on 169.254.169.254:53: no such host.
See 'docker run --help'.
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
WARNING: gl-sast-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 125