Commit fad5a41
authored
[Code] Removing styled components & SCSS cleanup (#35107)
* Removing the sidebar class from the project container and replacing styled component eui buttons with a className.
* Renaming scss includes.
* Moving admin.scss content into _buttons.scss.
* Refactor project_item removing styled components
* Refactor admin.tsx to remove styled components
* Refactor import_project.tsx to remove styled components
* Refactor lang server tab to remove styled components
* Refactor project settings modal removing styled components
* Refactoring setup_guide to remove styled components
* Cleanup sidebar.scss: follow convention for classes
* Refactor codeblock css naming conventions
* Resolving an issue with the monaco scss file name
* Editor file cleanup. Renaming css classes
* Cleaning up the file_tree component.
* Hover widget cleanup.
* Blame cleanup.
* Breadcrumb cleanup.
* Cleaning up clone status — removing ProgressContainer export. Didn't seem to be used anywhere. You can use the codeContainer__progress class to apply those styles now.
* Cleaning up commit history styles
* Putting the indentation back in the file tree.
* Refactoring the main content window.
* Cleaning up the directory component.
* Reducing spacing between directory and file lists.
* Removing styled components from the error panel.
* Reducing the font size of buttons in the source view button groups.
* Removing styled components from main.tsx
* CSS naming & removing styled components from not_found.tsx
* CSS naming & removing styled components from not_found.tsx
* Removing styled components from search_bar and top_bar.
* Removing styled components from query_bar components.
* Removing styled components from search_page components.
* removing styled components from code_symbol_tree
* Fixing a few css issues.
* Updating test snapshots.
* Removing a stray '>' symbol from the search tabs.
* Condensing the spacing of the EUI facets on the search page.
* class name of the flyout container.
* Revert "class name of the flyout container."
This reverts commit 35e9d5c16fd20db5ef15a686eda79bb0fd3f40a6.
* class name tweaks.
* Fixing type errors.
* Putting back an accidental deletion in file_tree.tsx.
* Updating file_tree snapshot.
* Implementing changes from 604e4d1 to address failing tests.
* Adding in additional classes deleted during merge
* Updating test snapshots.1 parent 3551d39 commit fad5a41
File tree
53 files changed
+768
-765
lines changed- x-pack
- plugins/code/public
- components
- admin_page
- codeblock
- editor
- file_tree
- __snapshots__
- hover
- main
- query_bar
- components
- search_page
- shortcuts
- symbol_tree
- __test__/__snapshots__
- style
- test/functional/apps/code
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+768
-765
lines changedLines changed: 5 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 19 | | |
35 | 20 | | |
36 | 21 | | |
| |||
129 | 114 | | |
130 | 115 | | |
131 | 116 | | |
132 | | - | |
133 | | - | |
| 117 | + | |
| 118 | + | |
134 | 119 | | |
135 | 120 | | |
136 | | - | |
137 | | - | |
| 121 | + | |
| 122 | + | |
138 | 123 | | |
139 | 124 | | |
140 | 125 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 23 | | |
34 | 24 | | |
35 | 25 | | |
| |||
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
72 | | - | |
| 62 | + | |
73 | 63 | | |
74 | 64 | | |
75 | 65 | | |
| |||
101 | 91 | | |
102 | 92 | | |
103 | 93 | | |
104 | | - | |
105 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
106 | 97 | | |
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
110 | | - | |
| 101 | + | |
111 | 102 | | |
112 | 103 | | |
113 | | - | |
| 104 | + | |
114 | 105 | | |
115 | 106 | | |
116 | 107 | | |
| |||
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 31 | | |
38 | 32 | | |
39 | 33 | | |
| |||
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
58 | | - | |
| 52 | + | |
59 | 53 | | |
60 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
61 | 59 | | |
62 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
Lines changed: 22 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 25 | | |
41 | 26 | | |
42 | 27 | | |
| |||
63 | 48 | | |
64 | 49 | | |
65 | 50 | | |
66 | | - | |
| 51 | + | |
67 | 52 | | |
68 | 53 | | |
69 | | - | |
| 54 | + | |
70 | 55 | | |
71 | | - | |
| 56 | + | |
72 | 57 | | |
73 | 58 | | |
74 | | - | |
| 59 | + | |
75 | 60 | | |
76 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
77 | 66 | | |
78 | | - | |
| 67 | + | |
79 | 68 | | |
80 | | - | |
| 69 | + | |
81 | 70 | | |
82 | 71 | | |
83 | | - | |
| 72 | + | |
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
87 | | - | |
88 | | - | |
| 76 | + | |
| 77 | + | |
89 | 78 | | |
90 | 79 | | |
91 | 80 | | |
92 | | - | |
| 81 | + | |
93 | 82 | | |
94 | 83 | | |
95 | 84 | | |
| |||
102 | 91 | | |
103 | 92 | | |
104 | 93 | | |
105 | | - | |
106 | | - | |
107 | 94 | | |
108 | 95 | | |
109 | 96 | | |
| |||
124 | 111 | | |
125 | 112 | | |
126 | 113 | | |
127 | | - | |
| 114 | + | |
128 | 115 | | |
129 | 116 | | |
130 | 117 | | |
| |||
140 | 127 | | |
141 | 128 | | |
142 | 129 | | |
143 | | - | |
| 130 | + | |
144 | 131 | | |
145 | 132 | | |
146 | 133 | | |
| |||
156 | 143 | | |
157 | 144 | | |
158 | 145 | | |
159 | | - | |
| 146 | + | |
160 | 147 | | |
161 | 148 | | |
162 | 149 | | |
| |||
183 | 170 | | |
184 | 171 | | |
185 | 172 | | |
186 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
187 | 176 | | |
188 | 177 | | |
189 | 178 | | |
| |||
205 | 194 | | |
206 | 195 | | |
207 | 196 | | |
208 | | - | |
| 197 | + | |
209 | 198 | | |
210 | 199 | | |
211 | 200 | | |
| |||
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
| |||
96 | 88 | | |
97 | 89 | | |
98 | 90 | | |
99 | | - | |
| 91 | + | |
100 | 92 | | |
101 | | - | |
| 93 | + | |
102 | 94 | | |
103 | | - | |
| 95 | + | |
104 | 96 | | |
105 | | - | |
| 97 | + | |
106 | 98 | | |
107 | 99 | | |
108 | 100 | | |
| |||
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 40 | | |
47 | 41 | | |
48 | 42 | | |
| |||
246 | 240 | | |
247 | 241 | | |
248 | 242 | | |
249 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
250 | 248 | | |
251 | | - | |
| 249 | + | |
252 | 250 | | |
253 | 251 | | |
254 | 252 | | |
| |||
0 commit comments