Skip to content

client participation beta#2304

Merged
ballPointPenguin merged 2 commits into
edgefrom
br/client-participation-beta
Feb 17, 2026
Merged

client participation beta#2304
ballPointPenguin merged 2 commits into
edgefrom
br/client-participation-beta

Conversation

@ballPointPenguin
Copy link
Copy Markdown
Member

@ballPointPenguin ballPointPenguin commented Nov 20, 2025

Stacked on #2302

TODO

  • Update all libraries
  • Convert js to ts, jsx to tsx
  • Set up eslint
  • Lint fixes
  • Improve typings throughout
  • Set up formatting (prettier)
  • Format everything
  • Centralize API calls in src/api/
  • Extract svg markup into components
  • Break up PCA visualization into smaller components
  • Validate a11y
  • Validate custom translations
  • Validate 3rd party translations
  • Unit tests
  • Component tests
  • Github Workflow for CI
  • Validate Embeds
  • E2E Cypress tests
  • Validate mobile layout
  • Screen Reader affordances
  • Custom Themes (future work)

@ballPointPenguin ballPointPenguin force-pushed the br/client-participation-beta branch from e91fa03 to 7b2117b Compare November 25, 2025 18:13
@ballPointPenguin ballPointPenguin marked this pull request as ready for review November 27, 2025 07:14
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@compdemocracy compdemocracy deleted a comment from github-actions Bot Nov 27, 2025
@ballPointPenguin ballPointPenguin force-pushed the br/client-participation-beta branch from a451af2 to 1e281e6 Compare December 4, 2025 22:18
@compdemocracy compdemocracy deleted a comment from github-actions Bot Dec 4, 2025
@ballPointPenguin ballPointPenguin force-pushed the br/client-participation-beta branch 3 times, most recently from 2bb7424 to 68c59f4 Compare December 12, 2025 04:27
@ballPointPenguin ballPointPenguin force-pushed the br/client-participation-beta branch 3 times, most recently from 5df9d51 to 9c14307 Compare December 19, 2025 19:20
@compdemocracy compdemocracy deleted a comment from github-actions Bot Dec 19, 2025
@ballPointPenguin ballPointPenguin force-pushed the br/client-participation-beta branch from 074d21d to b9b59e8 Compare February 12, 2026 05:20
Copy link
Copy Markdown
Collaborator

@tevko tevko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @ballPointPenguin can we get a screenshot of performance differences between this pr and client-participation-alpha survey page on prod? just want to ensure we've preserved our performance metrics, particularly with regard to initial page load size and time

@ballPointPenguin
Copy link
Copy Markdown
Member Author

@tevko
This is the results from some basic web app perf evaluations with lighthouse.
The script for this is in branch br/perf-compare.
Results are very promising. We also capture a current prod evaluation for before/after comparison.

Performance Comparison Report

  • Date: 2026-02-17 01:10:46
  • Conversation: 2jztymipfp
  • Runs per target: 5
  • Tool: Lighthouse 13.0.3
  • Mode: Desktop preset, simulated throttling

Branches

Target Branch / URL Git SHA
Production https://pol.is/alpha/2jztymipfp (deployed)
edge (local) edge 584d5f50b
beta (local) br/client-participation-beta d0c8a7ba1

Results (Median of 5 runs)

Metric Production edge (local) beta (local) Δ edge→beta
Performance Score 78.0 93.0 100.0 +7.0
First Contentful Paint 230.7ms 464.0ms 464.2ms +0.3ms
Largest Contentful Paint 234.7ms 646.0ms 646.3ms +0.3ms
Total Blocking Time 475.0ms 0.0ms 0.0ms 0.0ms
Speed Index 867.7ms 464.0ms 464.2ms +0.3ms
Cumulative Layout Shift 0.1 0.2 0.0 -0.1

Individual Run Scores

  • production: 77, 77, 78, 78, 79
  • edge: 93, 93, 93, 96, 93
  • beta: 100, 100, 100, 100, 100

Notes

  • Local runs used the Astro standalone preview server (SSR) with the Docker API backend.
  • Production results include network latency and CDN effects; local results do not.
  • The Δ column shows the change from edge→beta. Negative values for timing metrics indicate improvement.

Generated by scripts/perf-compare.sh

@ballPointPenguin ballPointPenguin merged commit 257dde8 into edge Feb 17, 2026
5 checks passed
@ballPointPenguin ballPointPenguin deleted the br/client-participation-beta branch February 17, 2026 18:24
@xeeg
Copy link
Copy Markdown
Contributor

xeeg commented Feb 17, 2026

Voting on the new embed fails with 500 when topic either does not exist, or is not selected.
See https://www.showra.org/conversations/testing for 2jztymipfp (same one used here for testing i.e with topics) and https://www.showra.org/conversations/on-democracy for one without topics.

Also XID, ucsh, ucst, ucsh, ui_lang are all broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants