Skip to content

Made Line Charts Better - #354

Merged
AlexanderKaran merged 2 commits into
mainfrom
line-charts
Jul 25, 2026
Merged

Made Line Charts Better#354
AlexanderKaran merged 2 commits into
mainfrom
line-charts

Conversation

@AlexanderKaran

Copy link
Copy Markdown
Collaborator

Improved line charts designs and added change from last version. Also added tables for screen readers
Screenshot 2026-07-25 at 11 15 33 am
Screenshot 2026-07-25 at 11 14 55 am

@AlexanderKaran
AlexanderKaran requested a review from 43081j as a code owner July 25, 2026 03:34
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
framework-tracker 2c85a5f Commit Preview URL

Branch Preview URL
Jul 25 2026, 05:02 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Deploying framework-tracker with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2c85a5f
Status: ✅  Deploy successful!
Preview URL: https://e464d42d.framework-tracker.pages.dev
Branch Preview URL: https://line-charts.framework-tracker.pages.dev

View logs

Comment on lines +101 to +109
const latestChangeLabel =
latestChange == null
? null
: latestChange === 0
? 'No change'
: `${latestChange > 0 ? '+' : '−'}${formatChartValue(
Math.abs(latestChange),
valueFormat,
)}`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit double ternaries always hurt readability and my eyeballs

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I thought you might say that. I can change it.

@AlexanderKaran
AlexanderKaran merged commit d4f5667 into main Jul 25, 2026
3 checks passed
@AlexanderKaran
AlexanderKaran deleted the line-charts branch July 25, 2026 05:11
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.

2 participants