From 6faa995b192bcdc57172d891d71ac8d181353865 Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Wed, 27 Dec 2023 16:45:55 +0100 Subject: [PATCH] add frontend and put backend in seperate folder --- Dockerfile | 20 +- Cargo.lock => backend/Cargo.lock | 63 +++ Cargo.toml => backend/Cargo.toml | 9 +- {scripts => backend/scripts}/README.md | 0 {scripts => backend/scripts}/makepkg | 0 {src => backend/src}/api/add.rs | 0 {src => backend/src}/api/backend.rs | 1 + backend/src/api/embed.rs | 51 +++ {src => backend/src}/api/list.rs | 0 {src => backend/src}/api/mod.rs | 2 + {src => backend/src}/api/remove.rs | 0 {src => backend/src}/aur/aur.rs | 0 {src => backend/src}/aur/mod.rs | 0 {src => backend/src}/builder/builder.rs | 0 {src => backend/src}/builder/mod.rs | 0 {src => backend/src}/builder/types.rs | 0 {src => backend/src}/db/builds.rs | 0 {src => backend/src}/db/migration/create.rs | 0 {src => backend/src}/db/migration/mod.rs | 0 {src => backend/src}/db/mod.rs | 0 {src => backend/src}/db/packages.rs | 0 {src => backend/src}/db/prelude.rs | 0 {src => backend/src}/db/status.rs | 0 {src => backend/src}/db/versions.rs | 0 {src => backend/src}/main.rs | 13 +- {src => backend/src}/pkgbuild/build.rs | 0 {src => backend/src}/pkgbuild/mod.rs | 0 {src => backend/src}/repo/mod.rs | 0 {src => backend/src}/repo/repo.rs | 0 frontend/.gitignore | 43 ++ frontend/.metadata | 45 ++ frontend/README.md | 16 + frontend/analysis_options.yaml | 28 ++ frontend/assets/icons/Documents.svg | 6 + frontend/assets/icons/Search.svg | 6 + frontend/assets/icons/drop_box.svg | 11 + frontend/assets/icons/folder.svg | 3 + frontend/assets/icons/logo.svg | 11 + frontend/assets/icons/media.svg | 3 + frontend/assets/icons/menu_dashbord.svg | 3 + frontend/assets/icons/menu_doc.svg | 3 + frontend/assets/icons/menu_notification.svg | 3 + frontend/assets/icons/menu_profile.svg | 3 + frontend/assets/icons/menu_setting.svg | 3 + frontend/assets/icons/menu_store.svg | 3 + frontend/assets/icons/menu_task.svg | 3 + frontend/assets/icons/menu_tran.svg | 3 + frontend/assets/icons/unknown.svg | 3 + .../lib/core/constants/color_constants.dart | 22 + frontend/lib/core/utils/colorful_tag.dart | 22 + .../lib/core/widgets/app_button_widget.dart | 63 +++ frontend/lib/core/widgets/input_widget.dart | 94 +++++ frontend/lib/core/widgets/wrapper.dart | 34 ++ frontend/lib/main.dart | 31 ++ frontend/lib/models/daily_info_model.dart | 289 +++++++++++++ frontend/lib/models/slider_model.dart | 64 +++ frontend/lib/providers/menu_provider.dart | 1 + frontend/lib/responsive.dart | 44 ++ .../screens/dashboard/components/charts.dart | 95 +++++ .../screens/dashboard/components/header.dart | 117 ++++++ .../components/mini_information_card.dart | 84 ++++ .../components/mini_information_widget.dart | 206 +++++++++ .../dashboard/components/recent_builds.dart | 65 +++ .../dashboard/components/recent_users.dart | 91 ++++ .../components/user_details_mini_card.dart | 64 +++ .../components/user_details_widget.dart | 48 +++ .../screens/dashboard/dashboard_screen.dart | 57 +++ .../screens/home/components/side_menu.dart | 90 ++++ frontend/lib/screens/home/home_screen.dart | 35 ++ frontend/linux/.gitignore | 1 + frontend/linux/CMakeLists.txt | 145 +++++++ frontend/linux/flutter/CMakeLists.txt | 88 ++++ .../flutter/generated_plugin_registrant.cc | 11 + .../flutter/generated_plugin_registrant.h | 15 + .../linux/flutter/generated_plugins.cmake | 23 + frontend/linux/main.cc | 6 + frontend/linux/my_application.cc | 104 +++++ frontend/linux/my_application.h | 18 + frontend/pubspec.lock | 397 ++++++++++++++++++ frontend/pubspec.yaml | 99 +++++ frontend/test/widget_test.dart | 30 ++ frontend/web/favicon.png | Bin 0 -> 917 bytes frontend/web/icons/Icon-192.png | Bin 0 -> 5292 bytes frontend/web/icons/Icon-512.png | Bin 0 -> 8252 bytes frontend/web/icons/Icon-maskable-192.png | Bin 0 -> 5594 bytes frontend/web/icons/Icon-maskable-512.png | Bin 0 -> 20998 bytes frontend/web/index.html | 59 +++ frontend/web/manifest.json | 35 ++ 88 files changed, 2993 insertions(+), 12 deletions(-) rename Cargo.lock => backend/Cargo.lock (98%) rename Cargo.toml => backend/Cargo.toml (89%) rename {scripts => backend/scripts}/README.md (100%) rename {scripts => backend/scripts}/makepkg (100%) rename {src => backend/src}/api/add.rs (100%) rename {src => backend/src}/api/backend.rs (99%) create mode 100644 backend/src/api/embed.rs rename {src => backend/src}/api/list.rs (100%) rename {src => backend/src}/api/mod.rs (53%) rename {src => backend/src}/api/remove.rs (100%) rename {src => backend/src}/aur/aur.rs (100%) rename {src => backend/src}/aur/mod.rs (100%) rename {src => backend/src}/builder/builder.rs (100%) rename {src => backend/src}/builder/mod.rs (100%) rename {src => backend/src}/builder/types.rs (100%) rename {src => backend/src}/db/builds.rs (100%) rename {src => backend/src}/db/migration/create.rs (100%) rename {src => backend/src}/db/migration/mod.rs (100%) rename {src => backend/src}/db/mod.rs (100%) rename {src => backend/src}/db/packages.rs (100%) rename {src => backend/src}/db/prelude.rs (100%) rename {src => backend/src}/db/status.rs (100%) rename {src => backend/src}/db/versions.rs (100%) rename {src => backend/src}/main.rs (90%) rename {src => backend/src}/pkgbuild/build.rs (100%) rename {src => backend/src}/pkgbuild/mod.rs (100%) rename {src => backend/src}/repo/mod.rs (100%) rename {src => backend/src}/repo/repo.rs (100%) create mode 100644 frontend/.gitignore create mode 100644 frontend/.metadata create mode 100644 frontend/README.md create mode 100644 frontend/analysis_options.yaml create mode 100644 frontend/assets/icons/Documents.svg create mode 100644 frontend/assets/icons/Search.svg create mode 100644 frontend/assets/icons/drop_box.svg create mode 100644 frontend/assets/icons/folder.svg create mode 100644 frontend/assets/icons/logo.svg create mode 100644 frontend/assets/icons/media.svg create mode 100644 frontend/assets/icons/menu_dashbord.svg create mode 100644 frontend/assets/icons/menu_doc.svg create mode 100644 frontend/assets/icons/menu_notification.svg create mode 100644 frontend/assets/icons/menu_profile.svg create mode 100644 frontend/assets/icons/menu_setting.svg create mode 100644 frontend/assets/icons/menu_store.svg create mode 100644 frontend/assets/icons/menu_task.svg create mode 100644 frontend/assets/icons/menu_tran.svg create mode 100644 frontend/assets/icons/unknown.svg create mode 100644 frontend/lib/core/constants/color_constants.dart create mode 100644 frontend/lib/core/utils/colorful_tag.dart create mode 100644 frontend/lib/core/widgets/app_button_widget.dart create mode 100644 frontend/lib/core/widgets/input_widget.dart create mode 100644 frontend/lib/core/widgets/wrapper.dart create mode 100644 frontend/lib/main.dart create mode 100644 frontend/lib/models/daily_info_model.dart create mode 100644 frontend/lib/models/slider_model.dart create mode 100644 frontend/lib/providers/menu_provider.dart create mode 100644 frontend/lib/responsive.dart create mode 100644 frontend/lib/screens/dashboard/components/charts.dart create mode 100644 frontend/lib/screens/dashboard/components/header.dart create mode 100644 frontend/lib/screens/dashboard/components/mini_information_card.dart create mode 100644 frontend/lib/screens/dashboard/components/mini_information_widget.dart create mode 100644 frontend/lib/screens/dashboard/components/recent_builds.dart create mode 100644 frontend/lib/screens/dashboard/components/recent_users.dart create mode 100644 frontend/lib/screens/dashboard/components/user_details_mini_card.dart create mode 100644 frontend/lib/screens/dashboard/components/user_details_widget.dart create mode 100644 frontend/lib/screens/dashboard/dashboard_screen.dart create mode 100644 frontend/lib/screens/home/components/side_menu.dart create mode 100644 frontend/lib/screens/home/home_screen.dart create mode 100644 frontend/linux/.gitignore create mode 100644 frontend/linux/CMakeLists.txt create mode 100644 frontend/linux/flutter/CMakeLists.txt create mode 100644 frontend/linux/flutter/generated_plugin_registrant.cc create mode 100644 frontend/linux/flutter/generated_plugin_registrant.h create mode 100644 frontend/linux/flutter/generated_plugins.cmake create mode 100644 frontend/linux/main.cc create mode 100644 frontend/linux/my_application.cc create mode 100644 frontend/linux/my_application.h create mode 100644 frontend/pubspec.lock create mode 100644 frontend/pubspec.yaml create mode 100644 frontend/test/widget_test.dart create mode 100644 frontend/web/favicon.png create mode 100644 frontend/web/icons/Icon-192.png create mode 100644 frontend/web/icons/Icon-512.png create mode 100644 frontend/web/icons/Icon-maskable-192.png create mode 100644 frontend/web/icons/Icon-maskable-512.png create mode 100644 frontend/web/index.html create mode 100644 frontend/web/manifest.json diff --git a/Dockerfile b/Dockerfile index a5c9272..2fbe4b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,9 @@ -# Stage 1: Build the Rust binary +FROM ghcr.io/cirruslabs/flutter:latest AS frontend_builder +WORKDIR /app + +COPY frontend /app +RUN flutter build web --release + FROM rust AS builder # Install necessary tools and dependencies @@ -6,13 +11,15 @@ FROM rust AS builder WORKDIR /app # Copy the Rust project files -COPY ./src /app/src -COPY ./scripts /app/scripts -COPY Cargo.lock /app -COPY Cargo.toml /app +COPY backend/src /app/src +COPY backend/scripts /app/scripts +COPY backend/Cargo.lock /app +COPY backend/Cargo.toml /app + +COPY --from=frontend_builder /app/build/web /app/web # Build the Rust binary -RUN cargo build --release +RUN cargo build --release --features static # Stage 2: Create the final image FROM archlinux @@ -20,6 +27,7 @@ FROM archlinux # Copy the built binary from the previous stage COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled + RUN pacman -Syyu --noconfirm RUN pacman -S --noconfirm base-devel git RUN pacman -Sc diff --git a/Cargo.lock b/backend/Cargo.lock similarity index 98% rename from Cargo.lock rename to backend/Cargo.lock index 65b54bf..123c3bf 100644 --- a/Cargo.lock +++ b/backend/Cargo.lock @@ -2156,6 +2156,40 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rust-embed" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "810294a8a4a0853d4118e3b94bb079905f2107c7fe979d8f0faae98765eb6378" +dependencies = [ + "rust-embed-impl", + "rust-embed-utils", + "walkdir", +] + +[[package]] +name = "rust-embed-impl" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfc144a1273124a67b8c1d7cd19f5695d1878b31569c0512f6086f0f4676604e" +dependencies = [ + "proc-macro2", + "quote", + "rust-embed-utils", + "syn 2.0.42", + "walkdir", +] + +[[package]] +name = "rust-embed-utils" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "816ccd4875431253d6bb54b804bcff4369cbde9bae33defde25fdf6c2ef91d40" +dependencies = [ + "sha2", + "walkdir", +] + [[package]] name = "rust_decimal" version = "1.33.1" @@ -2233,6 +2267,15 @@ version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + [[package]] name = "schannel" version = "0.1.22" @@ -3346,6 +3389,7 @@ dependencies = [ "reqwest", "rocket", "rocket_okapi", + "rust-embed", "sea-orm", "sea-orm-migration", "serde", @@ -3409,6 +3453,16 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "walkdir" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +dependencies = [ + "same-file", + "winapi-util", +] + [[package]] name = "want" version = "0.3.1" @@ -3528,6 +3582,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +[[package]] +name = "winapi-util" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +dependencies = [ + "winapi", +] + [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" diff --git a/Cargo.toml b/backend/Cargo.toml similarity index 89% rename from Cargo.toml rename to backend/Cargo.toml index 5b851dc..ccdf156 100644 --- a/Cargo.toml +++ b/backend/Cargo.toml @@ -20,9 +20,12 @@ rocket_okapi = { version = "0.8.0-rc.3", features = ["swagger"] } sea-orm = { version = "0.12", features = [ "sqlx-sqlite", "runtime-tokio-rustls", "macros" ] } sea-orm-migration = {version = "0.12", features = ["sqlx-sqlite", "runtime-tokio-rustls"]} serde = "1.0.193" - - +rust-embed = "8.1.0" [[bin]] name = "untitled" -path = "src/main.rs" \ No newline at end of file +path = "src/main.rs" + +[features] +default = [] +static = [] diff --git a/scripts/README.md b/backend/scripts/README.md similarity index 100% rename from scripts/README.md rename to backend/scripts/README.md diff --git a/scripts/makepkg b/backend/scripts/makepkg similarity index 100% rename from scripts/makepkg rename to backend/scripts/makepkg diff --git a/src/api/add.rs b/backend/src/api/add.rs similarity index 100% rename from src/api/add.rs rename to backend/src/api/add.rs diff --git a/src/api/backend.rs b/backend/src/api/backend.rs similarity index 99% rename from src/api/backend.rs rename to backend/src/api/backend.rs index 1259e7c..c55da91 100644 --- a/src/api/backend.rs +++ b/backend/src/api/backend.rs @@ -20,5 +20,6 @@ pub fn build_api() -> Vec { version_del, build_output, list_builds, + ] } diff --git a/backend/src/api/embed.rs b/backend/src/api/embed.rs new file mode 100644 index 0000000..3522175 --- /dev/null +++ b/backend/src/api/embed.rs @@ -0,0 +1,51 @@ +use rocket::http::uri::fmt::Path; +use rocket::http::uri::Segments; +use rocket::http::{ContentType, Method, Status}; +use rocket::route::{Handler, Outcome}; +use rocket::{Data, Request, Response, Route}; +use rust_embed::{RustEmbed}; +use std::io::Cursor; + +#[derive(RustEmbed)] +#[folder = "web"] +struct Asset; + +#[derive(Clone)] +pub struct CustomHandler {} + +impl Into> for CustomHandler { + fn into(self) -> Vec { + vec![Route::ranked(-2, Method::Get, "/", self)] + } +} + +#[rocket::async_trait] +impl Handler for CustomHandler { + async fn handle<'r>(&self, request: &'r Request<'_>, _: Data<'r>) -> Outcome<'r> { + let mut path = request + .segments::>(0..) + .ok() + .and_then(|segments| segments.to_path_buf(true).ok()) + .unwrap(); + + if path.is_dir() || path.to_str() == Some("") { + path = path.join("index.html") + } + + match ::get(path.to_string_lossy().as_ref()) { + None => Outcome::Failure(Status::NotFound), + Some(file_content) => { + let content_type: ContentType = path + .extension() + .map(|x| x.to_string_lossy()) + .and_then(|x| ContentType::from_extension(&x)) + .unwrap_or(ContentType::Plain); + let rsp = Response::build() + .header(content_type) + .sized_body(file_content.data.len(), Cursor::new(file_content.data)) + .finalize(); + Outcome::Success(rsp) + } + } + } +} diff --git a/src/api/list.rs b/backend/src/api/list.rs similarity index 100% rename from src/api/list.rs rename to backend/src/api/list.rs diff --git a/src/api/mod.rs b/backend/src/api/mod.rs similarity index 53% rename from src/api/mod.rs rename to backend/src/api/mod.rs index e16d575..c6e6ac5 100644 --- a/src/api/mod.rs +++ b/backend/src/api/mod.rs @@ -2,3 +2,5 @@ mod add; pub mod backend; mod list; mod remove; +#[cfg(feature = "static")] +pub mod embed; diff --git a/src/api/remove.rs b/backend/src/api/remove.rs similarity index 100% rename from src/api/remove.rs rename to backend/src/api/remove.rs diff --git a/src/aur/aur.rs b/backend/src/aur/aur.rs similarity index 100% rename from src/aur/aur.rs rename to backend/src/aur/aur.rs diff --git a/src/aur/mod.rs b/backend/src/aur/mod.rs similarity index 100% rename from src/aur/mod.rs rename to backend/src/aur/mod.rs diff --git a/src/builder/builder.rs b/backend/src/builder/builder.rs similarity index 100% rename from src/builder/builder.rs rename to backend/src/builder/builder.rs diff --git a/src/builder/mod.rs b/backend/src/builder/mod.rs similarity index 100% rename from src/builder/mod.rs rename to backend/src/builder/mod.rs diff --git a/src/builder/types.rs b/backend/src/builder/types.rs similarity index 100% rename from src/builder/types.rs rename to backend/src/builder/types.rs diff --git a/src/db/builds.rs b/backend/src/db/builds.rs similarity index 100% rename from src/db/builds.rs rename to backend/src/db/builds.rs diff --git a/src/db/migration/create.rs b/backend/src/db/migration/create.rs similarity index 100% rename from src/db/migration/create.rs rename to backend/src/db/migration/create.rs diff --git a/src/db/migration/mod.rs b/backend/src/db/migration/mod.rs similarity index 100% rename from src/db/migration/mod.rs rename to backend/src/db/migration/mod.rs diff --git a/src/db/mod.rs b/backend/src/db/mod.rs similarity index 100% rename from src/db/mod.rs rename to backend/src/db/mod.rs diff --git a/src/db/packages.rs b/backend/src/db/packages.rs similarity index 100% rename from src/db/packages.rs rename to backend/src/db/packages.rs diff --git a/src/db/prelude.rs b/backend/src/db/prelude.rs similarity index 100% rename from src/db/prelude.rs rename to backend/src/db/prelude.rs diff --git a/src/db/status.rs b/backend/src/db/status.rs similarity index 100% rename from src/db/status.rs rename to backend/src/db/status.rs diff --git a/src/db/versions.rs b/backend/src/db/versions.rs similarity index 100% rename from src/db/versions.rs rename to backend/src/db/versions.rs diff --git a/src/main.rs b/backend/src/main.rs similarity index 90% rename from src/main.rs rename to backend/src/main.rs index 9f3c244..861b175 100644 --- a/src/main.rs +++ b/backend/src/main.rs @@ -16,6 +16,8 @@ use sea_orm::{Database, DatabaseConnection}; use sea_orm_migration::MigratorTrait; use std::fs; use tokio::sync::broadcast; +#[cfg(feature = "static")] +use crate::api::embed::CustomHandler; fn main() { let t = tokio::runtime::Runtime::new().unwrap(); @@ -50,20 +52,25 @@ fn main() { config.address = "0.0.0.0".parse().unwrap(); config.port = 8081; - let launch_result = rocket::custom(config) + let rock = rocket::custom(config) .manage(db) .manage(tx) .mount("/", backend::build_api()) + .mount( "/docs/", make_swagger_ui(&SwaggerUIConfig { url: "../openapi.json".to_owned(), ..Default::default() }), - ) + ); + #[cfg(feature = "static")] + let rock = rock.mount("/", CustomHandler {}); + + let rock = rock .launch() .await; - match launch_result { + match rock { Ok(_) => println!("Rocket shut down gracefully."), Err(err) => println!("Rocket had an error: {}", err), }; diff --git a/src/pkgbuild/build.rs b/backend/src/pkgbuild/build.rs similarity index 100% rename from src/pkgbuild/build.rs rename to backend/src/pkgbuild/build.rs diff --git a/src/pkgbuild/mod.rs b/backend/src/pkgbuild/mod.rs similarity index 100% rename from src/pkgbuild/mod.rs rename to backend/src/pkgbuild/mod.rs diff --git a/src/repo/mod.rs b/backend/src/repo/mod.rs similarity index 100% rename from src/repo/mod.rs rename to backend/src/repo/mod.rs diff --git a/src/repo/repo.rs b/backend/src/repo/repo.rs similarity index 100% rename from src/repo/repo.rs rename to backend/src/repo/repo.rs diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..29a3a50 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,43 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ +migrate_working_dir/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.pub-cache/ +.pub/ +/build/ + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/frontend/.metadata b/frontend/.metadata new file mode 100644 index 0000000..5e4a304 --- /dev/null +++ b/frontend/.metadata @@ -0,0 +1,45 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "b0366e0a3f089e15fd89c97604ab402fe26b724c" + channel: "stable" + +project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + - platform: android + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + - platform: ios + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + - platform: linux + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + - platform: macos + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + - platform: web + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + - platform: windows + create_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + base_revision: b0366e0a3f089e15fd89c97604ab402fe26b724c + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000..ae59f72 --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,16 @@ +# aurcache + +A new Flutter project. + +## Getting Started + +This project is a starting point for a Flutter application. + +A few resources to get you started if this is your first Flutter project: + +- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) + +For help getting started with Flutter development, view the +[online documentation](https://docs.flutter.dev/), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/frontend/analysis_options.yaml b/frontend/analysis_options.yaml new file mode 100644 index 0000000..0d29021 --- /dev/null +++ b/frontend/analysis_options.yaml @@ -0,0 +1,28 @@ +# This file configures the analyzer, which statically analyzes Dart code to +# check for errors, warnings, and lints. +# +# The issues identified by the analyzer are surfaced in the UI of Dart-enabled +# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be +# invoked from the command line by running `flutter analyze`. + +# The following line activates a set of recommended lints for Flutter apps, +# packages, and plugins designed to encourage good coding practices. +include: package:flutter_lints/flutter.yaml + +linter: + # The lint rules applied to this project can be customized in the + # section below to disable rules from the `package:flutter_lints/flutter.yaml` + # included above or to enable additional rules. A list of all available lints + # and their documentation is published at https://dart.dev/lints. + # + # Instead of disabling a lint rule for the entire project in the + # section below, it can also be suppressed for a single line of code + # or a specific dart file by using the `// ignore: name_of_lint` and + # `// ignore_for_file: name_of_lint` syntax on the line or in the file + # producing the lint. + rules: + # avoid_print: false # Uncomment to disable the `avoid_print` rule + # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/frontend/assets/icons/Documents.svg b/frontend/assets/icons/Documents.svg new file mode 100644 index 0000000..d75aece --- /dev/null +++ b/frontend/assets/icons/Documents.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/frontend/assets/icons/Search.svg b/frontend/assets/icons/Search.svg new file mode 100644 index 0000000..6d39436 --- /dev/null +++ b/frontend/assets/icons/Search.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/frontend/assets/icons/drop_box.svg b/frontend/assets/icons/drop_box.svg new file mode 100644 index 0000000..ab39e74 --- /dev/null +++ b/frontend/assets/icons/drop_box.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/frontend/assets/icons/folder.svg b/frontend/assets/icons/folder.svg new file mode 100644 index 0000000..e475ed3 --- /dev/null +++ b/frontend/assets/icons/folder.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/logo.svg b/frontend/assets/icons/logo.svg new file mode 100644 index 0000000..e1a8244 --- /dev/null +++ b/frontend/assets/icons/logo.svg @@ -0,0 +1,11 @@ + + + + + + + + Shop + + + diff --git a/frontend/assets/icons/media.svg b/frontend/assets/icons/media.svg new file mode 100644 index 0000000..ddbd1ef --- /dev/null +++ b/frontend/assets/icons/media.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_dashbord.svg b/frontend/assets/icons/menu_dashbord.svg new file mode 100644 index 0000000..b5af92c --- /dev/null +++ b/frontend/assets/icons/menu_dashbord.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_doc.svg b/frontend/assets/icons/menu_doc.svg new file mode 100644 index 0000000..840fe8a --- /dev/null +++ b/frontend/assets/icons/menu_doc.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_notification.svg b/frontend/assets/icons/menu_notification.svg new file mode 100644 index 0000000..4096020 --- /dev/null +++ b/frontend/assets/icons/menu_notification.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_profile.svg b/frontend/assets/icons/menu_profile.svg new file mode 100644 index 0000000..8ba6115 --- /dev/null +++ b/frontend/assets/icons/menu_profile.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_setting.svg b/frontend/assets/icons/menu_setting.svg new file mode 100644 index 0000000..0b1e4dd --- /dev/null +++ b/frontend/assets/icons/menu_setting.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_store.svg b/frontend/assets/icons/menu_store.svg new file mode 100644 index 0000000..29dff7c --- /dev/null +++ b/frontend/assets/icons/menu_store.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_task.svg b/frontend/assets/icons/menu_task.svg new file mode 100644 index 0000000..ae05cbd --- /dev/null +++ b/frontend/assets/icons/menu_task.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/menu_tran.svg b/frontend/assets/icons/menu_tran.svg new file mode 100644 index 0000000..b5ab36a --- /dev/null +++ b/frontend/assets/icons/menu_tran.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/assets/icons/unknown.svg b/frontend/assets/icons/unknown.svg new file mode 100644 index 0000000..1783722 --- /dev/null +++ b/frontend/assets/icons/unknown.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/lib/core/constants/color_constants.dart b/frontend/lib/core/constants/color_constants.dart new file mode 100644 index 0000000..9c30d16 --- /dev/null +++ b/frontend/lib/core/constants/color_constants.dart @@ -0,0 +1,22 @@ +import 'package:flutter/material.dart'; + +const primaryColor = Color(0xFF2697FF); +//const secondaryColor = Color(0xFF2A2D3E); +//const bgColor = Color(0xFF212132); + +const secondaryColor = Color(0xFF292929); +const bgColor = Color(0xFF212121); +const darkgreenColor = Color(0xFF2c614f); +const greenColor = Color(0xFF6bab58); + +const defaultPadding = 16.0; +const double defaultBorderRadius = 15; + +class ColorConstants { + static Color blue = Color(0xFF0D46BB); +} + +class Palette { + static const Color background = Color(0xFFEDEEF2); + static const Color wrapperBg = Color(0xFF212121); +} diff --git a/frontend/lib/core/utils/colorful_tag.dart b/frontend/lib/core/utils/colorful_tag.dart new file mode 100644 index 0000000..025e9ed --- /dev/null +++ b/frontend/lib/core/utils/colorful_tag.dart @@ -0,0 +1,22 @@ +import 'dart:ui'; + +import 'package:flutter/material.dart'; + +Color getRoleColor(String? role) { + if (role == "Doctor") { + return Colors.green; + } else if (role == "Software Architect") { + return Colors.red; + } else if (role == "Software Engineer") { + return Colors.blueAccent; + } else if (role == "Solution Architect") { + return Colors.amberAccent; + } else if (role == "Project Manager") { + return Colors.cyanAccent; + } else if (role == "Business Analyst") { + return Colors.deepPurpleAccent; + } else if (role == "UI/UX Designer") { + return Colors.indigoAccent; + } + return Colors.black38; +} diff --git a/frontend/lib/core/widgets/app_button_widget.dart b/frontend/lib/core/widgets/app_button_widget.dart new file mode 100644 index 0000000..3308a3f --- /dev/null +++ b/frontend/lib/core/widgets/app_button_widget.dart @@ -0,0 +1,63 @@ +import 'package:flutter/material.dart'; + +enum ButtonType { PRIMARY, PLAIN } + +class AppButton extends StatelessWidget { + final ButtonType? type; + final VoidCallback? onPressed; + final String? text; + + AppButton({this.type, this.onPressed, this.text}); + + @override + Widget build(BuildContext context) { + return InkWell( + onTap: this.onPressed, + child: Container( + width: double.infinity, + height: 45, + decoration: BoxDecoration( + color: getButtonColor(context, type!), + borderRadius: BorderRadius.circular(4.0), + boxShadow: [ + BoxShadow( + //color: Color.fromRGBO(169, 176, 185, 0.42), + //spreadRadius: 0, + //blurRadius: 3.0, + //offset: Offset(0, 2), + ) + ], + ), + child: Center( + child: Text(this.text!, + style: Theme.of(context) + .textTheme + .subtitle1! + .copyWith(color: getTextColor(context, type!))), + ), + ), + ); + } +} + +Color getButtonColor(context, ButtonType type) { + switch (type) { + case ButtonType.PRIMARY: + return Theme.of(context).buttonTheme.colorScheme!.background; + case ButtonType.PLAIN: + return Colors.white; + default: + return Theme.of(context).primaryColor; + } +} + +Color getTextColor(context, ButtonType type) { + switch (type) { + case ButtonType.PLAIN: + return Theme.of(context).primaryColor; + case ButtonType.PRIMARY: + return Colors.white; + default: + return Theme.of(context).buttonTheme.colorScheme!.background; + } +} diff --git a/frontend/lib/core/widgets/input_widget.dart b/frontend/lib/core/widgets/input_widget.dart new file mode 100644 index 0000000..c40fb3f --- /dev/null +++ b/frontend/lib/core/widgets/input_widget.dart @@ -0,0 +1,94 @@ +import 'package:flutter/material.dart'; + +import '../constants/color_constants.dart'; + +class InputWidget extends StatelessWidget { + final String? hintText; + final String? errorText; + final Widget? prefixIcon; + final double? height; + final String? topLabel; + final bool? obscureText; + final FormFieldSetter? onSaved; + final ValueChanged? onChanged; + final FormFieldValidator? validator; + final TextInputType? keyboardType; + final Key? kKey; + final TextEditingController? kController; + final String? kInitialValue; + + InputWidget({ + this.hintText, + this.prefixIcon, + this.height = 48.0, + this.topLabel = "", + this.obscureText = false, + required this.onSaved, + this.keyboardType, + this.errorText, + this.onChanged, + this.validator, + this.kKey, + this.kController, + this.kInitialValue, + }); + @override + Widget build(BuildContext context) { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text(this.topLabel!), + SizedBox(height: 4.0), + Container( + height: 50, + decoration: BoxDecoration( + color: secondaryColor, + //color: Theme.of(context).buttonColor, + borderRadius: BorderRadius.circular(4.0), + ), + child: TextFormField( + initialValue: this.kInitialValue, + controller: this.kController, + key: this.kKey, + keyboardType: this.keyboardType, + onSaved: this.onSaved, + onChanged: this.onChanged, + validator: this.validator, + obscureText: this.obscureText!, + decoration: InputDecoration( + prefixIcon: this.prefixIcon, + enabledBorder: OutlineInputBorder( + borderSide: BorderSide( + color: Color.fromRGBO(74, 77, 84, 0.2), + ), + ), + focusedBorder: OutlineInputBorder( + //gapPadding: 16, + borderSide: BorderSide( + color: Theme.of(context).primaryColor, + ), + ), + errorStyle: TextStyle(height: 0, color: Colors.transparent), + errorBorder: OutlineInputBorder( + borderSide: BorderSide( + color: Theme.of(context).errorColor, + ), + ), + focusedErrorBorder: OutlineInputBorder( + //gapPaddings: 16, + borderSide: BorderSide( + color: Theme.of(context).errorColor, + ), + ), + hintText: this.hintText, + hintStyle: Theme.of(context) + .textTheme + .bodyText1! + .copyWith(color: Colors.white54), + errorText: this.errorText), + ), + ) + ], + ); + } +} diff --git a/frontend/lib/core/widgets/wrapper.dart b/frontend/lib/core/widgets/wrapper.dart new file mode 100644 index 0000000..666c4d4 --- /dev/null +++ b/frontend/lib/core/widgets/wrapper.dart @@ -0,0 +1,34 @@ +import 'package:flutter/material.dart'; + +import '../constants/color_constants.dart'; + +class Wrapper extends StatelessWidget { + final Widget? title; + final Widget child; + + const Wrapper({Key? key, this.title, required this.child}) : super(key: key); + + @override + Widget build(BuildContext context) { + return Container( + padding: const EdgeInsets.all(defaultPadding), + decoration: BoxDecoration( + color: Palette.wrapperBg, + borderRadius: BorderRadius.circular(defaultBorderRadius), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + if (title != null) + Column( + children: [ + title!, + const SizedBox(height: defaultPadding), + ], + ), + child + ], + ), + ); + } +} diff --git a/frontend/lib/main.dart b/frontend/lib/main.dart new file mode 100644 index 0000000..cc63ae7 --- /dev/null +++ b/frontend/lib/main.dart @@ -0,0 +1,31 @@ +import 'package:aurcache/screens/home/home_screen.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +import 'core/constants/color_constants.dart'; + +void main() { + runApp(const MyApp()); +} + +class MyApp extends StatelessWidget { + const MyApp({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp( + debugShowCheckedModeBanner: false, + title: 'Smart Dashboard - Admin Panel v0.1 ', + theme: ThemeData.dark().copyWith( + appBarTheme: const AppBarTheme(backgroundColor: bgColor, elevation: 0), + scaffoldBackgroundColor: bgColor, + primaryColor: greenColor, + dialogBackgroundColor: secondaryColor, + textTheme: GoogleFonts.openSansTextTheme(Theme.of(context).textTheme) + .apply(bodyColor: Colors.white), + canvasColor: secondaryColor, + ), + home: const HomeScreen(), + ); + } +} diff --git a/frontend/lib/models/daily_info_model.dart b/frontend/lib/models/daily_info_model.dart new file mode 100644 index 0000000..f15adb6 --- /dev/null +++ b/frontend/lib/models/daily_info_model.dart @@ -0,0 +1,289 @@ +import 'package:fl_chart/fl_chart.dart'; +import 'package:flutter/material.dart'; + +import '../core/constants/color_constants.dart'; + +class DailyInfoModel { + IconData? icon; + String? title; + String? totalStorage; + int? volumeData; + int? percentage; + Color? color; + List? colors; + List? spots; + + DailyInfoModel({ + this.icon, + this.title, + this.totalStorage, + this.volumeData, + this.percentage, + this.color, + this.colors, + this.spots, + }); + + DailyInfoModel.fromJson(Map json) { + title = json['title']; + volumeData = json['volumeData']; + icon = json['icon']; + totalStorage = json['totalStorage']; + color = json['color']; + percentage = json['percentage']; + colors = json['colors']; + spots = json['spots']; + } + + Map toJson() { + final Map data = new Map(); + data['title'] = this.title; + data['volumeData'] = this.volumeData; + data['icon'] = this.icon; + data['totalStorage'] = this.totalStorage; + data['color'] = this.color; + data['percentage'] = this.percentage; + data['colors'] = this.colors; + data['spots'] = this.spots; + return data; + } +} + +List dailyDatas = + dailyData.map((item) => DailyInfoModel.fromJson(item)).toList(); + +//List spots = yValues.asMap().entries.map((e) { +// return FlSpot(e.key.toDouble(), e.value); +//}).toList(); + +var dailyData = [ + { + "title": "Employee", + "volumeData": 1328, + "icon": Icons.ac_unit, + "totalStorage": "+ %20", + "color": primaryColor, + "percentage": 35, + "colors": [ + Color(0xff23b6e6), + Color(0xff02d39a), + ], + "spots": [ + FlSpot( + 1, + 2, + ), + FlSpot( + 2, + 1.0, + ), + FlSpot( + 3, + 1.8, + ), + FlSpot( + 4, + 1.5, + ), + FlSpot( + 5, + 1.0, + ), + FlSpot( + 6, + 2.2, + ), + FlSpot( + 7, + 1.8, + ), + FlSpot( + 8, + 1.5, + ) + ] + }, + { + "title": "On Leave", + "volumeData": 1328, + "icon": Icons.ac_unit, + "totalStorage": "+ %5", + "color": Color(0xFFFFA113), + "percentage": 35, + "colors": [Color(0xfff12711), Color(0xfff5af19)], + "spots": [ + FlSpot( + 1, + 1.3, + ), + FlSpot( + 2, + 1.0, + ), + FlSpot( + 3, + 4, + ), + FlSpot( + 4, + 1.5, + ), + FlSpot( + 5, + 1.0, + ), + FlSpot( + 6, + 3, + ), + FlSpot( + 7, + 1.8, + ), + FlSpot( + 8, + 1.5, + ) + ] + }, + { + "title": "Onboarding", + "volumeData": 1328, + "icon": Icons.ac_unit, + "totalStorage": "+ %8", + "color": Color(0xFFA4CDFF), + "percentage": 10, + "colors": [Color(0xff2980B9), Color(0xff6DD5FA)], + "spots": [ + FlSpot( + 1, + 1.3, + ), + FlSpot( + 2, + 5, + ), + FlSpot( + 3, + 1.8, + ), + FlSpot( + 4, + 6, + ), + FlSpot( + 5, + 1.0, + ), + FlSpot( + 6, + 2.2, + ), + FlSpot( + 7, + 1.8, + ), + FlSpot( + 8, + 1, + ) + ] + }, + { + "title": "Open Position", + "volumeData": 1328, + "icon": Icons.ac_unit, + "totalStorage": "+ %8", + "color": Color(0xFFd50000), + "percentage": 10, + "colors": [Color(0xff93291E), Color(0xffED213A)], + "spots": [ + FlSpot( + 1, + 3, + ), + FlSpot( + 2, + 4, + ), + FlSpot( + 3, + 1.8, + ), + FlSpot( + 4, + 1.5, + ), + FlSpot( + 5, + 1.0, + ), + FlSpot( + 6, + 2.2, + ), + FlSpot( + 7, + 1.8, + ), + FlSpot( + 8, + 1.5, + ) + ] + }, + { + "title": "Efficiency", + "volumeData": 5328, + "icon": Icons.ac_unit, + "totalStorage": "- %5", + "color": Color(0xFF00F260), + "percentage": 78, + "colors": [Color(0xff0575E6), Color(0xff00F260)], + "spots": [ + FlSpot( + 1, + 1.3, + ), + FlSpot( + 2, + 1.0, + ), + FlSpot( + 3, + 1.8, + ), + FlSpot( + 4, + 1.5, + ), + FlSpot( + 5, + 1.0, + ), + FlSpot( + 6, + 2.2, + ), + FlSpot( + 7, + 1.8, + ), + FlSpot( + 8, + 1.5, + ) + ] + } +]; + +//final List yValues = [ +// 2.3, +// 1.8, +// 1.9, +// 1.5, +// 1.0, +// 2.2, +// 1.8, +// 1.5, +//]; diff --git a/frontend/lib/models/slider_model.dart b/frontend/lib/models/slider_model.dart new file mode 100644 index 0000000..505439e --- /dev/null +++ b/frontend/lib/models/slider_model.dart @@ -0,0 +1,64 @@ +class SliderModel { + String? image; + String? text; + String? altText; + String? bAltText; + String? productImage; + int? kBackgroundColor; + + SliderModel(this.image, this.text, this.altText, this.bAltText, + this.productImage, this.kBackgroundColor); + + SliderModel.fromJson(Map json) { + image = json['image']; + kBackgroundColor = json['kBackgroundColor']; + text = json['text']; + altText = json['altText']; + bAltText = json['bAltText']; + productImage = json['productImage']; + } + + Map toJson() { + final Map data = new Map(); + data['image'] = this.image; + data['kBackgroundColor'] = this.kBackgroundColor; + data['text'] = this.text; + data['altText'] = this.altText; + data['bAltText'] = this.bAltText; + data['productImage'] = this.productImage; + return data; + } +} + +List slides = + slideData.map((item) => SliderModel.fromJson(item)).toList(); + +var slideData = [ + { + "image": "assets/slides/background-1.jpeg", + "kBackgroundColor": 0xFF2c614f, + "text": "Welcome to the Smart Smart Admin Dashboard!", + "altText": "You can access & track your services in real-time.", + "bAltText": "Are you ready for the next generation AI supported Dashboard?", + "productImage": "assets/images/mockup.png" + }, + { + "image": "assets/slides/background-2.jpeg", + "kBackgroundColor": 0xFF8a1a4c, + "text": "¡Bienvenido al tablero Smart Admin Dashboard!", + "altText": "Puede acceder y rastrear sus servicios en tiempo real.", + "bAltText": + "¿Estás listo para el panel de control impulsado por IA de próxima generación?", + "productImage": "assets/images/mockup-2.png" + }, + { + "image": "assets/slides/background-3.jpeg", + "kBackgroundColor": 0xFF0ab3ec, + "text": "Willkommen im Smart Admin Dashboard!", + "altText": + "Sie können in Echtzeit auf Ihre Dienste zugreifen und diese verfolgen.", + "bAltText": + "Sind Sie bereit für das AI-unterstützte Dashboard der nächsten Generation?", + "productImage": "assets/images/mockup-3.png" + } +]; diff --git a/frontend/lib/providers/menu_provider.dart b/frontend/lib/providers/menu_provider.dart new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/frontend/lib/providers/menu_provider.dart @@ -0,0 +1 @@ + diff --git a/frontend/lib/responsive.dart b/frontend/lib/responsive.dart new file mode 100644 index 0000000..7d2b3ce --- /dev/null +++ b/frontend/lib/responsive.dart @@ -0,0 +1,44 @@ +import 'package:flutter/material.dart'; + +class Responsive extends StatelessWidget { + final Widget mobile; + final Widget tablet; + final Widget desktop; + + const Responsive({ + Key? key, + required this.mobile, + required this.tablet, + required this.desktop, + }) : super(key: key); + +// This size work fine on my design, maybe you need some customization depends on your design + + // This isMobile, isTablet, isDesktop helep us later + static bool isMobile(BuildContext context) => + MediaQuery.of(context).size.width < 850; + + static bool isTablet(BuildContext context) => + MediaQuery.of(context).size.width < 1100 && + MediaQuery.of(context).size.width >= 850; + + static bool isDesktop(BuildContext context) => + MediaQuery.of(context).size.width >= 1100; + + @override + Widget build(BuildContext context) { + final Size _size = MediaQuery.of(context).size; + // If our width is more than 1100 then we consider it a desktop + if (_size.width >= 1100) { + return desktop; + } + // If width it less then 1100 and more then 850 we consider it as tablet + else if (_size.width >= 850) { + return tablet; + } + // Or less then that we called it mobile + else { + return mobile; + } + } +} diff --git a/frontend/lib/screens/dashboard/components/charts.dart b/frontend/lib/screens/dashboard/components/charts.dart new file mode 100644 index 0000000..8546f71 --- /dev/null +++ b/frontend/lib/screens/dashboard/components/charts.dart @@ -0,0 +1,95 @@ +import 'package:fl_chart/fl_chart.dart'; +import 'package:flutter/material.dart'; + +class Chart extends StatefulWidget { + const Chart({ + Key? key, + }) : super(key: key); + + @override + _ChartState createState() => _ChartState(); +} + +class _ChartState extends State { + int touchedIndex = -1; + @override + Widget build(BuildContext context) { + return SizedBox( + height: 300, + child: AspectRatio( + aspectRatio: 1.3, + child: Row( + children: [ + const SizedBox( + height: 18, + ), + Expanded( + child: AspectRatio( + aspectRatio: 1, + child: PieChart( + PieChartData( + pieTouchData: + PieTouchData(touchCallback: (pieTouchResponse, touchresponse) { + setState(() { + // final desiredTouch = pieTouchResponse.touchInput + // is! PointerExitEvent && + // pieTouchResponse.touchInput is! PointerUpEvent; + if ( touchresponse?.touchedSection != null) { + touchedIndex = touchresponse!.touchedSection!.touchedSectionIndex; + } else { + touchedIndex = -1; + } + }); + }), + borderData: FlBorderData( + show: false, + ), + sectionsSpace: 0, + centerSpaceRadius: 40, + sections: showingSections()), + ), + ), + ), + const SizedBox( + width: 28, + ), + ], + ), + ), + ); + } + + List showingSections() { + return List.generate(2, (i) { + final isTouched = i == touchedIndex; + final fontSize = isTouched ? 25.0 : 16.0; + final radius = isTouched ? 60.0 : 50.0; + switch (i) { + case 0: + return PieChartSectionData( + color: const Color(0xff760707), + value: 40, + title: '28.3%', + radius: radius, + titleStyle: TextStyle( + fontSize: fontSize, + fontWeight: FontWeight.bold, + color: const Color(0xffffffff)), + ); + case 1: + return PieChartSectionData( + color: const Color(0xff0a7005), + value: 30, + title: '16.7%', + radius: radius, + titleStyle: TextStyle( + fontSize: fontSize, + fontWeight: FontWeight.bold, + color: const Color(0xffffffff)), + ); + default: + throw Error(); + } + }); + } +} diff --git a/frontend/lib/screens/dashboard/components/header.dart b/frontend/lib/screens/dashboard/components/header.dart new file mode 100644 index 0000000..4c64fe7 --- /dev/null +++ b/frontend/lib/screens/dashboard/components/header.dart @@ -0,0 +1,117 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_svg/flutter_svg.dart'; + +import '../../../core/constants/color_constants.dart'; +import '../../../responsive.dart'; + +class Header extends StatelessWidget { + const Header({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Row( + children: [ + if (!Responsive.isDesktop(context)) + IconButton( + icon: Icon(Icons.menu), + onPressed: () {}, + ), + if (!Responsive.isMobile(context)) + Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Hello, Arch User 👋", + style: Theme.of(context).textTheme.headline6, + ), + SizedBox( + height: 8, + ), + Text( + "Welcome to AURCentral", + style: Theme.of(context).textTheme.subtitle2, + ), + ], + ), + if (!Responsive.isMobile(context)) + Spacer(flex: Responsive.isDesktop(context) ? 2 : 1), + Expanded(child: SearchField()), + //ProfileCard() + ], + ); + } +} + +class ProfileCard extends StatelessWidget { + const ProfileCard({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Container( + margin: EdgeInsets.only(left: defaultPadding), + padding: EdgeInsets.symmetric( + horizontal: defaultPadding, + vertical: defaultPadding / 2, + ), + decoration: BoxDecoration( + color: secondaryColor, + borderRadius: const BorderRadius.all(Radius.circular(10)), + border: Border.all(color: Colors.white10), + ), + child: Row( + children: [ + CircleAvatar( + backgroundImage: AssetImage("assets/images/profile_pic.png"), + ), + if (!Responsive.isMobile(context)) + Padding( + padding: + const EdgeInsets.symmetric(horizontal: defaultPadding / 2), + child: Text("Deniz Çolak"), + ), + Icon(Icons.keyboard_arrow_down), + ], + ), + ); + } +} + +class SearchField extends StatelessWidget { + const SearchField({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return TextField( + decoration: InputDecoration( + hintText: "Search", + fillColor: secondaryColor, + filled: true, + border: OutlineInputBorder( + borderSide: BorderSide.none, + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + suffixIcon: InkWell( + onTap: () {}, + child: Container( + padding: EdgeInsets.all(defaultPadding * 0.75), + margin: EdgeInsets.symmetric(horizontal: defaultPadding / 2), + decoration: BoxDecoration( + color: greenColor, + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + child: SvgPicture.asset( + "assets/icons/Search.svg", + ), + ), + ), + ), + ); + } +} diff --git a/frontend/lib/screens/dashboard/components/mini_information_card.dart b/frontend/lib/screens/dashboard/components/mini_information_card.dart new file mode 100644 index 0000000..5e660c6 --- /dev/null +++ b/frontend/lib/screens/dashboard/components/mini_information_card.dart @@ -0,0 +1,84 @@ +import 'package:flutter/material.dart'; + +import '../../../core/constants/color_constants.dart'; +import '../../../models/daily_info_model.dart'; +import '../../../responsive.dart'; +import 'mini_information_widget.dart'; + +class MiniInformation extends StatelessWidget { + const MiniInformation({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + final Size _size = MediaQuery.of(context).size; + return Column( + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + SizedBox( + width: 10, + ), + ElevatedButton.icon( + style: TextButton.styleFrom( + backgroundColor: Colors.green, + padding: EdgeInsets.symmetric( + horizontal: defaultPadding * 1.5, + vertical: + defaultPadding / (Responsive.isMobile(context) ? 2 : 1), + ), + ), + onPressed: () { + }, + icon: Icon(Icons.add), + label: Text( + "Add New", + ), + ), + ], + ), + SizedBox(height: defaultPadding), + Responsive( + mobile: InformationCard( + crossAxisCount: _size.width < 650 ? 2 : 4, + childAspectRatio: _size.width < 650 ? 1.2 : 1, + ), + tablet: InformationCard(), + desktop: InformationCard( + childAspectRatio: _size.width < 1400 ? 1.2 : 1.4, + ), + ), + ], + ); + } +} + +class InformationCard extends StatelessWidget { + const InformationCard({ + Key? key, + this.crossAxisCount = 5, + this.childAspectRatio = 1, + }) : super(key: key); + + final int crossAxisCount; + final double childAspectRatio; + + @override + Widget build(BuildContext context) { + return GridView.builder( + physics: NeverScrollableScrollPhysics(), + shrinkWrap: true, + itemCount: dailyDatas.length, + gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: crossAxisCount, + crossAxisSpacing: defaultPadding, + mainAxisSpacing: defaultPadding, + childAspectRatio: childAspectRatio, + ), + itemBuilder: (context, index) => + MiniInformationWidget(dailyData: dailyDatas[index]), + ); + } +} diff --git a/frontend/lib/screens/dashboard/components/mini_information_widget.dart b/frontend/lib/screens/dashboard/components/mini_information_widget.dart new file mode 100644 index 0000000..9450d85 --- /dev/null +++ b/frontend/lib/screens/dashboard/components/mini_information_widget.dart @@ -0,0 +1,206 @@ +import 'package:fl_chart/fl_chart.dart'; +import 'package:flutter/material.dart'; + +import '../../../core/constants/color_constants.dart'; +import '../../../models/daily_info_model.dart'; + +class MiniInformationWidget extends StatefulWidget { + const MiniInformationWidget({ + Key? key, + required this.dailyData, + }) : super(key: key); + final DailyInfoModel dailyData; + + @override + _MiniInformationWidgetState createState() => _MiniInformationWidgetState(); +} + +int _value = 1; + +class _MiniInformationWidgetState extends State { + @override + Widget build(BuildContext context) { + return Container( + padding: EdgeInsets.all(defaultPadding), + decoration: BoxDecoration( + color: secondaryColor, + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Container( + padding: EdgeInsets.all(defaultPadding * 0.75), + height: 40, + width: 40, + decoration: BoxDecoration( + color: widget.dailyData.color!.withOpacity(0.1), + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + child: Icon( + widget.dailyData.icon, + color: widget.dailyData.color, + size: 18, + ), + ), + Padding( + padding: EdgeInsets.only(right: 12.0), + child: DropdownButton( + icon: Icon(Icons.more_vert, size: 18), + underline: SizedBox(), + style: Theme.of(context).textTheme.button, + value: _value, + items: [ + DropdownMenuItem( + child: Text("Daily"), + value: 1, + ), + DropdownMenuItem( + child: Text("Weekly"), + value: 2, + ), + DropdownMenuItem( + child: Text("Monthly"), + value: 3, + ), + ], + onChanged: (int? value) { + setState(() { + _value = value!; + }); + }, + ), + ), + ], + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + widget.dailyData.title!, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), + SizedBox( + height: 8, + ), + Container( + child: LineChartWidget( + colors: widget.dailyData.colors, + spotsData: widget.dailyData.spots, + ), + ) + ], + ), + SizedBox( + height: 8, + ), + ProgressLine( + color: widget.dailyData.color!, + percentage: widget.dailyData.percentage!, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "${widget.dailyData.volumeData}", + style: Theme.of(context) + .textTheme + .caption! + .copyWith(color: Colors.white70), + ), + Text( + widget.dailyData.totalStorage!, + style: Theme.of(context) + .textTheme + .caption! + .copyWith(color: Colors.white), + ), + ], + ) + ], + ), + ); + } +} + +class LineChartWidget extends StatelessWidget { + const LineChartWidget({ + Key? key, + required this.colors, + required this.spotsData, + }) : super(key: key); + final List? colors; + final List? spotsData; + + @override + Widget build(BuildContext context) { + return Stack( + children: [ + Container( + width: 80, + height: 30, + child: LineChart( + LineChartData( + lineBarsData: [ + LineChartBarData( + spots: spotsData!, + belowBarData: BarAreaData(show: false), + aboveBarData: BarAreaData(show: false), + isCurved: true, + dotData: FlDotData(show: false), + //colors: colors, + barWidth: 3), + ], + lineTouchData: LineTouchData(enabled: false), + titlesData: FlTitlesData(show: false), + //axisTitleData: FlAxisTitleData(show: false), + gridData: FlGridData(show: false), + borderData: FlBorderData(show: false)), + ), + ), + ], + ); + } +} + +class ProgressLine extends StatelessWidget { + const ProgressLine({ + Key? key, + this.color = primaryColor, + required this.percentage, + }) : super(key: key); + + final Color color; + final int percentage; + + @override + Widget build(BuildContext context) { + return Stack( + children: [ + Container( + width: double.infinity, + height: 5, + decoration: BoxDecoration( + color: color.withOpacity(0.1), + borderRadius: BorderRadius.all(Radius.circular(10)), + ), + ), + LayoutBuilder( + builder: (context, constraints) => Container( + width: constraints.maxWidth * (percentage / 100), + height: 5, + decoration: BoxDecoration( + color: color, + borderRadius: BorderRadius.all(Radius.circular(10)), + ), + ), + ), + ], + ); + } +} diff --git a/frontend/lib/screens/dashboard/components/recent_builds.dart b/frontend/lib/screens/dashboard/components/recent_builds.dart new file mode 100644 index 0000000..f94b21c --- /dev/null +++ b/frontend/lib/screens/dashboard/components/recent_builds.dart @@ -0,0 +1,65 @@ +import 'package:flutter/material.dart'; + +import '../../../core/constants/color_constants.dart'; + +class RecentBuilds extends StatelessWidget { + const RecentBuilds({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Container( + padding: EdgeInsets.all(defaultPadding), + decoration: BoxDecoration( + color: secondaryColor, + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Recent Builds", + style: Theme.of(context).textTheme.subtitle1, + ), + SizedBox( + width: double.infinity, + child: DataTable( + horizontalMargin: 0, + columnSpacing: defaultPadding, + columns: [ + DataColumn( + label: Text("Build ID"), + ), + DataColumn( + label: Text("Package Name"), + ), + DataColumn( + label: Text("Version"), + ), + DataColumn( + label: Text("Status"), + ), + ], + rows: List.generate( + 7, + (index) => recentUserDataRow(), + ), + ), + ), + ], + ), + ); + } + + DataRow recentUserDataRow() { + return DataRow( + cells: [ + DataCell(Text("1")), + DataCell(Text("Resources")), + DataCell(Text("v1.2.3")), + DataCell(Icon(Icons.watch_later_outlined, color: Color(0xFF9D8D00),)), + ], + ); + } +} diff --git a/frontend/lib/screens/dashboard/components/recent_users.dart b/frontend/lib/screens/dashboard/components/recent_users.dart new file mode 100644 index 0000000..390f054 --- /dev/null +++ b/frontend/lib/screens/dashboard/components/recent_users.dart @@ -0,0 +1,91 @@ +import 'package:flutter/material.dart'; + +import '../../../core/constants/color_constants.dart'; + +class RecentUsers extends StatelessWidget { + const RecentUsers({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Container( + padding: EdgeInsets.all(defaultPadding), + decoration: BoxDecoration( + color: secondaryColor, + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Your Packages", + style: Theme.of(context).textTheme.subtitle1, + ), + SingleChildScrollView( + //scrollDirection: Axis.horizontal, + child: SizedBox( + width: double.infinity, + child: DataTable( + horizontalMargin: 0, + columnSpacing: defaultPadding, + columns: [ + DataColumn( + label: Text("Package ID"), + ), + DataColumn( + label: Text("Package Name"), + ), + DataColumn( + label: Text("Number of versions"), + ), + DataColumn( + label: Text("Status"), + ), + DataColumn( + label: Text("Action"), + ), + ], + rows: List.generate( + 7, + (index) => recentUserDataRow(context), + ), + ), + ), + ), + ], + ), + ); + } +} + +DataRow recentUserDataRow(BuildContext context) { + return DataRow( + cells: [ + DataCell(Text("1")), + DataCell(Text("Resources")), + DataCell(Text("2")), + DataCell(Icon(Icons.watch_later_outlined, color: Color(0xFF9D8D00),)), + DataCell( + Row( + children: [ + TextButton( + child: Text('View', style: TextStyle(color: greenColor)), + onPressed: () {}, + ), + SizedBox( + width: 6, + ), + TextButton( + child: Text("Delete", style: TextStyle(color: Colors.redAccent)), + onPressed: () { + + }, + // Delete + ), + ], + ), + ), + ], + ); +} diff --git a/frontend/lib/screens/dashboard/components/user_details_mini_card.dart b/frontend/lib/screens/dashboard/components/user_details_mini_card.dart new file mode 100644 index 0000000..221519d --- /dev/null +++ b/frontend/lib/screens/dashboard/components/user_details_mini_card.dart @@ -0,0 +1,64 @@ +import 'package:flutter/material.dart'; + +import '../../../core/constants/color_constants.dart'; + +class UserDetailsMiniCard extends StatelessWidget { + const UserDetailsMiniCard({ + Key? key, + required this.title, + required this.color, + required this.amountOfFiles, + required this.numberOfIncrease, + }) : super(key: key); + + final Color color; + final String title, amountOfFiles; + final int numberOfIncrease; + + @override + Widget build(BuildContext context) { + return Container( + margin: EdgeInsets.only(top: defaultPadding), + padding: EdgeInsets.all(defaultPadding), + decoration: BoxDecoration( + border: Border.all(width: 2, color: primaryColor.withOpacity(0.15)), + borderRadius: const BorderRadius.all( + Radius.circular(defaultPadding), + ), + ), + child: Row( + children: [ + SizedBox( + height: 20, + width: 20, + child: Container( + color: color, + )), + Expanded( + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: defaultPadding), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + title, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), + Text( + "$numberOfIncrease", + style: Theme.of(context) + .textTheme + .caption! + .copyWith(color: Colors.white70), + ), + ], + ), + ), + ), + Text(amountOfFiles) + ], + ), + ); + } +} diff --git a/frontend/lib/screens/dashboard/components/user_details_widget.dart b/frontend/lib/screens/dashboard/components/user_details_widget.dart new file mode 100644 index 0000000..711569d --- /dev/null +++ b/frontend/lib/screens/dashboard/components/user_details_widget.dart @@ -0,0 +1,48 @@ +import 'package:aurcache/screens/dashboard/components/user_details_mini_card.dart'; +import 'package:flutter/material.dart'; + +import '../../../core/constants/color_constants.dart'; +import 'charts.dart'; + +class UserDetailsWidget extends StatelessWidget { + const UserDetailsWidget({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Container( + padding: EdgeInsets.all(defaultPadding), + decoration: BoxDecoration( + color: secondaryColor, + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Package build success", + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.w500, + ), + ), + SizedBox(height: defaultPadding), + Chart(), + UserDetailsMiniCard( + color: const Color(0xff0a7005), + title: "Successful Builds", + amountOfFiles: "%16.7", + numberOfIncrease: 1328, + ), + UserDetailsMiniCard( + color: const Color(0xff760707), + title: "Failed Builds", + amountOfFiles: "%28.3", + numberOfIncrease: 1328, + ), + ], + ), + ); + } +} diff --git a/frontend/lib/screens/dashboard/dashboard_screen.dart b/frontend/lib/screens/dashboard/dashboard_screen.dart new file mode 100644 index 0000000..7cd8f37 --- /dev/null +++ b/frontend/lib/screens/dashboard/dashboard_screen.dart @@ -0,0 +1,57 @@ +import 'package:flutter/material.dart'; + +import '../../core/constants/color_constants.dart'; +import '../../responsive.dart'; +import 'components/header.dart'; +import 'components/mini_information_card.dart'; +import 'components/recent_builds.dart'; +import 'components/recent_users.dart'; +import 'components/user_details_widget.dart'; + +class DashboardScreen extends StatelessWidget { + @override + Widget build(BuildContext context) { + return SafeArea( + child: SingleChildScrollView( + //padding: EdgeInsets.all(defaultPadding), + child: Container( + padding: EdgeInsets.all(defaultPadding), + child: Column( + children: [ + Header(), + SizedBox(height: defaultPadding), + MiniInformation(), + SizedBox(height: defaultPadding), + Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Expanded( + flex: 5, + child: Column( + children: [ + RecentUsers(), + SizedBox(height: defaultPadding), + RecentBuilds(), + if (Responsive.isMobile(context)) + SizedBox(height: defaultPadding), + if (Responsive.isMobile(context)) UserDetailsWidget(), + ], + ), + ), + if (!Responsive.isMobile(context)) + SizedBox(width: defaultPadding), + // On Mobile means if the screen is less than 850 we dont want to show it + if (!Responsive.isMobile(context)) + Expanded( + flex: 2, + child: UserDetailsWidget(), + ), + ], + ) + ], + ), + ), + ), + ); + } +} diff --git a/frontend/lib/screens/home/components/side_menu.dart b/frontend/lib/screens/home/components/side_menu.dart new file mode 100644 index 0000000..bf09afa --- /dev/null +++ b/frontend/lib/screens/home/components/side_menu.dart @@ -0,0 +1,90 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_svg/flutter_svg.dart'; + +import '../../../core/constants/color_constants.dart'; + +class SideMenu extends StatelessWidget { + const SideMenu({ + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Drawer( + child: SingleChildScrollView( + // it enables scrolling + child: Column( + children: [ + DrawerHeader( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + // SizedBox( + // height: defaultPadding * 3, + // ), + // Image.asset( + // "assets/logo/logo_icon.png", + // scale: 5, + // ), + SizedBox( + height: defaultPadding, + ), + Text("AUR Build Server") + ], + )), + DrawerListTile( + title: "Dashboard", + svgSrc: "assets/icons/menu_dashbord.svg", + press: () {}, + ), + DrawerListTile( + title: "Builds", + svgSrc: "assets/icons/menu_tran.svg", + press: () {}, + ), + DrawerListTile( + title: "AUR", + svgSrc: "assets/icons/menu_task.svg", + press: () {}, + ), + DrawerListTile( + title: "Settings", + svgSrc: "assets/icons/menu_setting.svg", + press: () {}, + ), + ], + ), + ), + ); + } +} + +class DrawerListTile extends StatelessWidget { + const DrawerListTile({ + Key? key, + // For selecting those three line once press "Command+D" + required this.title, + required this.svgSrc, + required this.press, + }) : super(key: key); + + final String title, svgSrc; + final VoidCallback press; + + @override + Widget build(BuildContext context) { + return ListTile( + onTap: press, + horizontalTitleGap: 0.0, + leading: SvgPicture.asset( + svgSrc, + color: Colors.white54, + height: 16, + ), + title: Text( + title, + style: TextStyle(color: Colors.white54), + ), + ); + } +} diff --git a/frontend/lib/screens/home/home_screen.dart b/frontend/lib/screens/home/home_screen.dart new file mode 100644 index 0000000..895b58f --- /dev/null +++ b/frontend/lib/screens/home/home_screen.dart @@ -0,0 +1,35 @@ +import 'package:flutter/material.dart'; + +import '../../responsive.dart'; +import '../dashboard/dashboard_screen.dart'; +import 'components/side_menu.dart'; + +class HomeScreen extends StatelessWidget { + const HomeScreen({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + drawer: const SideMenu(), + body: SafeArea( + child: Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + // We want this side menu only for large screen + if (Responsive.isDesktop(context)) + const Expanded( + // default flex = 1 + // and it takes 1/6 part of the screen + child: SideMenu(), + ), + Expanded( + // It takes 5/6 part of the screen + flex: 5, + child: DashboardScreen(), + ), + ], + ), + ), + ); + } +} diff --git a/frontend/linux/.gitignore b/frontend/linux/.gitignore new file mode 100644 index 0000000..d3896c9 --- /dev/null +++ b/frontend/linux/.gitignore @@ -0,0 +1 @@ +flutter/ephemeral diff --git a/frontend/linux/CMakeLists.txt b/frontend/linux/CMakeLists.txt new file mode 100644 index 0000000..c873c66 --- /dev/null +++ b/frontend/linux/CMakeLists.txt @@ -0,0 +1,145 @@ +# Project-level configuration. +cmake_minimum_required(VERSION 3.10) +project(runner LANGUAGES CXX) + +# The name of the executable created for the application. Change this to change +# the on-disk name of your application. +set(BINARY_NAME "aurcache") +# The unique GTK application identifier for this application. See: +# https://wiki.gnome.org/HowDoI/ChooseApplicationID +set(APPLICATION_ID "eu.heili.aurcentral.aurcache") + +# Explicitly opt in to modern CMake behaviors to avoid warnings with recent +# versions of CMake. +cmake_policy(SET CMP0063 NEW) + +# Load bundled libraries from the lib/ directory relative to the binary. +set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") + +# Root filesystem for cross-building. +if(FLUTTER_TARGET_PLATFORM_SYSROOT) + set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT}) + set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT}) + set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) + set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) + set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) + set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +endif() + +# Define build configuration options. +if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) + set(CMAKE_BUILD_TYPE "Debug" CACHE + STRING "Flutter build mode" FORCE) + set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS + "Debug" "Profile" "Release") +endif() + +# Compilation settings that should be applied to most targets. +# +# Be cautious about adding new options here, as plugins use this function by +# default. In most cases, you should add new options to specific targets instead +# of modifying this function. +function(APPLY_STANDARD_SETTINGS TARGET) + target_compile_features(${TARGET} PUBLIC cxx_std_14) + target_compile_options(${TARGET} PRIVATE -Wall -Werror) + target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") + target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") +endfunction() + +# Flutter library and tool build rules. +set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") +add_subdirectory(${FLUTTER_MANAGED_DIR}) + +# System-level dependencies. +find_package(PkgConfig REQUIRED) +pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) + +add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") + +# Define the application target. To change its name, change BINARY_NAME above, +# not the value here, or `flutter run` will no longer work. +# +# Any new source files that you add to the application should be added here. +add_executable(${BINARY_NAME} + "main.cc" + "my_application.cc" + "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" +) + +# Apply the standard set of build settings. This can be removed for applications +# that need different build settings. +apply_standard_settings(${BINARY_NAME}) + +# Add dependency libraries. Add any application-specific dependencies here. +target_link_libraries(${BINARY_NAME} PRIVATE flutter) +target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) + +# Run the Flutter tool portions of the build. This must not be removed. +add_dependencies(${BINARY_NAME} flutter_assemble) + +# Only the install-generated bundle's copy of the executable will launch +# correctly, since the resources must in the right relative locations. To avoid +# people trying to run the unbundled copy, put it in a subdirectory instead of +# the default top-level location. +set_target_properties(${BINARY_NAME} + PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" +) + + +# Generated plugin build rules, which manage building the plugins and adding +# them to the application. +include(flutter/generated_plugins.cmake) + + +# === Installation === +# By default, "installing" just makes a relocatable bundle in the build +# directory. +set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle") +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) +endif() + +# Start with a clean build bundle directory every time. +install(CODE " + file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\") + " COMPONENT Runtime) + +set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") +set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib") + +install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" + COMPONENT Runtime) + +install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" + COMPONENT Runtime) + +install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + +foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) + install(FILES "${bundled_library}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) +endforeach(bundled_library) + +# Copy the native assets provided by the build.dart from all packages. +set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") +install(DIRECTORY "${NATIVE_ASSETS_DIR}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + +# Fully re-copy the assets directory on each build to avoid having stale files +# from a previous install. +set(FLUTTER_ASSET_DIR_NAME "flutter_assets") +install(CODE " + file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") + " COMPONENT Runtime) +install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" + DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) + +# Install the AOT library on non-Debug builds only. +if(NOT CMAKE_BUILD_TYPE MATCHES "Debug") + install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) +endif() diff --git a/frontend/linux/flutter/CMakeLists.txt b/frontend/linux/flutter/CMakeLists.txt new file mode 100644 index 0000000..d5bd016 --- /dev/null +++ b/frontend/linux/flutter/CMakeLists.txt @@ -0,0 +1,88 @@ +# This file controls Flutter-level build steps. It should not be edited. +cmake_minimum_required(VERSION 3.10) + +set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") + +# Configuration provided via flutter tool. +include(${EPHEMERAL_DIR}/generated_config.cmake) + +# TODO: Move the rest of this into files in ephemeral. See +# https://github.com/flutter/flutter/issues/57146. + +# Serves the same purpose as list(TRANSFORM ... PREPEND ...), +# which isn't available in 3.10. +function(list_prepend LIST_NAME PREFIX) + set(NEW_LIST "") + foreach(element ${${LIST_NAME}}) + list(APPEND NEW_LIST "${PREFIX}${element}") + endforeach(element) + set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE) +endfunction() + +# === Flutter Library === +# System-level dependencies. +find_package(PkgConfig REQUIRED) +pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) +pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0) +pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0) + +set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so") + +# Published to parent scope for install step. +set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) +set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) +set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) +set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE) + +list(APPEND FLUTTER_LIBRARY_HEADERS + "fl_basic_message_channel.h" + "fl_binary_codec.h" + "fl_binary_messenger.h" + "fl_dart_project.h" + "fl_engine.h" + "fl_json_message_codec.h" + "fl_json_method_codec.h" + "fl_message_codec.h" + "fl_method_call.h" + "fl_method_channel.h" + "fl_method_codec.h" + "fl_method_response.h" + "fl_plugin_registrar.h" + "fl_plugin_registry.h" + "fl_standard_message_codec.h" + "fl_standard_method_codec.h" + "fl_string_codec.h" + "fl_value.h" + "fl_view.h" + "flutter_linux.h" +) +list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/") +add_library(flutter INTERFACE) +target_include_directories(flutter INTERFACE + "${EPHEMERAL_DIR}" +) +target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}") +target_link_libraries(flutter INTERFACE + PkgConfig::GTK + PkgConfig::GLIB + PkgConfig::GIO +) +add_dependencies(flutter flutter_assemble) + +# === Flutter tool backend === +# _phony_ is a non-existent file to force this command to run every time, +# since currently there's no way to get a full input/output list from the +# flutter tool. +add_custom_command( + OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} + ${CMAKE_CURRENT_BINARY_DIR}/_phony_ + COMMAND ${CMAKE_COMMAND} -E env + ${FLUTTER_TOOL_ENVIRONMENT} + "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh" + ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE} + VERBATIM +) +add_custom_target(flutter_assemble DEPENDS + "${FLUTTER_LIBRARY}" + ${FLUTTER_LIBRARY_HEADERS} +) diff --git a/frontend/linux/flutter/generated_plugin_registrant.cc b/frontend/linux/flutter/generated_plugin_registrant.cc new file mode 100644 index 0000000..e71a16d --- /dev/null +++ b/frontend/linux/flutter/generated_plugin_registrant.cc @@ -0,0 +1,11 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#include "generated_plugin_registrant.h" + + +void fl_register_plugins(FlPluginRegistry* registry) { +} diff --git a/frontend/linux/flutter/generated_plugin_registrant.h b/frontend/linux/flutter/generated_plugin_registrant.h new file mode 100644 index 0000000..e0f0a47 --- /dev/null +++ b/frontend/linux/flutter/generated_plugin_registrant.h @@ -0,0 +1,15 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#ifndef GENERATED_PLUGIN_REGISTRANT_ +#define GENERATED_PLUGIN_REGISTRANT_ + +#include + +// Registers Flutter plugins. +void fl_register_plugins(FlPluginRegistry* registry); + +#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/frontend/linux/flutter/generated_plugins.cmake b/frontend/linux/flutter/generated_plugins.cmake new file mode 100644 index 0000000..2e1de87 --- /dev/null +++ b/frontend/linux/flutter/generated_plugins.cmake @@ -0,0 +1,23 @@ +# +# Generated file, do not edit. +# + +list(APPEND FLUTTER_PLUGIN_LIST +) + +list(APPEND FLUTTER_FFI_PLUGIN_LIST +) + +set(PLUGIN_BUNDLED_LIBRARIES) + +foreach(plugin ${FLUTTER_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) + target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) + list(APPEND PLUGIN_BUNDLED_LIBRARIES $) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) +endforeach(plugin) + +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) +endforeach(ffi_plugin) diff --git a/frontend/linux/main.cc b/frontend/linux/main.cc new file mode 100644 index 0000000..e7c5c54 --- /dev/null +++ b/frontend/linux/main.cc @@ -0,0 +1,6 @@ +#include "my_application.h" + +int main(int argc, char** argv) { + g_autoptr(MyApplication) app = my_application_new(); + return g_application_run(G_APPLICATION(app), argc, argv); +} diff --git a/frontend/linux/my_application.cc b/frontend/linux/my_application.cc new file mode 100644 index 0000000..a1ef38d --- /dev/null +++ b/frontend/linux/my_application.cc @@ -0,0 +1,104 @@ +#include "my_application.h" + +#include +#ifdef GDK_WINDOWING_X11 +#include +#endif + +#include "flutter/generated_plugin_registrant.h" + +struct _MyApplication { + GtkApplication parent_instance; + char** dart_entrypoint_arguments; +}; + +G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) + +// Implements GApplication::activate. +static void my_application_activate(GApplication* application) { + MyApplication* self = MY_APPLICATION(application); + GtkWindow* window = + GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); + + // Use a header bar when running in GNOME as this is the common style used + // by applications and is the setup most users will be using (e.g. Ubuntu + // desktop). + // If running on X and not using GNOME then just use a traditional title bar + // in case the window manager does more exotic layout, e.g. tiling. + // If running on Wayland assume the header bar will work (may need changing + // if future cases occur). + gboolean use_header_bar = TRUE; +#ifdef GDK_WINDOWING_X11 + GdkScreen* screen = gtk_window_get_screen(window); + if (GDK_IS_X11_SCREEN(screen)) { + const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); + if (g_strcmp0(wm_name, "GNOME Shell") != 0) { + use_header_bar = FALSE; + } + } +#endif + if (use_header_bar) { + GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); + gtk_widget_show(GTK_WIDGET(header_bar)); + gtk_header_bar_set_title(header_bar, "aurcache"); + gtk_header_bar_set_show_close_button(header_bar, TRUE); + gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); + } else { + gtk_window_set_title(window, "aurcache"); + } + + gtk_window_set_default_size(window, 1280, 720); + gtk_widget_show(GTK_WIDGET(window)); + + g_autoptr(FlDartProject) project = fl_dart_project_new(); + fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); + + FlView* view = fl_view_new(project); + gtk_widget_show(GTK_WIDGET(view)); + gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); + + fl_register_plugins(FL_PLUGIN_REGISTRY(view)); + + gtk_widget_grab_focus(GTK_WIDGET(view)); +} + +// Implements GApplication::local_command_line. +static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) { + MyApplication* self = MY_APPLICATION(application); + // Strip out the first argument as it is the binary name. + self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); + + g_autoptr(GError) error = nullptr; + if (!g_application_register(application, nullptr, &error)) { + g_warning("Failed to register: %s", error->message); + *exit_status = 1; + return TRUE; + } + + g_application_activate(application); + *exit_status = 0; + + return TRUE; +} + +// Implements GObject::dispose. +static void my_application_dispose(GObject* object) { + MyApplication* self = MY_APPLICATION(object); + g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); + G_OBJECT_CLASS(my_application_parent_class)->dispose(object); +} + +static void my_application_class_init(MyApplicationClass* klass) { + G_APPLICATION_CLASS(klass)->activate = my_application_activate; + G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line; + G_OBJECT_CLASS(klass)->dispose = my_application_dispose; +} + +static void my_application_init(MyApplication* self) {} + +MyApplication* my_application_new() { + return MY_APPLICATION(g_object_new(my_application_get_type(), + "application-id", APPLICATION_ID, + "flags", G_APPLICATION_NON_UNIQUE, + nullptr)); +} diff --git a/frontend/linux/my_application.h b/frontend/linux/my_application.h new file mode 100644 index 0000000..72271d5 --- /dev/null +++ b/frontend/linux/my_application.h @@ -0,0 +1,18 @@ +#ifndef FLUTTER_MY_APPLICATION_H_ +#define FLUTTER_MY_APPLICATION_H_ + +#include + +G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, + GtkApplication) + +/** + * my_application_new: + * + * Creates a new Flutter-based application. + * + * Returns: a new #MyApplication. + */ +MyApplication* my_application_new(); + +#endif // FLUTTER_MY_APPLICATION_H_ diff --git a/frontend/pubspec.lock b/frontend/pubspec.lock new file mode 100644 index 0000000..69edddb --- /dev/null +++ b/frontend/pubspec.lock @@ -0,0 +1,397 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + args: + dependency: transitive + description: + name: args + sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + url: "https://pub.dev" + source: hosted + version: "2.4.2" + async: + dependency: transitive + description: + name: async + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + url: "https://pub.dev" + source: hosted + version: "2.11.0" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + characters: + dependency: transitive + description: + name: characters + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + url: "https://pub.dev" + source: hosted + version: "1.3.0" + clock: + dependency: transitive + description: + name: clock + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" + source: hosted + version: "1.1.1" + collection: + dependency: transitive + description: + name: collection + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + url: "https://pub.dev" + source: hosted + version: "1.18.0" + crypto: + dependency: transitive + description: + name: crypto + sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab + url: "https://pub.dev" + source: hosted + version: "3.0.3" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d + url: "https://pub.dev" + source: hosted + version: "1.0.6" + equatable: + dependency: transitive + description: + name: equatable + sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + url: "https://pub.dev" + source: hosted + version: "2.0.5" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" + source: hosted + version: "1.3.1" + ffi: + dependency: transitive + description: + name: ffi + sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" + url: "https://pub.dev" + source: hosted + version: "2.1.0" + fl_chart: + dependency: "direct main" + description: + name: fl_chart + sha256: fe6fec7d85975a99c73b9515a69a6e291364accfa0e4a5b3ce6de814d74b9a1c + url: "https://pub.dev" + source: hosted + version: "0.66.0" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_lints: + dependency: "direct dev" + description: + name: flutter_lints + sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + url: "https://pub.dev" + source: hosted + version: "2.0.3" + flutter_svg: + dependency: "direct main" + description: + name: flutter_svg + sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c + url: "https://pub.dev" + source: hosted + version: "2.0.9" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + google_fonts: + dependency: "direct main" + description: + name: google_fonts + sha256: f0b8d115a13ecf827013ec9fc883390ccc0e87a96ed5347a3114cac177ef18e8 + url: "https://pub.dev" + source: hosted + version: "6.1.0" + http: + dependency: transitive + description: + name: http + sha256: d4872660c46d929f6b8a9ef4e7a7eff7e49bbf0c4ec3f385ee32df5119175139 + url: "https://pub.dev" + source: hosted + version: "1.1.2" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + url: "https://pub.dev" + source: hosted + version: "4.0.2" + lints: + dependency: transitive + description: + name: lints + sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + matcher: + dependency: transitive + description: + name: matcher + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + url: "https://pub.dev" + source: hosted + version: "0.12.16" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + url: "https://pub.dev" + source: hosted + version: "0.5.0" + meta: + dependency: transitive + description: + name: meta + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + url: "https://pub.dev" + source: hosted + version: "1.10.0" + path: + dependency: transitive + description: + name: path + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + url: "https://pub.dev" + source: hosted + version: "1.8.3" + path_parsing: + dependency: transitive + description: + name: path_parsing + sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + url: "https://pub.dev" + source: hosted + version: "1.0.1" + path_provider: + dependency: transitive + description: + name: path_provider + sha256: a1aa8aaa2542a6bc57e381f132af822420216c80d4781f7aa085ca3229208aaa + url: "https://pub.dev" + source: hosted + version: "2.1.1" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668" + url: "https://pub.dev" + source: hosted + version: "2.2.2" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: "19314d595120f82aca0ba62787d58dde2cc6b5df7d2f0daf72489e38d1b57f2d" + url: "https://pub.dev" + source: hosted + version: "2.3.1" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" + url: "https://pub.dev" + source: hosted + version: "2.2.1" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 + url: "https://pub.dev" + source: hosted + version: "6.0.2" + platform: + dependency: transitive + description: + name: platform + sha256: "0a279f0707af40c890e80b1e9df8bb761694c074ba7e1d4ab1bc4b728e200b59" + url: "https://pub.dev" + source: hosted + version: "3.1.3" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8 + url: "https://pub.dev" + source: hosted + version: "2.1.7" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.99" + source_span: + dependency: transitive + description: + name: source_span + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + url: "https://pub.dev" + source: hosted + version: "1.10.0" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + url: "https://pub.dev" + source: hosted + version: "1.11.1" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + url: "https://pub.dev" + source: hosted + version: "2.1.2" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" + source: hosted + version: "1.2.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" + source: hosted + version: "1.2.1" + test_api: + dependency: transitive + description: + name: test_api + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + url: "https://pub.dev" + source: hosted + version: "0.6.1" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + url: "https://pub.dev" + source: hosted + version: "1.3.2" + vector_graphics: + dependency: transitive + description: + name: vector_graphics + sha256: "0f0c746dd2d6254a0057218ff980fc7f5670fd0fcf5e4db38a490d31eed4ad43" + url: "https://pub.dev" + source: hosted + version: "1.1.9+1" + vector_graphics_codec: + dependency: transitive + description: + name: vector_graphics_codec + sha256: "0edf6d630d1bfd5589114138ed8fada3234deacc37966bec033d3047c29248b7" + url: "https://pub.dev" + source: hosted + version: "1.1.9+1" + vector_graphics_compiler: + dependency: transitive + description: + name: vector_graphics_compiler + sha256: d24333727332d9bd20990f1483af4e09abdb9b1fc7c3db940b56ab5c42790c26 + url: "https://pub.dev" + source: hosted + version: "1.1.9+1" + vector_math: + dependency: transitive + description: + name: vector_math + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + web: + dependency: transitive + description: + name: web + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + url: "https://pub.dev" + source: hosted + version: "0.3.0" + win32: + dependency: transitive + description: + name: win32 + sha256: b0f37db61ba2f2e9b7a78a1caece0052564d1bc70668156cf3a29d676fe4e574 + url: "https://pub.dev" + source: hosted + version: "5.1.1" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: "589ada45ba9e39405c198fe34eb0f607cddb2108527e658136120892beac46d2" + url: "https://pub.dev" + source: hosted + version: "1.0.3" + xml: + dependency: transitive + description: + name: xml + sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 + url: "https://pub.dev" + source: hosted + version: "6.5.0" +sdks: + dart: ">=3.2.3 <4.0.0" + flutter: ">=3.16.0" diff --git a/frontend/pubspec.yaml b/frontend/pubspec.yaml new file mode 100644 index 0000000..b06e790 --- /dev/null +++ b/frontend/pubspec.yaml @@ -0,0 +1,99 @@ +name: aurcache +description: "A new Flutter project." +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# The following defines the version and build number for your application. +# A version number is three numbers separated by dots, like 1.2.43 +# followed by an optional build number separated by a +. +# Both the version and the builder number may be overridden in flutter +# build by specifying --build-name and --build-number, respectively. +# In Android, build-name is used as versionName while build-number used as versionCode. +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning +# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. +# Read more about iOS versioning at +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html +# In Windows, build-name is used as the major, minor, and patch parts +# of the product and file versions while build-number is used as the build suffix. +version: 1.0.0+1 + +environment: + sdk: '>=3.2.3 <4.0.0' + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + fl_chart: ^0.66.0 +# flutter_icons: +# git: +# url: https://github.com/DaveatCor/flutter_icons_fork.git +# branch: master + flutter_svg: ^2.0.9 + google_fonts: ^6.1.0 + +dev_dependencies: + flutter_test: + sdk: flutter + + # The "flutter_lints" package below contains a set of recommended lints to + # encourage good coding practices. The lint set provided by the package is + # activated in the `analysis_options.yaml` file located at the root of your + # package. See that file for information about deactivating specific lint + # rules and activating additional ones. + flutter_lints: ^2.0.0 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + + # The following line ensures that the Material Icons font is + # included with your application, so that you can use the icons in + # the material Icons class. + uses-material-design: true + assets: + - assets/icons/ + + # To add assets to your application, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/assets-and-images/#resolution-aware + + # For details regarding adding assets from package dependencies, see + # https://flutter.dev/assets-and-images/#from-packages + + # To add custom fonts to your application, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts from package dependencies, + # see https://flutter.dev/custom-fonts/#from-packages diff --git a/frontend/test/widget_test.dart b/frontend/test/widget_test.dart new file mode 100644 index 0000000..0038151 --- /dev/null +++ b/frontend/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility in the flutter_test package. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:aurcache/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/frontend/web/favicon.png b/frontend/web/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..8aaa46ac1ae21512746f852a42ba87e4165dfdd1 GIT binary patch literal 917 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0X7 zltGxWVyS%@P(fs7NJL45ua8x7ey(0(N`6wRUPW#JP&EUCO@$SZnVVXYs8ErclUHn2 zVXFjIVFhG^g!Ppaz)DK8ZIvQ?0~DO|i&7O#^-S~(l1AfjnEK zjFOT9D}DX)@^Za$W4-*MbbUihOG|wNBYh(yU7!lx;>x^|#0uTKVr7USFmqf|i<65o z3raHc^AtelCMM;Vme?vOfh>Xph&xL%(-1c06+^uR^q@XSM&D4+Kp$>4P^%3{)XKjo zGZknv$b36P8?Z_gF{nK@`XI}Z90TzwSQO}0J1!f2c(B=V`5aP@1P1a|PZ!4!3&Gl8 zTYqUsf!gYFyJnXpu0!n&N*SYAX-%d(5gVjrHJWqXQshj@!Zm{!01WsQrH~9=kTxW#6SvuapgMqt>$=j#%eyGrQzr zP{L-3gsMA^$I1&gsBAEL+vxi1*Igl=8#8`5?A-T5=z-sk46WA1IUT)AIZHx1rdUrf zVJrJn<74DDw`j)Ki#gt}mIT-Q`XRa2-jQXQoI%w`nb|XblvzK${ZzlV)m-XcwC(od z71_OEC5Bt9GEXosOXaPTYOia#R4ID2TiU~`zVMl08TV_C%DnU4^+HE>9(CE4D6?Fz oujB08i7adh9xk7*FX66dWH6F5TM;?E2b5PlUHx3vIVCg!0Dx9vYXATM literal 0 HcmV?d00001 diff --git a/frontend/web/icons/Icon-192.png b/frontend/web/icons/Icon-192.png new file mode 100644 index 0000000000000000000000000000000000000000..b749bfef07473333cf1dd31e9eed89862a5d52aa GIT binary patch literal 5292 zcmZ`-2T+sGz6~)*FVZ`aW+(v>MIm&M-g^@e2u-B-DoB?qO+b1Tq<5uCCv>ESfRum& zp%X;f!~1{tzL__3=gjVJ=j=J>+nMj%ncXj1Q(b|Ckbw{Y0FWpt%4y%$uD=Z*c-x~o zE;IoE;xa#7Ll5nj-e4CuXB&G*IM~D21rCP$*xLXAK8rIMCSHuSu%bL&S3)8YI~vyp@KBu9Ph7R_pvKQ@xv>NQ`dZp(u{Z8K3yOB zn7-AR+d2JkW)KiGx0hosml;+eCXp6+w%@STjFY*CJ?udJ64&{BCbuebcuH;}(($@@ znNlgBA@ZXB)mcl9nbX#F!f_5Z=W>0kh|UVWnf!At4V*LQP%*gPdCXd6P@J4Td;!Ur z<2ZLmwr(NG`u#gDEMP19UcSzRTL@HsK+PnIXbVBT@oHm53DZr?~V(0{rsalAfwgo zEh=GviaqkF;}F_5-yA!1u3!gxaR&Mj)hLuj5Q-N-@Lra{%<4ONja8pycD90&>yMB` zchhd>0CsH`^|&TstH-8+R`CfoWqmTTF_0?zDOY`E`b)cVi!$4xA@oO;SyOjJyP^_j zx^@Gdf+w|FW@DMdOi8=4+LJl$#@R&&=UM`)G!y%6ZzQLoSL%*KE8IO0~&5XYR9 z&N)?goEiWA(YoRfT{06&D6Yuu@Qt&XVbuW@COb;>SP9~aRc+z`m`80pB2o%`#{xD@ zI3RAlukL5L>px6b?QW1Ac_0>ew%NM!XB2(H+1Y3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3C zwJGd1lx5UzViP7sZJ&|LqH*mryb}y|%AOw+v)yc`qM)03qyyrqhX?ub`Cjwx2PrR! z)_z>5*!*$x1=Qa-0uE7jy0z`>|Ni#X+uV|%_81F7)b+nf%iz=`fF4g5UfHS_?PHbr zB;0$bK@=di?f`dS(j{l3-tSCfp~zUuva+=EWxJcRfp(<$@vd(GigM&~vaYZ0c#BTs z3ijkxMl=vw5AS&DcXQ%eeKt!uKvh2l3W?&3=dBHU=Gz?O!40S&&~ei2vg**c$o;i89~6DVns zG>9a*`k5)NI9|?W!@9>rzJ;9EJ=YlJTx1r1BA?H`LWijk(rTax9(OAu;q4_wTj-yj z1%W4GW&K4T=uEGb+E!>W0SD_C0RR91 literal 0 HcmV?d00001 diff --git a/frontend/web/icons/Icon-512.png b/frontend/web/icons/Icon-512.png new file mode 100644 index 0000000000000000000000000000000000000000..88cfd48dff1169879ba46840804b412fe02fefd6 GIT binary patch literal 8252 zcmd5=2T+s!lYZ%-(h(2@5fr2dC?F^$C=i-}R6$UX8af(!je;W5yC_|HmujSgN*6?W z3knF*TL1$|?oD*=zPbBVex*RUIKsL<(&Rj9%^UD2IK3W?2j>D?eWQgvS-HLymHo9%~|N2Q{~j za?*X-{b9JRowv_*Mh|;*-kPFn>PI;r<#kFaxFqbn?aq|PduQg=2Q;~Qc}#z)_T%x9 zE|0!a70`58wjREmAH38H1)#gof)U3g9FZ^ zF7&-0^Hy{4XHWLoC*hOG(dg~2g6&?-wqcpf{ z&3=o8vw7lMi22jCG9RQbv8H}`+}9^zSk`nlR8?Z&G2dlDy$4#+WOlg;VHqzuE=fM@ z?OI6HEJH4&tA?FVG}9>jAnq_^tlw8NbjNhfqk2rQr?h(F&WiKy03Sn=-;ZJRh~JrD zbt)zLbnabttEZ>zUiu`N*u4sfQaLE8-WDn@tHp50uD(^r-}UsUUu)`!Rl1PozAc!a z?uj|2QDQ%oV-jxUJmJycySBINSKdX{kDYRS=+`HgR2GO19fg&lZKyBFbbXhQV~v~L za^U944F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(JtkAn6F(O{z@b76OIqMC$&oJ_&S|YbFJ*)3qVX_uNf5b8(!vGX19hsG z(OP>RmZp29KH9Ge2kKjKigUmOe^K_!UXP`von)PR8Qz$%=EmOB9xS(ZxE_tnyzo}7 z=6~$~9k0M~v}`w={AeqF?_)9q{m8K#6M{a&(;u;O41j)I$^T?lx5(zlebpY@NT&#N zR+1bB)-1-xj}R8uwqwf=iP1GbxBjneCC%UrSdSxK1vM^i9;bUkS#iRZw2H>rS<2<$ zNT3|sDH>{tXb=zq7XZi*K?#Zsa1h1{h5!Tq_YbKFm_*=A5-<~j63he;4`77!|LBlo zR^~tR3yxcU=gDFbshyF6>o0bdp$qmHS7D}m3;^QZq9kBBU|9$N-~oU?G5;jyFR7>z hN`IR97YZXIo@y!QgFWddJ3|0`sjFx!m))><{BI=FK%f8s literal 0 HcmV?d00001 diff --git a/frontend/web/icons/Icon-maskable-192.png b/frontend/web/icons/Icon-maskable-192.png new file mode 100644 index 0000000000000000000000000000000000000000..eb9b4d76e525556d5d89141648c724331630325d GIT binary patch literal 5594 zcmdT|`#%%j|KDb2V@0DPm$^(Lx5}lO%Yv(=e*7hl@QqKS50#~#^IQPxBmuh|i9sXnt4ch@VT0F7% zMtrs@KWIOo+QV@lSs66A>2pz6-`9Jk=0vv&u?)^F@HZ)-6HT=B7LF;rdj zskUyBfbojcX#CS>WrIWo9D=DIwcXM8=I5D{SGf$~=gh-$LwY?*)cD%38%sCc?5OsX z-XfkyL-1`VavZ?>(pI-xp-kYq=1hsnyP^TLb%0vKRSo^~r{x?ISLY1i7KjSp z*0h&jG(Rkkq2+G_6eS>n&6>&Xk+ngOMcYrk<8KrukQHzfx675^^s$~<@d$9X{VBbg z2Fd4Z%g`!-P}d#`?B4#S-9x*eNlOVRnDrn#jY@~$jfQ-~3Od;A;x-BI1BEDdvr`pI z#D)d)!2_`GiZOUu1crb!hqH=ezs0qk<_xDm_Kkw?r*?0C3|Io6>$!kyDl;eH=aqg$B zsH_|ZD?jP2dc=)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| zE35dl{a2)&leQ@LlDxLQOfUDS`;+ZQ4ozrleQwaR-K|@9T{#hB5Z^t#8 zC-d_G;B4;F#8A2EBL58s$zF-=SCr`P#z zNCTnHF&|X@q>SkAoYu>&s9v@zCpv9lLSH-UZzfhJh`EZA{X#%nqw@@aW^vPcfQrlPs(qQxmC|4tp^&sHy!H!2FH5eC{M@g;ElWNzlb-+ zxpfc0m4<}L){4|RZ>KReag2j%Ot_UKkgpJN!7Y_y3;Ssz{9 z!K3isRtaFtQII5^6}cm9RZd5nTp9psk&u1C(BY`(_tolBwzV_@0F*m%3G%Y?2utyS zY`xM0iDRT)yTyYukFeGQ&W@ReM+ADG1xu@ruq&^GK35`+2r}b^V!m1(VgH|QhIPDE X>c!)3PgKfL&lX^$Z>Cpu&6)6jvi^Z! literal 0 HcmV?d00001 diff --git a/frontend/web/icons/Icon-maskable-512.png b/frontend/web/icons/Icon-maskable-512.png new file mode 100644 index 0000000000000000000000000000000000000000..d69c56691fbdb0b7efa65097c7cc1edac12a6d3e GIT binary patch literal 20998 zcmeFZ_gj-)&^4Nb2tlbLMU<{!p(#yjqEe+=0IA_oih%ScH9@5#MNp&}Y#;;(h=A0@ zh7{>lT2MkSQ344eAvrhici!td|HJuyvJm#Y_w1Q9Yu3!26dNlO-oxUDK_C#XnW^Co z5C{VN6#{~B0)K2j7}*1Xq(Nqemv23A-6&=ZpEijkVnSwVGqLv40?n0=p;k3-U5e5+ z+z3>aS`u9DS=!wg8ROu?X4TFoW6CFLL&{GzoVT)ldhLekLM|+j3tIxRd|*5=c{=s&*vfPdBr(Fyj(v@%eQj1Soy7m4^@VRl1~@-PV7y+c!xz$8436WBn$t{=}mEdK#k`aystimGgI{(IBx$!pAwFoE9Y`^t^;> zKAD)C(Dl^s%`?q5$P|fZf8Xymrtu^Pv(7D`rn>Z-w$Ahs!z9!94WNVxrJuXfHAaxg zC6s@|Z1$7R$(!#t%Jb{{s6(Y?NoQXDYq)!}X@jKPhe`{9KQ@sAU8y-5`xt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K zSgkyu;=DV+or2)AxCBgq-nj5=@n^`%T#V+xBGEkW4lCqrE)LMv#f;AvD__cQ@Eg3`~x| zW+h9mofSXCq5|M)9|ez(#X?-sxB%Go8};sJ?2abp(Y!lyi>k)|{M*Z$c{e1-K4ky` MPgg&ebxsLQ025IeI{*Lx literal 0 HcmV?d00001 diff --git a/frontend/web/index.html b/frontend/web/index.html new file mode 100644 index 0000000..fa8c0e0 --- /dev/null +++ b/frontend/web/index.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + aurcache + + + + + + + + + + diff --git a/frontend/web/manifest.json b/frontend/web/manifest.json new file mode 100644 index 0000000..85d71c3 --- /dev/null +++ b/frontend/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "aurcache", + "short_name": "aurcache", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] +}