Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
340919d
refactor(demo): Implement data-driven demo app with DemoRouterReposit…
AustinChangLinksys Dec 24, 2025
ba1438e
feat(usp): add capability-driven architecture and hybrid monitoring
AustinChangLinksys Dec 26, 2025
1f05d64
refactor(privacy_gui): replace custom LoadingTile with AppSkeleton
AustinChangLinksys Dec 29, 2025
387be3e
fix(privacy_gui): bypass cloud login in demo app routing
AustinChangLinksys Dec 29, 2025
a6fd920
chore: update ui_kit to v2.5.0 and sync visual effect definitions
AustinChangLinksys Dec 29, 2025
32956b1
feat(demo): update dynamic theme settings FAB and fix topbar theme sync
AustinChangLinksys Dec 29, 2025
a3b1abb
feat: update ui_kit to v2.8.0 and enable topology animation in demo
AustinChangLinksys Dec 30, 2025
fcbe8ef
Merge remote-tracking branch 'origin/dev-2.0.0' into feature/demo-app…
AustinChangLinksys Dec 30, 2025
06d90f0
fix(test): resolve pumpAndSettle timeouts by disabling visual effects…
AustinChangLinksys Dec 30, 2025
ff86490
ci: add deploy-demo workflow
AustinChangLinksys Dec 30, 2025
15ea064
refactor(login): migrate AppPasswordInput from hint: to hintText:
AustinChangLinksys Dec 31, 2025
d0c4fff
fix: Stabilize snapshot tests and resolve functional failures
AustinChangLinksys Jan 2, 2026
93cb9b0
feat(ai): Add Router AI Assistant and cleanup dependencies
AustinChangLinksys Jan 5, 2026
6511db0
Merge remote-tracking branch 'origin/dev-2.0.0' into feature/demo-app…
AustinChangLinksys Jan 5, 2026
4300902
fix: correct method signatures in RouterRepository subclasses
AustinChangLinksys Jan 5, 2026
e0c0e29
fix: use env.template instead of .env for CI builds
AustinChangLinksys Jan 5, 2026
f5c1675
fix: add env.template to assets/.env copy step in CI
AustinChangLinksys Jan 5, 2026
f6f9fc5
fix(usp): improve DHCP enable logic with null-safe default
AustinChangLinksys Jan 5, 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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
- name: 🔄 Configure Git to use SSH
run: git config --global url."[email protected]:".insteadOf "https://github.com/"

- name: 📋 Setup Environment File
run: cp env.template assets/.env

- name: Install Dependencies
run: flutter pub get

Expand Down Expand Up @@ -97,6 +100,9 @@ jobs:
- name: 🔄 Configure Git to use SSH
run: git config --global url."[email protected]:".insteadOf "https://github.com/"

- name: 📋 Setup Environment File
run: cp env.template assets/.env

- name: Install Dependencies
run: flutter pub get

Expand Down
84 changes: 84 additions & 0 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: 🚀 Deploy Demo to GitHub Pages

# 手動觸發
on:
workflow_dispatch:
inputs:
environment:
description: 'Deployment environment'
required: false
default: 'demo'
type: choice
options:
- demo
- staging

# 設定 GitHub Pages 所需的權限
permissions:
contents: read
pages: write
id-token: write

# 避免同時部署衝突
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
name: 🏗️ Build Demo Web
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: 📥 Checkout
uses: actions/checkout@v4

- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true

# Setup SSH for private dependencies (same as ci.yml)
- name: 🔑 Setup SSH for Private Deps
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.UI_KIT_DEPLOY_KEY }}

- name: 🔄 Configure Git to use SSH
run: git config --global url."[email protected]:".insteadOf "https://github.com/"

- name: 📦 Install Dependencies
run: flutter pub get

- name: 🌐 Build Web (Demo Mode)
run: |
flutter build web \
--release \
--target=lib/main_demo.dart \
--base-href "/PrivacyGUI/demo/"

- name: � Prepare Deploy Structure
run: |
mkdir -p deploy/demo
mv build/web/* deploy/demo/

- name: �📤 Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: deploy

deploy:
name: 🚀 Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: 🌍 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ plugins/ios_push_notification_plugin/example/pubspec.lock
plugins/sms_receiver_plugin/example/pubspec.lock
plugins/universal_link_plugin/example/pubspec.lock
build/app/outputs/*
packages

plugins/connecting_wifi_plugin/example/pubspec.lock
plugins/ios_push_notification_plugin/example/pubspec.lock
plugins/sms_receiver_plugin/example/pubspec.lock
Expand All @@ -97,7 +97,7 @@ test/**/*.mocks.dart

#
untranslated.txt
packages

snapshots/*
reports/*
lib/l10n/gen/app_localizations_ar.dart
Expand Down
2,818 changes: 2,818 additions & 0 deletions assets/resources/demo_cache_data.json

Large diffs are not rendered by default.

Loading