- Co-Authored-By
- Christopher David <chris@openagents.com>
Show the merged state and keep the stack map on merged pull requests
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
assets/css/openagents.css -
modified
lib/openagents/stacks.ex -
modified
lib/openagents_web/components/ui.ex -
modified
lib/openagents_web/controllers/og_image_controller.ex -
modified
lib/openagents_web/live/pull_request_index_live.ex -
modified
lib/openagents_web/live/pull_request_show_live.ex -
modified
test/openagents/stacks/merge_test.exs -
modified
test/openagents_web/live/pull_request_live_test.exs
Diff
8 files changed, +261 -7
assets/css/openagents.css modified +5
@@ -1064,6 +1064,11 @@
| 1064 | 1064 |
|
| 1065 | 1065 |
|
| 1066 | 1066 |
|
| 1067 |
|
|
| 1068 |
|
|
| 1069 |
|
|
| 1070 |
|
|
| 1071 |
|
|
| 1067 | 1072 |
|
| 1068 | 1073 |
|
| 1069 | 1074 |
|
lib/openagents/stacks.ex modified +57
@@ -185,6 +185,63 @@ defmodule OpenAgents.Stacks do
| 185 | 185 |
|
| 186 | 186 |
|
| 187 | 187 |
|
| 188 |
|
|
| 189 |
|
|
| 190 |
|
|
| 191 |
|
|
| 192 |
|
|
| 193 |
|
|
| 194 |
|
|
| 195 |
|
|
| 196 |
|
|
| 197 |
|
|
| 198 |
|
|
| 199 |
|
|
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|
| 203 |
|
|
| 204 |
|
|
| 205 |
|
|
| 206 |
|
|
| 207 |
|
|
| 208 |
|
|
| 209 |
|
|
| 210 |
|
|
| 211 |
|
|
| 212 |
|
|
| 213 |
|
|
| 214 |
|
|
| 215 |
|
|
| 216 |
|
|
| 217 |
|
|
| 218 |
|
|
| 219 |
|
|
| 220 |
|
|
| 221 |
|
|
| 222 |
|
|
| 223 |
|
|
| 224 |
|
|
| 225 |
|
|
| 226 |
|
|
| 227 |
|
|
| 228 |
|
|
| 229 |
|
|
| 230 |
|
|
| 231 |
|
|
| 232 |
|
|
| 233 |
|
|
| 234 |
|
|
| 235 |
|
|
| 236 |
|
|
| 237 |
|
|
| 238 |
|
|
| 239 |
|
|
| 240 |
|
|
| 241 |
|
|
| 242 |
|
|
| 243 |
|
|
| 244 |
|
|
| 188 | 245 |
|
| 189 | 246 |
|
| 190 | 247 |
|
lib/openagents_web/components/ui.ex modified +1 -1
@@ -459,7 +459,7 @@ defmodule OpenAgentsWeb.UI do
| 459 | 459 |
|
| 460 | 460 |
|
| 461 | 461 |
|
| 462 |
|
|
| 462 |
|
|
| 463 | 463 |
|
| 464 | 464 |
|
| 465 | 465 |
|
lib/openagents_web/controllers/og_image_controller.ex modified +7
@@ -204,6 +204,13 @@ defmodule OpenAgentsWeb.OgImageController do
| 204 | 204 |
|
| 205 | 205 |
|
| 206 | 206 |
|
| 207 |
|
|
| 208 |
|
|
| 209 |
|
|
| 210 |
|
|
| 211 |
|
|
| 212 |
|
|
| 213 |
|
|
| 207 | 214 |
|
| 208 | 215 |
|
| 209 | 216 |
|
lib/openagents_web/live/pull_request_index_live.ex modified +16 -2
@@ -67,8 +67,8 @@ defmodule OpenAgentsWeb.PullRequestIndexLive do
| 67 | 67 |
|
| 68 | 68 |
|
| 69 | 69 |
|
| 70 |
|
|
| 71 |
|
|
| 70 |
|
|
| 71 |
|
|
| 72 | 72 |
|
| 73 | 73 |
|
| 74 | 74 |
|
@@ -80,6 +80,20 @@ defmodule OpenAgentsWeb.PullRequestIndexLive do
| 80 | 80 |
|
| 81 | 81 |
|
| 82 | 82 |
|
| 83 |
|
|
| 84 |
|
|
| 85 |
|
|
| 86 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 92 |
|
|
| 93 |
|
|
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| 83 | 97 |
|
| 84 | 98 |
|
| 85 | 99 |
|
lib/openagents_web/live/pull_request_show_live.ex modified +43 -4
@@ -30,6 +30,9 @@ defmodule OpenAgentsWeb.PullRequestShowLive do
| 30 | 30 |
|
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
|
|
| 34 |
|
|
| 35 |
|
|
| 33 | 36 |
|
| 34 | 37 |
|
| 35 | 38 |
|
@@ -38,13 +41,14 @@ defmodule OpenAgentsWeb.PullRequestShowLive do
| 38 | 41 |
|
| 39 | 42 |
|
| 40 | 43 |
|
| 44 |
|
|
| 41 | 45 |
|
| 42 | 46 |
|
| 43 | 47 |
|
| 44 | 48 |
|
| 45 | 49 |
|
| 46 |
|
|
| 47 |
|
|
| 50 |
|
|
| 51 |
|
|
| 48 | 52 |
|
| 49 | 53 |
|
| 50 | 54 |
|
@@ -213,8 +217,8 @@ defmodule OpenAgentsWeb.PullRequestShowLive do
| 213 | 217 |
|
| 214 | 218 |
|
| 215 | 219 |
|
| 216 |
|
|
| 217 |
|
|
| 220 |
|
|
| 221 |
|
|
| 218 | 222 |
|
| 219 | 223 |
|
| 220 | 224 |
|
@@ -356,6 +360,29 @@ defmodule OpenAgentsWeb.PullRequestShowLive do
| 356 | 360 |
|
| 357 | 361 |
|
| 358 | 362 |
|
| 363 |
|
|
| 364 |
|
|
| 365 |
|
|
| 366 |
|
|
| 367 |
|
|
| 368 |
|
|
| 369 |
|
|
| 370 |
|
|
| 371 |
|
|
| 372 |
|
|
| 373 |
|
|
| 374 |
|
|
| 375 |
|
|
| 376 |
|
|
| 377 |
|
|
| 378 |
|
|
| 379 |
|
|
| 380 |
|
|
| 381 |
|
|
| 382 |
|
|
| 383 |
|
|
| 384 |
|
|
| 385 |
|
|
| 359 | 386 |
|
| 360 | 387 |
|
| 361 | 388 |
|
@@ -363,6 +390,18 @@ defmodule OpenAgentsWeb.PullRequestShowLive do
| 363 | 390 |
|
| 364 | 391 |
|
| 365 | 392 |
|
| 393 |
|
|
| 394 |
|
|
| 395 |
|
|
| 396 |
|
|
| 397 |
|
|
| 398 |
|
|
| 399 |
|
|
| 400 |
|
|
| 401 |
|
|
| 402 |
|
|
| 403 |
|
|
| 404 |
|
|
| 366 | 405 |
|
| 367 | 406 |
|
| 368 | 407 |
|
test/openagents/stacks/merge_test.exs modified +40
@@ -596,6 +596,46 @@ defmodule OpenAgents.Stacks.MergeTest do
| 596 | 596 |
|
| 597 | 597 |
|
| 598 | 598 |
|
| 599 |
|
|
| 600 |
|
|
| 601 |
|
|
| 602 |
|
|
| 603 |
|
|
| 604 |
|
|
| 605 |
|
|
| 606 |
|
|
| 607 |
|
|
| 608 |
|
|
| 609 |
|
|
| 610 |
|
|
| 611 |
|
|
| 612 |
|
|
| 613 |
|
|
| 614 |
|
|
| 615 |
|
|
| 616 |
|
|
| 617 |
|
|
| 618 |
|
|
| 619 |
|
|
| 620 |
|
|
| 621 |
|
|
| 622 |
|
|
| 623 |
|
|
| 624 |
|
|
| 625 |
|
|
| 626 |
|
|
| 627 |
|
|
| 628 |
|
|
| 629 |
|
|
| 630 |
|
|
| 631 |
|
|
| 632 |
|
|
| 633 |
|
|
| 634 |
|
|
| 635 |
|
|
| 636 |
|
|
| 637 |
|
|
| 638 |
|
|
| 599 | 639 |
|
| 600 | 640 |
|
| 601 | 641 |
|
test/openagents_web/live/pull_request_live_test.exs modified +92
@@ -9,6 +9,8 @@ defmodule OpenAgentsWeb.PullRequestLiveTest do
| 9 | 9 |
|
| 10 | 10 |
|
| 11 | 11 |
|
| 12 |
|
|
| 13 |
|
|
| 12 | 14 |
|
| 13 | 15 |
|
| 14 | 16 |
|
@@ -195,6 +197,96 @@ defmodule OpenAgentsWeb.PullRequestLiveTest do
| 195 | 197 |
|
| 196 | 198 |
|
| 197 | 199 |
|
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|
| 203 |
|
|
| 204 |
|
|
| 205 |
|
|
| 206 |
|
|
| 207 |
|
|
| 208 |
|
|
| 209 |
|
|
| 210 |
|
|
| 211 |
|
|
| 212 |
|
|
| 213 |
|
|
| 214 |
|
|
| 215 |
|
|
| 216 |
|
|
| 217 |
|
|
| 218 |
|
|
| 219 |
|
|
| 220 |
|
|
| 221 |
|
|
| 222 |
|
|
| 223 |
|
|
| 224 |
|
|
| 225 |
|
|
| 226 |
|
|
| 227 |
|
|
| 228 |
|
|
| 229 |
|
|
| 230 |
|
|
| 231 |
|
|
| 232 |
|
|
| 233 |
|
|
| 234 |
|
|
| 235 |
|
|
| 236 |
|
|
| 237 |
|
|
| 238 |
|
|
| 239 |
|
|
| 240 |
|
|
| 241 |
|
|
| 242 |
|
|
| 243 |
|
|
| 244 |
|
|
| 245 |
|
|
| 246 |
|
|
| 247 |
|
|
| 248 |
|
|
| 249 |
|
|
| 250 |
|
|
| 251 |
|
|
| 252 |
|
|
| 253 |
|
|
| 254 |
|
|
| 255 |
|
|
| 256 |
|
|
| 257 |
|
|
| 258 |
|
|
| 259 |
|
|
| 260 |
|
|
| 261 |
|
|
| 262 |
|
|
| 263 |
|
|
| 264 |
|
|
| 265 |
|
|
| 266 |
|
|
| 267 |
|
|
| 268 |
|
|
| 269 |
|
|
| 270 |
|
|
| 271 |
|
|
| 272 |
|
|
| 273 |
|
|
| 274 |
|
|
| 275 |
|
|
| 276 |
|
|
| 277 |
|
|
| 278 |
|
|
| 279 |
|
|
| 280 |
|
|
| 281 |
|
|
| 282 |
|
|
| 283 |
|
|
| 284 |
|
|
| 285 |
|
|
| 286 |
|
|
| 287 |
|
|
| 288 |
|
|
| 289 |
|
|
| 198 | 290 |
|
| 199 | 291 |
|
| 200 | 292 |
|