File tree Expand file tree Collapse file tree 3 files changed +33
-3
lines changed Expand file tree Collapse file tree 3 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,34 @@ export const AppRoutes: FunctionComponent<AppRoutesProps> = ({ user, teams }) =>
244
244
< Route path = { [ "/t/" ] } exact >
245
245
< Redirect to = "/projects" />
246
246
</ Route >
247
+ { /* redirect for old user settings slugs */ }
248
+ < Route path = "/account" exact >
249
+ < Redirect to = { settingsPathAccount } />
250
+ </ Route >
251
+ < Route path = "/integrations" exact >
252
+ < Redirect to = { settingsPathIntegrations } />
253
+ </ Route >
254
+ < Route path = "/notifications" exact >
255
+ < Redirect to = { settingsPathNotifications } />
256
+ </ Route >
257
+ < Route path = "/billing" exact >
258
+ < Redirect to = { settingsPathBilling } />
259
+ </ Route >
260
+ < Route path = "/plans" exact >
261
+ < Redirect to = { settingsPathPlans } />
262
+ </ Route >
263
+ < Route path = "/preferences" exact >
264
+ < Redirect to = { settingsPathPreferences } />
265
+ </ Route >
266
+ < Route path = "/variables" exact >
267
+ < Redirect to = { settingsPathVariables } />
268
+ </ Route >
269
+ < Route path = "/tokens" >
270
+ < Redirect to = { settingsPathPersonalAccessTokens } />
271
+ </ Route >
272
+ < Route path = "/keys" exact >
273
+ < Redirect to = { settingsPathSSHKeys } />
274
+ </ Route >
247
275
< Route
248
276
path = "*"
249
277
render = { ( _match ) => {
Original file line number Diff line number Diff line change @@ -134,13 +134,13 @@ export default function Menu() {
134
134
< header className = "app-container flex flex-col pt-4 space-y-4" data-analytics = '{"button_type":"menu"}' >
135
135
< div className = "flex h-10 mb-3" >
136
136
< div className = "flex justify-between items-center pr-3" >
137
- < Link to = "/" className = "pr-3" >
137
+ < Link to = "/" className = "pr-3 w-10 " >
138
138
< img src = { gitpodIcon } className = "h-6" alt = "Gitpod's logo" />
139
139
</ Link >
140
140
< OrganizationSelector />
141
141
{ ! isMinimalUI && (
142
142
< >
143
- < div className = "pl-2 text-base text-gray-500 dark:text-gray-400 flex" >
143
+ < div className = "pl-2 text-base text-gray-500 dark:text-gray-400 flex max-w-lg overflow-scroll " >
144
144
{ leftMenu . map ( ( entry ) => (
145
145
< div className = "p-1" key = { entry . title } >
146
146
< PillMenuItem
Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ export default function OrganizationSelector(p: OrganizationSelectorProps) {
91
91
return (
92
92
< ContextMenu customClasses = "w-64 left-0" menuEntries = { entries } >
93
93
< div className = { `${ classes } rounded-2xl pl-3` } >
94
- < div className = "py-1 pr-2 font-semibold" > { selectedEntry . title ! } </ div >
94
+ < div className = "py-1 pr-2 font-semibold whitespace-nowrap max-w-xs overflow-hidden" >
95
+ { selectedEntry . title ! }
96
+ </ div >
95
97
< div className = "flex h-full pl-0 pr-1 py-1.5 text-gray-50" >
96
98
< svg width = "20" height = "20" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
97
99
< path
You can’t perform that action at this time.
0 commit comments