Skip to content

GHI #106 - TypeScript Rewrite [main] - #108

Merged
favillat merged 12 commits into
mainfrom
FV/typescript-rewrite
Aug 20, 2026
Merged

GHI #106 - TypeScript Rewrite [main]#108
favillat merged 12 commits into
mainfrom
FV/typescript-rewrite

Conversation

@favillat

@favillat favillat commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Issue: #106

Description

Migrating from JavaScript to TypeScript improves code quality, reliability, and maintainability by introducing static type checking that catches many errors during development rather than at runtime. It also enhances the developer experience through better IDE support, including autocompletion, inline documentation, refactoring tools, and improved code navigation. As projects grow, TypeScript's explicit type definitions and interfaces make the codebase easier to understand, maintain, and onboard new contributors to. Additionally, its strong ecosystem support across modern frameworks and tools makes it a practical choice for long-term development. Finally, Js Sucks like a lot for development and testing.

Originator Checklist

  • Title matches the form "GHI # - []"
  • Target branch is correct
  • Unit Tests have been posted in issue <if applicable,can be super simple like a screenshot>
  • Issue has been linked to this PR
  • Changes generate no new warnings
    • merge main into your branch to resolve conflicts before opening PR!


@favillat favillat self-assigned this Jun 18, 2026
@favillat favillat linked an issue Jun 18, 2026 that may be closed by this pull request
@ETSells ETSells linked an issue Jul 6, 2026 that may be closed by this pull request
@favillat
favillat marked this pull request as ready for review August 16, 2026 22:55
@favillat

Copy link
Copy Markdown
Contributor Author
ts_quat_demo.mp4

demo showing off main function of dashboard, properly reading dashboard dump csv, needs to be tested on actual fc

@favillat
favillat requested a review from ETSells August 16, 2026 23:02
@ETSells

ETSells commented Aug 17, 2026

Copy link
Copy Markdown
Member

We've fixed the quats on another PR in this stack, in case the new changes conflict. Will take a look when I can

@ETSells ETSells left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Apologies for the push to this branch, I needed to clear a merge conflict. Nick and I have tested the quat renderer pretty extensively on the stacked PR, so I made a partial reversion to your branch here.

This is a pretty clean conversion and I'm really happy with how it's turned out! Typescript has been a lot easier for me to work with when required.

General notes:

  • We should make a push for better documentation from here on out via things like JavaDoc style comments.
  • We should also take better advantage of object oriented design principles for models/backend logic.

Other than all that, it looks good to me!

Comment thread src/app/layout.tsx
import type { ReactNode } from "react";
import "./styles/globals.css";

export const metadata: Metadata = {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

might wanna define this all finally

@favillat

Copy link
Copy Markdown
Contributor Author

@ETSells I'll open a new issue out for docstyle comments I like that idea quite a bit. related to issues #99 and #107.

Do you want me to restructure a bit of the backend logic now? or would it better to get this in as is and open a new issue out for improved design.

@ETSells

ETSells commented Aug 20, 2026

Copy link
Copy Markdown
Member

I would rather get this in now and then defer the refactor. There's a stacked PR that's blocking firmware really badly right now that I'd like to get in as soon as possible

@favillat

Copy link
Copy Markdown
Contributor Author

sounds good I kinda figured this took priority.

weird question...would you happen to be in chens class rn?

@favillat
favillat merged commit 0dbdb68 into main Aug 20, 2026
@ETSells

ETSells commented Aug 20, 2026

Copy link
Copy Markdown
Member

are you behind me bro

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.

Feature: Migrate to TypeScript Render: Change rendering from Euler to Quats

2 participants