summaryrefslogtreecommitdiff
path: root/view/dart
AgeCommit message (Collapse)Author
6 daysview: dart: Add dependencies including `web`xengineering
This allows to read / write elements of the webpage.
6 daysview: dart: dart2js.sh: Use `dart pub get`xengineering
This command makes sure dependencies are pulled. This is required to access elements of the web page from Dart code.
6 daysview: dart: Update analysis_options.yamlxengineering
This configures linting to support writing good Dart code.
6 daysview: dart: .gitignore: Add .dart_toolxengineering
These are cached files of the dart tool which should not be committed.
2026-08-15Introduce Dart infrastructure for frontendxengineering
The Dart programming language is excellent for frontend use. It is suitable to write command line programs, web interfaces with the builtin JavaScript transpiler and cross-platform applications with Flutter. To focus on a small number of languages Dart should now be used for frontend purposes as Go is used for backend purposes. Thus it is a valid option to start the migration for Ceres from Go + JavaScript to Go + Dart. This commit sets up the infrastructure. A `view/dart/ceres.dart` file is added together with tooling to transpile to JavaScript, embed it into the Go executable and serve it. Furthermore the script which just prints a message to the console is added to every page. Further commits can move existing code to Dart or add new code in Dart.