Skip to content

Introduced TypeScript (Part 1) - #1220

Open
ijlee2 wants to merge 7 commits into
mainfrom
introduce-typescript-part-1
Open

Introduced TypeScript (Part 1)#1220
ijlee2 wants to merge 7 commits into
mainfrom
introduce-typescript-part-1

Conversation

@ijlee2

@ijlee2 ijlee2 commented Sep 3, 2026

Copy link
Copy Markdown
Member

Background

By using *.{gts,ts} files, we can provide linters like eslint, glint, and typescript more information and they can help us (maintainers and contributors) change code with more confidence.

What changed?

I refactored code (removed custom methods on assert, unused code for survey route templates, unnecessary controllers, and unnecessary helpers) so that it's easier to introduce types and review changes in #1221 and #1222.

I recommend selecting the "Hide whitespace" option to review diffs.

@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploy Preview for ember-website ready!

Name Link
🔨 Latest commit a166e3f
🔍 Latest deploy log https://app.netlify.com/projects/ember-website/deploys/6a992ee71aebcb0008ba4bd8
😎 Deploy Preview https://deploy-preview-1220--ember-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

1/14 Files got Bigger 🚨:

Details
File raw gzip
chunk.140.js +11.9 kB +1.83 kB

1/14 Files got Smaller 🎉:

Details
File raw gzip
ember-website.js -8.97 kB -1.11 kB

1/14 Files got Deleted 🗑️:

Details
File raw gzip
chunk.60.js -11.9 kB -1.83 kB

11/14 Files stayed the same size 🤷‍:

Details
File raw gzip
blurhash.js 0 B 0 B
chunk.309.js 0 B 0 B
chunk.328.js 0 B 0 B
chunk.524.js +2 B +2 B
chunk.582.js +4 B +2 B
chunk.633.js 0 B 0 B
chunk.96.js 0 B 0 B
ember-website-fastboot.js 0 B 0 B
vendor.js 0 B 0 B
ember-website.css 0 B 0 B
vendor.css 0 B 0 B

Created by ember-asset-size-action

@ijlee2
ijlee2 marked this pull request as ready for review September 3, 2026 08:16
@ijlee2
ijlee2 force-pushed the introduce-typescript-part-1 branch from a7fce13 to a166e3f Compare September 3, 2026 08:25
});

assert.hasPageTitle('Legal - Ember.js');
assertPageTitle(assert, 'Legal - Ember.js');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's easier to type a function than an overridden assert (and, at a later point, the delete assert statement).

],
});

// Q3.01: How many developers at your company are responsible for writing Front-End code?

@ijlee2 ijlee2 Sep 3, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think it's okay to remove these data because the routes for past years are hidden (they can't be reached via the top navigation menu). If we keep these code around, some of the chart instances will result in a type error that needs to be fixed or ignored.

@ijlee2
ijlee2 requested a review from a team September 3, 2026 08:41
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.

1 participant