Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Deploy: Consolidated gold tables, fixed nginx docs routing
Browse files- api/routes/bills_neon.py +5 -0
- api/static/assets/index-Dcg4G3Nm.js +0 -0
- api/static/index.html +1 -1
- frontend/src/pages/PolicyMap.tsx +15 -0
- website/.docusaurus/client-manifest.json +159 -159
api/routes/bills_neon.py
CHANGED
|
@@ -598,6 +598,9 @@ async def get_sessions(
|
|
| 598 |
- `/api/bills/sessions?state=MA&topic=dental` - Get sessions with dental bills
|
| 599 |
"""
|
| 600 |
try:
|
|
|
|
|
|
|
|
|
|
| 601 |
result = await fetch_sessions_from_parquet(
|
| 602 |
state=state.upper(),
|
| 603 |
topic=topic,
|
|
@@ -607,6 +610,8 @@ async def get_sessions(
|
|
| 607 |
q=q
|
| 608 |
)
|
| 609 |
|
|
|
|
|
|
|
| 610 |
return result
|
| 611 |
|
| 612 |
except HTTPException:
|
|
|
|
| 598 |
- `/api/bills/sessions?state=MA&topic=dental` - Get sessions with dental bills
|
| 599 |
"""
|
| 600 |
try:
|
| 601 |
+
# Debug logging
|
| 602 |
+
logger.info(f"📊 Sessions request: state={state}, topic={topic}, chamber={chamber}, bill_type={bill_type}, status={status}, q={q}")
|
| 603 |
+
|
| 604 |
result = await fetch_sessions_from_parquet(
|
| 605 |
state=state.upper(),
|
| 606 |
topic=topic,
|
|
|
|
| 610 |
q=q
|
| 611 |
)
|
| 612 |
|
| 613 |
+
logger.info(f"✅ Returning {len(result.get('sessions', []))} sessions for {state}")
|
| 614 |
+
|
| 615 |
return result
|
| 616 |
|
| 617 |
except HTTPException:
|
api/static/assets/index-Dcg4G3Nm.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
api/static/index.html
CHANGED
|
@@ -85,7 +85,7 @@
|
|
| 85 |
}
|
| 86 |
}
|
| 87 |
</script>
|
| 88 |
-
<script type="module" crossorigin src="/assets/index-
|
| 89 |
<link rel="stylesheet" crossorigin href="/assets/index-Bu7jcqBg.css">
|
| 90 |
</head>
|
| 91 |
<body>
|
|
|
|
| 85 |
}
|
| 86 |
}
|
| 87 |
</script>
|
| 88 |
+
<script type="module" crossorigin src="/assets/index-Dcg4G3Nm.js"></script>
|
| 89 |
<link rel="stylesheet" crossorigin href="/assets/index-Bu7jcqBg.css">
|
| 90 |
</head>
|
| 91 |
<body>
|
frontend/src/pages/PolicyMap.tsx
CHANGED
|
@@ -114,7 +114,22 @@ export default function PolicyMap() {
|
|
| 114 |
if (selectedStatus) params.append('status', selectedStatus)
|
| 115 |
if (searchQuery) params.append('q', searchQuery)
|
| 116 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
const response = await api.get(`/bills/sessions?${params}`)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
return response.data
|
| 119 |
},
|
| 120 |
enabled: viewMode === 'list', // Only fetch sessions in list view
|
|
|
|
| 114 |
if (selectedStatus) params.append('status', selectedStatus)
|
| 115 |
if (searchQuery) params.append('q', searchQuery)
|
| 116 |
|
| 117 |
+
// Debug logging
|
| 118 |
+
console.log('🔍 Fetching sessions with params:', {
|
| 119 |
+
state: selectedState,
|
| 120 |
+
topic: selectedTopic,
|
| 121 |
+
chamber: selectedChamber,
|
| 122 |
+
bill_type: selectedBillType,
|
| 123 |
+
status: selectedStatus,
|
| 124 |
+
q: searchQuery,
|
| 125 |
+
url: `/bills/sessions?${params}`
|
| 126 |
+
})
|
| 127 |
+
|
| 128 |
const response = await api.get(`/bills/sessions?${params}`)
|
| 129 |
+
console.log('✅ Sessions response:', {
|
| 130 |
+
total_sessions: response.data.total_sessions,
|
| 131 |
+
sessions: response.data.sessions?.length
|
| 132 |
+
})
|
| 133 |
return response.data
|
| 134 |
},
|
| 135 |
enabled: viewMode === 'list', // Only fetch sessions in list view
|
website/.docusaurus/client-manifest.json
CHANGED
|
@@ -284,164 +284,6 @@
|
|
| 284 |
"89278839": [
|
| 285 |
"1552"
|
| 286 |
],
|
| 287 |
-
"main": [
|
| 288 |
-
"4014",
|
| 289 |
-
"9783",
|
| 290 |
-
"1889"
|
| 291 |
-
],
|
| 292 |
-
"runtime~main": [
|
| 293 |
-
"1889",
|
| 294 |
-
"4014",
|
| 295 |
-
"9783"
|
| 296 |
-
],
|
| 297 |
-
"0058b4c6": [
|
| 298 |
-
"266"
|
| 299 |
-
],
|
| 300 |
-
"00ee7c5d": [
|
| 301 |
-
"5801"
|
| 302 |
-
],
|
| 303 |
-
"011569de": [
|
| 304 |
-
"9467"
|
| 305 |
-
],
|
| 306 |
-
"01a85c17": [
|
| 307 |
-
"4014",
|
| 308 |
-
"9786"
|
| 309 |
-
],
|
| 310 |
-
"020ab42c": [
|
| 311 |
-
"4256"
|
| 312 |
-
],
|
| 313 |
-
"035e6482": [
|
| 314 |
-
"8063"
|
| 315 |
-
],
|
| 316 |
-
"05dd1d8d": [
|
| 317 |
-
"7766"
|
| 318 |
-
],
|
| 319 |
-
"06fec20e": [
|
| 320 |
-
"6937"
|
| 321 |
-
],
|
| 322 |
-
"071ce53f": [
|
| 323 |
-
"6106"
|
| 324 |
-
],
|
| 325 |
-
"0af73ac6": [
|
| 326 |
-
"6301"
|
| 327 |
-
],
|
| 328 |
-
"0e384e19": [
|
| 329 |
-
"5217"
|
| 330 |
-
],
|
| 331 |
-
"0f8348c9": [
|
| 332 |
-
"8055"
|
| 333 |
-
],
|
| 334 |
-
"122286dc": [
|
| 335 |
-
"9888"
|
| 336 |
-
],
|
| 337 |
-
"16ee712e": [
|
| 338 |
-
"4264"
|
| 339 |
-
],
|
| 340 |
-
"1701597a": [
|
| 341 |
-
"9077"
|
| 342 |
-
],
|
| 343 |
-
"184fdeb8": [
|
| 344 |
-
"2942"
|
| 345 |
-
],
|
| 346 |
-
"1857e65d": [
|
| 347 |
-
"3991"
|
| 348 |
-
],
|
| 349 |
-
"1df93b7f": [
|
| 350 |
-
"4014",
|
| 351 |
-
"9452"
|
| 352 |
-
],
|
| 353 |
-
"1f391b9e": [
|
| 354 |
-
"4014",
|
| 355 |
-
"8237",
|
| 356 |
-
"7182"
|
| 357 |
-
],
|
| 358 |
-
"20f3ce0e": [
|
| 359 |
-
"274"
|
| 360 |
-
],
|
| 361 |
-
"215821a5": [
|
| 362 |
-
"5931"
|
| 363 |
-
],
|
| 364 |
-
"224f762a": [
|
| 365 |
-
"8298"
|
| 366 |
-
],
|
| 367 |
-
"22d74879": [
|
| 368 |
-
"3709"
|
| 369 |
-
],
|
| 370 |
-
"22dbb513": [
|
| 371 |
-
"5143"
|
| 372 |
-
],
|
| 373 |
-
"23ac305d": [
|
| 374 |
-
"4229"
|
| 375 |
-
],
|
| 376 |
-
"249ac11a": [
|
| 377 |
-
"5842"
|
| 378 |
-
],
|
| 379 |
-
"24e5de49": [
|
| 380 |
-
"1216"
|
| 381 |
-
],
|
| 382 |
-
"27d6fb54": [
|
| 383 |
-
"2672"
|
| 384 |
-
],
|
| 385 |
-
"297bc4f0": [
|
| 386 |
-
"1225"
|
| 387 |
-
],
|
| 388 |
-
"2a86608d": [
|
| 389 |
-
"6021"
|
| 390 |
-
],
|
| 391 |
-
"2ac6a958": [
|
| 392 |
-
"7743"
|
| 393 |
-
],
|
| 394 |
-
"2d004e28": [
|
| 395 |
-
"235"
|
| 396 |
-
],
|
| 397 |
-
"2dcffdcf": [
|
| 398 |
-
"7540"
|
| 399 |
-
],
|
| 400 |
-
"2df74038": [
|
| 401 |
-
"8926"
|
| 402 |
-
],
|
| 403 |
-
"2f594f76": [
|
| 404 |
-
"6033"
|
| 405 |
-
],
|
| 406 |
-
"33fc5bb8": [
|
| 407 |
-
"4014",
|
| 408 |
-
"6726",
|
| 409 |
-
"8237",
|
| 410 |
-
"48"
|
| 411 |
-
],
|
| 412 |
-
"3596a262": [
|
| 413 |
-
"9072"
|
| 414 |
-
],
|
| 415 |
-
"36994c47": [
|
| 416 |
-
"191"
|
| 417 |
-
],
|
| 418 |
-
"371baba0": [
|
| 419 |
-
"6419"
|
| 420 |
-
],
|
| 421 |
-
"3a2db09e": [
|
| 422 |
-
"3186"
|
| 423 |
-
],
|
| 424 |
-
"3d7971ff": [
|
| 425 |
-
"9279"
|
| 426 |
-
],
|
| 427 |
-
"3dfafb05": [
|
| 428 |
-
"589"
|
| 429 |
-
],
|
| 430 |
-
"41ded513": [
|
| 431 |
-
"4955"
|
| 432 |
-
],
|
| 433 |
-
"42b80eee": [
|
| 434 |
-
"2025"
|
| 435 |
-
],
|
| 436 |
-
"43ba02d6": [
|
| 437 |
-
"1948"
|
| 438 |
-
],
|
| 439 |
-
"46d8d6fc": [
|
| 440 |
-
"2779"
|
| 441 |
-
],
|
| 442 |
-
"47d496d4": [
|
| 443 |
-
"5122"
|
| 444 |
-
],
|
| 445 |
"48160a85": [
|
| 446 |
"5791"
|
| 447 |
],
|
|
@@ -807,6 +649,164 @@
|
|
| 807 |
"9783",
|
| 808 |
"9786",
|
| 809 |
"4014"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 287 |
"48160a85": [
|
| 288 |
"5791"
|
| 289 |
],
|
|
|
|
| 649 |
"9783",
|
| 650 |
"9786",
|
| 651 |
"4014"
|
| 652 |
+
],
|
| 653 |
+
"main": [
|
| 654 |
+
"4014",
|
| 655 |
+
"9783",
|
| 656 |
+
"1889"
|
| 657 |
+
],
|
| 658 |
+
"runtime~main": [
|
| 659 |
+
"1889",
|
| 660 |
+
"4014",
|
| 661 |
+
"9783"
|
| 662 |
+
],
|
| 663 |
+
"0058b4c6": [
|
| 664 |
+
"266"
|
| 665 |
+
],
|
| 666 |
+
"00ee7c5d": [
|
| 667 |
+
"5801"
|
| 668 |
+
],
|
| 669 |
+
"011569de": [
|
| 670 |
+
"9467"
|
| 671 |
+
],
|
| 672 |
+
"01a85c17": [
|
| 673 |
+
"4014",
|
| 674 |
+
"9786"
|
| 675 |
+
],
|
| 676 |
+
"020ab42c": [
|
| 677 |
+
"4256"
|
| 678 |
+
],
|
| 679 |
+
"035e6482": [
|
| 680 |
+
"8063"
|
| 681 |
+
],
|
| 682 |
+
"05dd1d8d": [
|
| 683 |
+
"7766"
|
| 684 |
+
],
|
| 685 |
+
"06fec20e": [
|
| 686 |
+
"6937"
|
| 687 |
+
],
|
| 688 |
+
"071ce53f": [
|
| 689 |
+
"6106"
|
| 690 |
+
],
|
| 691 |
+
"0af73ac6": [
|
| 692 |
+
"6301"
|
| 693 |
+
],
|
| 694 |
+
"0e384e19": [
|
| 695 |
+
"5217"
|
| 696 |
+
],
|
| 697 |
+
"0f8348c9": [
|
| 698 |
+
"8055"
|
| 699 |
+
],
|
| 700 |
+
"122286dc": [
|
| 701 |
+
"9888"
|
| 702 |
+
],
|
| 703 |
+
"16ee712e": [
|
| 704 |
+
"4264"
|
| 705 |
+
],
|
| 706 |
+
"1701597a": [
|
| 707 |
+
"9077"
|
| 708 |
+
],
|
| 709 |
+
"184fdeb8": [
|
| 710 |
+
"2942"
|
| 711 |
+
],
|
| 712 |
+
"1857e65d": [
|
| 713 |
+
"3991"
|
| 714 |
+
],
|
| 715 |
+
"1df93b7f": [
|
| 716 |
+
"4014",
|
| 717 |
+
"9452"
|
| 718 |
+
],
|
| 719 |
+
"1f391b9e": [
|
| 720 |
+
"4014",
|
| 721 |
+
"8237",
|
| 722 |
+
"7182"
|
| 723 |
+
],
|
| 724 |
+
"20f3ce0e": [
|
| 725 |
+
"274"
|
| 726 |
+
],
|
| 727 |
+
"215821a5": [
|
| 728 |
+
"5931"
|
| 729 |
+
],
|
| 730 |
+
"224f762a": [
|
| 731 |
+
"8298"
|
| 732 |
+
],
|
| 733 |
+
"22d74879": [
|
| 734 |
+
"3709"
|
| 735 |
+
],
|
| 736 |
+
"22dbb513": [
|
| 737 |
+
"5143"
|
| 738 |
+
],
|
| 739 |
+
"23ac305d": [
|
| 740 |
+
"4229"
|
| 741 |
+
],
|
| 742 |
+
"249ac11a": [
|
| 743 |
+
"5842"
|
| 744 |
+
],
|
| 745 |
+
"24e5de49": [
|
| 746 |
+
"1216"
|
| 747 |
+
],
|
| 748 |
+
"27d6fb54": [
|
| 749 |
+
"2672"
|
| 750 |
+
],
|
| 751 |
+
"297bc4f0": [
|
| 752 |
+
"1225"
|
| 753 |
+
],
|
| 754 |
+
"2a86608d": [
|
| 755 |
+
"6021"
|
| 756 |
+
],
|
| 757 |
+
"2ac6a958": [
|
| 758 |
+
"7743"
|
| 759 |
+
],
|
| 760 |
+
"2d004e28": [
|
| 761 |
+
"235"
|
| 762 |
+
],
|
| 763 |
+
"2dcffdcf": [
|
| 764 |
+
"7540"
|
| 765 |
+
],
|
| 766 |
+
"2df74038": [
|
| 767 |
+
"8926"
|
| 768 |
+
],
|
| 769 |
+
"2f594f76": [
|
| 770 |
+
"6033"
|
| 771 |
+
],
|
| 772 |
+
"33fc5bb8": [
|
| 773 |
+
"4014",
|
| 774 |
+
"6726",
|
| 775 |
+
"8237",
|
| 776 |
+
"48"
|
| 777 |
+
],
|
| 778 |
+
"3596a262": [
|
| 779 |
+
"9072"
|
| 780 |
+
],
|
| 781 |
+
"36994c47": [
|
| 782 |
+
"191"
|
| 783 |
+
],
|
| 784 |
+
"371baba0": [
|
| 785 |
+
"6419"
|
| 786 |
+
],
|
| 787 |
+
"3a2db09e": [
|
| 788 |
+
"3186"
|
| 789 |
+
],
|
| 790 |
+
"3d7971ff": [
|
| 791 |
+
"9279"
|
| 792 |
+
],
|
| 793 |
+
"3dfafb05": [
|
| 794 |
+
"589"
|
| 795 |
+
],
|
| 796 |
+
"41ded513": [
|
| 797 |
+
"4955"
|
| 798 |
+
],
|
| 799 |
+
"42b80eee": [
|
| 800 |
+
"2025"
|
| 801 |
+
],
|
| 802 |
+
"43ba02d6": [
|
| 803 |
+
"1948"
|
| 804 |
+
],
|
| 805 |
+
"46d8d6fc": [
|
| 806 |
+
"2779"
|
| 807 |
+
],
|
| 808 |
+
"47d496d4": [
|
| 809 |
+
"5122"
|
| 810 |
]
|
| 811 |
},
|
| 812 |
"assets": {
|
|
|
|
| 2758 |
"js": [
|
| 2759 |
{
|
| 2760 |
"file": "assets/js/runtime~main.c8fa085e.js",
|
| 2761 |
+
"hash": "6e9f8bce42132772",
|
| 2762 |
"publicPath": "/assets/js/runtime~main.c8fa085e.js"
|
| 2763 |
}
|
| 2764 |
]
|