CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 23:36:10 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/co-browser/agent-browser.git
etag: W/"78a170c9086f5475103d83dec3ebd202"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=9XjUr6CBhhB5ELMwaS4fLsF7%2BCEF9Vh%2FrhFsbaw%2B1Dvm5IgIK0ti9Vt%2FSUGv4prmED91Bc%2B9cx2NV1%2BlLMHwq7kWSPVa3C0aLoiZEw%2F06%2FB9BgUAeSWGL2qOW305HvLfzPElZOMLD5XYrU8aq1ro15OsK75FyKyYbSj63Z0BjqbLKcxawgCfyCR4hYZUEG7D7wK343rM41kwYY80Wi0zggXKC2bo5wsQ9ztrpMjkc%2BU%2FL74hygrg19qVdopofDGb%2FsddWxKADYt4IpyL364uVg%3D%3D--KAd4fKewTYV5%2BXEg--wq782L9aiNe36SMP8Ona6A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2062893779.1753313770; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:36:10 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:36:10 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9798:36F97A:11735E9:14F52B0:688171EA
feat: Refactor UI layout and simplify SSE notifications · co-browser/agent-browser@03ebb2a · GitHub
Copy file name to clipboardExpand all lines: internal/backend/service.go
Copy file name to clipboardExpand all lines: internal/web/handlers/api.go
Copy file name to clipboardExpand all lines: internal/web/handlers/sse.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit 03ebb2a
committed
feat: Refactor UI layout and simplify SSE notifications
- Replace 'Add Server' modal with an inline form on the main page.
- Rearrange page titles for better flow ('Add New MCP Server' -> 'Connected MCP Servers').
- Remove footer and unused modal templates.
- Introduce `ServerDataUpdatedEvent` for backend changes.
- Simplify SSE handler to listen only to `ServerDataUpdatedEvent` and broadcast a generic `refresh-list` message.
- Update API handlers (`AddMCPServer`, `RemoveMCPServer`) to return HTMX feedback fragments instead of redirects.
- Correct `RemoveMCPServer` route to use DELETE method.1 parent de228ed commit 03ebb2aCopy full SHA for 03ebb2a
File tree
Expand file treeCollapse file tree
17 files changed
+322
-429
lines changedFilter options
- internal
- app
- backend
- events
- mcp
- web
- handlers
- templates
- blocks
- components
Expand file treeCollapse file tree
17 files changed
+322
-429
lines changed+16-7Lines changed: 16 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
155 | 155 |
| |
156 | 156 |
| |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
161 | 169 |
| |
162 |
| - | |
| 170 | + | |
| 171 | + | |
163 | 172 |
| |
164 | 173 |
| |
165 | 174 |
| |
|
internal/backend/service.go
Copy file name to clipboardExpand all lines: internal/backend/service.go+13-2Lines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
| 84 | + | |
| 85 | + | |
84 | 86 |
| |
85 | 87 |
| |
86 | 88 |
| |
| |||
103 | 105 |
| |
104 | 106 |
| |
105 | 107 |
| |
| 108 | + | |
| 109 | + | |
106 | 110 |
| |
107 | 111 |
| |
108 | 112 |
| |
| |||
183 | 187 |
| |
184 | 188 |
| |
185 | 189 |
| |
| 190 | + | |
| 191 | + | |
| 192 | + | |
186 | 193 |
| |
187 | 194 |
| |
188 | 195 |
| |
| |||
226 | 233 |
| |
227 | 234 |
| |
228 | 235 |
| |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
229 | 240 |
| |
230 | 241 |
| |
231 | 242 |
| |
| |||
338 | 349 |
| |
339 | 350 |
| |
340 | 351 |
| |
341 |
| - | |
342 |
| - | |
| 352 | + | |
| 353 | + | |
343 | 354 |
| |
344 | 355 |
| |
345 | 356 |
| |
|
+18Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
141 | 143 |
| |
142 | 144 |
| |
143 | 145 |
| |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
144 | 162 |
| |
145 | 163 |
| |
146 | 164 |
| |
|
+11-4Lines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
956 | 956 |
| |
957 | 957 |
| |
958 | 958 |
| |
959 |
| - | |
960 |
| - | |
961 |
| - | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
962 | 970 |
| |
963 |
| - | |
964 | 971 |
| |
965 | 972 |
| |
966 | 973 |
| |
|
internal/web/handlers/api.go
Copy file name to clipboardExpand all lines: internal/web/handlers/api.go+43-34Lines changed: 43 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
| |||
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
57 |
| - | |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
| |||
142 | 143 |
| |
143 | 144 |
| |
144 | 145 |
| |
145 |
| - | |
| 146 | + | |
| 147 | + | |
146 | 148 |
| |
147 | 149 |
| |
148 | 150 |
| |
149 | 151 |
| |
150 | 152 |
| |
151 | 153 |
| |
152 | 154 |
| |
153 |
| - | |
| 155 | + | |
154 | 156 |
| |
155 | 157 |
| |
156 | 158 |
| |
| |||
191 | 193 |
| |
192 | 194 |
| |
193 | 195 |
| |
194 |
| - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
195 | 199 |
| |
196 | 200 |
| |
197 | 201 |
| |
198 | 202 |
| |
199 | 203 |
| |
200 | 204 |
| |
201 | 205 |
| |
202 |
| - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
203 | 209 |
| |
204 | 210 |
| |
205 | 211 |
| |
206 |
| - | |
| 212 | + | |
207 | 213 |
| |
208 | 214 |
| |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
213 | 220 |
| |
214 |
| - | |
215 |
| - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
216 | 224 |
| |
217 | 225 |
| |
218 | 226 |
| |
219 |
| - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
220 | 234 |
| |
221 | 235 |
| |
222 | 236 |
| |
| |||
239 | 253 |
| |
240 | 254 |
| |
241 | 255 |
| |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
247 | 260 |
| |
248 | 261 |
| |
249 | 262 |
| |
250 | 263 |
| |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
| 264 | + | |
| 265 | + | |
260 | 266 |
| |
261 | 267 |
| |
262 | 268 |
| |
| |||
337 | 343 |
| |
338 | 344 |
| |
339 | 345 |
| |
340 |
| - | |
| 346 | + | |
341 | 347 |
| |
342 | 348 |
| |
343 |
| - | |
344 | 349 |
| |
345 |
| - | |
346 |
| - | |
| 350 | + | |
| 351 | + | |
347 | 352 |
| |
348 |
| - | |
| 353 | + | |
| 354 | + | |
349 | 355 |
| |
350 |
| - | |
| 356 | + | |
| 357 | + | |
351 | 358 |
| |
352 | 359 |
| |
353 | 360 |
| |
354 | 361 |
| |
355 |
| - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
356 | 365 |
| |
357 | 366 |
| |
358 | 367 |
| |
|
internal/web/handlers/sse.go
Copy file name to clipboardExpand all lines: internal/web/handlers/sse.go+36-8Lines changed: 36 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
200 | 202 |
| |
201 | 203 |
| |
202 |
| - | |
| 204 | + | |
203 | 205 |
| |
204 | 206 |
| |
205 | 207 |
| |
206 | 208 |
| |
207 | 209 |
| |
208 | 210 |
| |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
209 | 224 |
| |
| 225 | + | |
| 226 | + | |
210 | 227 |
| |
211 | 228 |
| |
212 | 229 |
| |
213 | 230 |
| |
214 | 231 |
| |
| 232 | + | |
215 | 233 |
| |
216 | 234 |
| |
| 235 | + | |
| 236 | + | |
217 | 237 |
| |
218 | 238 |
| |
219 | 239 |
| |
| |||
248 | 268 |
| |
249 | 269 |
| |
250 | 270 |
| |
251 |
| - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
252 | 276 |
| |
253 |
| - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
254 | 281 |
| |
| 282 | + | |
255 | 283 |
| |
256 | 284 |
| |
257 |
| - | |
| 285 | + | |
258 | 286 |
| |
259 | 287 |
| |
260 | 288 |
| |
|
You can’t perform that action at this time.
0 commit comments