Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: CJBuchel
31 changes: 31 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Documentation

on: [push, pull_request]

jobs:
generate:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

# Install dependencies
- name: Install dependencies
run: |
pip install mkdocs-material

# Build documentation
- name: Build documentation
run: |
mkdocs build -d _build

# Publish documentation
- name: Publish documentation
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
publish_branch: gh-pages
publish_dir: _build
force_orphan: true
11 changes: 8 additions & 3 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Code Quality

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
push:
branches:
Expand All @@ -19,6 +16,8 @@ jobs:
protobuf-check:
name: Protobuf Linting
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Install Protoc
Expand All @@ -32,6 +31,8 @@ jobs:

rust-check:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Install Protoc
Expand All @@ -46,6 +47,8 @@ jobs:

flutter-check:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
Expand All @@ -62,6 +65,8 @@ jobs:
pre-commit:
name: Pre-commit Checks
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ default_install_hook_types:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
# Whitespace and formatting
- id: trailing-whitespace
Expand All @@ -37,7 +37,7 @@ repos:
- id: check-symlinks
- id: destroyed-symlinks
- repo: https://github.com/crate-ci/typos
rev: v1.40.0
rev: typos-dict-v0.13.13
hooks:
- id: typos
args: []
Expand Down
4 changes: 2 additions & 2 deletions client/lib/base/app_bar/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class BaseAppBar extends ConsumerWidget implements PreferredSizeWidget {
automaticallyImplyLeading: true,
title: tournamentStream.when(
data: (t) => Text(t.tournament.name),
loading: () => const Text("N/A"),
loading: () => const Text('N/A'),
error: (error, stack) =>
Text("Error: $error", style: TextStyle(color: supportErrorColor)),
Text('Error: $error', style: TextStyle(color: supportErrorColor)),
),
actions: _actions(),
);
Expand Down
2 changes: 1 addition & 1 deletion client/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void main() async {
// Ensure flutter binding is initialized
WidgetsFlutterBinding.ensureInitialized();

logger.i("Starting TMS Client...");
logger.i('Starting TMS Client...');

// Init local storage
await initializeLocalStorage();
Expand Down
4 changes: 2 additions & 2 deletions client/lib/providers/grpc_channel_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class GrpcChannel extends _$GrpcChannel {
}

void reconnect() {
logger.i("Reconnecting gRPC channel on next access...");
logger.i('Reconnecting gRPC channel on next access...');
ref.invalidateSelf();
}

Expand All @@ -56,7 +56,7 @@ class GrpcChannel extends _$GrpcChannel {
channel.shutdown();
});

logger.i("gRPC channel created: $serverIp:$apiPort (TLS: $tls)");
logger.i('gRPC channel created: $serverIp:$apiPort (TLS: $tls)');
return channel;
}
}
2 changes: 0 additions & 2 deletions client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ flutter:

assets:
- assets/images/
- assets/images/missions/2023/
- assets/images/missions/2024/
- assets/images/missions/2025/
- assets/logos/
- assets/audio/
Expand Down
Loading