Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4973ba0
Add a TypeScript 7 typecheck for the JavaScript assets
simon04 Sep 14, 2026
9777204
Type the event emitter
simon04 Sep 14, 2026
4eed3e4
Type the storage wrappers and the Ajax helper
simon04 Sep 14, 2026
9114c87
Type the DOM helpers
simon04 Sep 14, 2026
6b01fcf
Type the router, the favicon helper and the app singleton
simon04 Sep 14, 2026
e8a2bd3
Type the models and the collections
simon04 Sep 14, 2026
1b631c6
Type the app services
simon04 Sep 14, 2026
4e0bf9d
Document the app services
simon04 Sep 14, 2026
a58fdb3
Type the view base class and check the views
simon04 Sep 14, 2026
7b395b5
Check the asset tests too
simon04 Sep 14, 2026
c0c5477
Type the view, model and collection base classes
simon04 Sep 14, 2026
c87b6bf
Document the templates
simon04 Sep 14, 2026
39976d3
Document the notifications and the simple pages
simon04 Sep 14, 2026
8850a6d
Document the list behaviours
simon04 Sep 14, 2026
b6f5b3c
Document the layout views
simon04 Sep 14, 2026
e20a16b
Document the sidebar views
simon04 Sep 14, 2026
2f7006f
Document the search views
simon04 Sep 14, 2026
acd479d
Document the content views
simon04 Sep 14, 2026
e9aecf4
Document the app singleton, the constructors and the debug helpers
simon04 Sep 14, 2026
f972fdf
Run the asset typecheck and tests in CI
simon04 Sep 14, 2026
af3c8e7
Use unknown where the value is only passed through
simon04 Sep 14, 2026
93cd6d9
Name the models and collections so they can be typed
simon04 Sep 14, 2026
cd19695
Declare the model properties, and name the app services
simon04 Sep 14, 2026
487f519
Name the view classes and type the view registry
simon04 Sep 14, 2026
f23ba39
Narrow the view element and event targets
simon04 Sep 14, 2026
d7ebd71
Type the DOM helpers as elements
simon04 Sep 14, 2026
33094e3
Type the node walks and the remaining view parameters
simon04 Sep 14, 2026
441f8fc
Type the view content helpers and the node walks
simon04 Sep 14, 2026
aa50ce2
Declare the views' injected properties, dropping the View index signa…
simon04 Sep 14, 2026
67b157c
Type the settings, the template registry and the IndexedDB events
simon04 Sep 14, 2026
2b8955c
Type the router context, the request handles and the page handlers
simon04 Sep 14, 2026
bccc07a
Remove the last of the any annotations
simon04 Sep 14, 2026
7ebe615
Pin Node and don't rely on --test scanning a directory
simon04 Sep 14, 2026
15effcd
Model the stored flags as what they round-trip to
simon04 Sep 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruby tests
name: Tests

on:
pull_request:
Expand All @@ -7,6 +7,7 @@ on:

jobs:
test:
name: Ruby tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
Expand All @@ -16,3 +17,19 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake

assets:
name: Asset typecheck and tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: .tool-versions
cache: npm
- run: npm ci
- name: Typecheck the assets
run: npm run typecheck
- name: Run the asset tests
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ docs/**/*
*.zip
assets/stylesheets/components/_environment.scss
assets/stylesheets/global/_icons.scss
node_modules
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ruby 4.0.6
nodejs 26.8.2
Loading
Loading