diff --git a/apps/flutter/README.md b/apps/flutter/README.md index d72b258..075c78a 100644 --- a/apps/flutter/README.md +++ b/apps/flutter/README.md @@ -1,4 +1,4 @@ -# bevy_tasks +# onyx A new Flutter project. diff --git a/apps/flutter/lib/main.dart b/apps/flutter/lib/main.dart index 86d663e..a9a5683 100644 --- a/apps/flutter/lib/main.dart +++ b/apps/flutter/lib/main.dart @@ -32,19 +32,19 @@ Future main() async { runApp( ChangeNotifierProvider( create: (_) => AppState()..loadConfig(), - child: const BevyTasksApp(), + child: const OnyxApp(), ), ); } -class BevyTasksApp extends StatelessWidget { - const BevyTasksApp({super.key}); +class OnyxApp extends StatelessWidget { + const OnyxApp({super.key}); @override Widget build(BuildContext context) { final state = context.watch(); return MaterialApp( - title: 'Bevy Tasks', + title: 'Onyx', debugShowCheckedModeBanner: false, theme: AppTheme.light(), darkTheme: AppTheme.dark(), diff --git a/apps/flutter/lib/src/rust/frb_generated.dart b/apps/flutter/lib/src/rust/frb_generated.dart index 94a1a28..372955b 100644 --- a/apps/flutter/lib/src/rust/frb_generated.dart +++ b/apps/flutter/lib/src/rust/frb_generated.dart @@ -68,7 +68,7 @@ class RustLib extends BaseEntrypoint { static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( - stem: 'bevy_tasks_flutter', + stem: 'onyx_flutter', ioDirectory: 'rust/target/release/', webPrefix: 'pkg/', ); diff --git a/apps/flutter/lib/src/screens/setup_screen.dart b/apps/flutter/lib/src/screens/setup_screen.dart index 9da106b..ada62d7 100644 --- a/apps/flutter/lib/src/screens/setup_screen.dart +++ b/apps/flutter/lib/src/screens/setup_screen.dart @@ -52,7 +52,7 @@ class _SetupScreenState extends State { mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text('Bevy Tasks', + Text('Onyx', style: TextStyle(fontSize: 24, fontWeight: FontWeight.w700, color: isDark ? AppTheme.textDark : AppTheme.textLight)), const SizedBox(height: 4), diff --git a/apps/flutter/linux/CMakeLists.txt b/apps/flutter/linux/CMakeLists.txt index 69d23ed..685dbb5 100644 --- a/apps/flutter/linux/CMakeLists.txt +++ b/apps/flutter/linux/CMakeLists.txt @@ -4,10 +4,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 "bevy_tasks") +set(BINARY_NAME "onyx") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.bevytasks.bevy_tasks") +set(APPLICATION_ID "com.onyx.onyx") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. @@ -59,7 +59,7 @@ add_subdirectory("runner") # Build the Rust FFI library for flutter_rust_bridge set(RUST_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../rust") -set(RUST_LIB_NAME "libbevy_tasks_flutter.so") +set(RUST_LIB_NAME "libonyx_flutter.so") if(CMAKE_BUILD_TYPE MATCHES "Debug") set(RUST_TARGET_DIR "${RUST_DIR}/target/debug") add_custom_command( diff --git a/apps/flutter/linux/runner/my_application.cc b/apps/flutter/linux/runner/my_application.cc index 4aed40e..e908bd6 100644 --- a/apps/flutter/linux/runner/my_application.cc +++ b/apps/flutter/linux/runner/my_application.cc @@ -27,7 +27,7 @@ static void my_application_activate(GApplication* application) { // Frameless transparent window gtk_window_set_decorated(window, FALSE); - gtk_window_set_title(window, "bevy_tasks"); + gtk_window_set_title(window, "onyx"); gtk_window_set_default_size(window, 400, 700); // Enable transparency diff --git a/apps/flutter/pubspec.yaml b/apps/flutter/pubspec.yaml index 5f95f96..b24d432 100644 --- a/apps/flutter/pubspec.yaml +++ b/apps/flutter/pubspec.yaml @@ -1,5 +1,5 @@ -name: bevy_tasks -description: "Bevy Tasks - local-first task management" +name: onyx +description: "Onyx - local-first task management" publish_to: 'none' version: 1.0.0+1 diff --git a/apps/flutter/rust/Cargo.lock b/apps/flutter/rust/Cargo.lock index cd7a59c..c8f4b3c 100644 --- a/apps/flutter/rust/Cargo.lock +++ b/apps/flutter/rust/Cargo.lock @@ -109,7 +109,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] -name = "bevy-tasks-core" +name = "onyx-core" version = "0.1.0" dependencies = [ "chrono", @@ -126,10 +126,10 @@ dependencies = [ ] [[package]] -name = "bevy-tasks-flutter" +name = "onyx-flutter" version = "0.1.0" dependencies = [ - "bevy-tasks-core", + "onyx-core", "chrono", "flutter_rust_bridge", "once_cell", diff --git a/apps/flutter/rust/Cargo.toml b/apps/flutter/rust/Cargo.toml index 4b60646..6f2f7d3 100644 --- a/apps/flutter/rust/Cargo.toml +++ b/apps/flutter/rust/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bevy-tasks-flutter" +name = "onyx-flutter" version = "0.1.0" edition = "2021" @@ -8,7 +8,7 @@ crate-type = ["cdylib", "staticlib"] [dependencies] flutter_rust_bridge = "=2.11.1" -bevy-tasks-core = { path = "../../../crates/bevy-tasks-core" } +onyx-core = { path = "../../../crates/onyx-core" } uuid = { version = "1", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } once_cell = "1" diff --git a/apps/flutter/rust/src/api.rs b/apps/flutter/rust/src/api.rs index ea22a54..20cda7e 100644 --- a/apps/flutter/rust/src/api.rs +++ b/apps/flutter/rust/src/api.rs @@ -4,7 +4,7 @@ use std::sync::Mutex; use once_cell::sync::Lazy; use uuid::Uuid; -use bevy_tasks_core::{ +use onyx_core::{ config::{AppConfig, WorkspaceConfig}, models::{Task, TaskList, TaskStatus}, repository::TaskRepository, diff --git a/apps/flutter/test/widget_test.dart b/apps/flutter/test/widget_test.dart index 470d712..0c63a1a 100644 --- a/apps/flutter/test/widget_test.dart +++ b/apps/flutter/test/widget_test.dart @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:bevy_tasks/main.dart'; +import 'package:onyx/main.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { diff --git a/apps/flutter/windows/CMakeLists.txt b/apps/flutter/windows/CMakeLists.txt index 86a0586..94b4c4c 100644 --- a/apps/flutter/windows/CMakeLists.txt +++ b/apps/flutter/windows/CMakeLists.txt @@ -1,10 +1,10 @@ # Project-level configuration. cmake_minimum_required(VERSION 3.14) -project(bevy_tasks LANGUAGES CXX) +project(onyx 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 "bevy_tasks") +set(BINARY_NAME "onyx") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/apps/flutter/windows/runner/Runner.rc b/apps/flutter/windows/runner/Runner.rc index b31e86e..59c146e 100644 --- a/apps/flutter/windows/runner/Runner.rc +++ b/apps/flutter/windows/runner/Runner.rc @@ -90,12 +90,12 @@ BEGIN BLOCK "040904e4" BEGIN VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "bevy_tasks" "\0" + VALUE "FileDescription", "onyx" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "bevy_tasks" "\0" + VALUE "InternalName", "onyx" "\0" VALUE "LegalCopyright", "Copyright (C) 2026 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "bevy_tasks.exe" "\0" - VALUE "ProductName", "bevy_tasks" "\0" + VALUE "OriginalFilename", "onyx.exe" "\0" + VALUE "ProductName", "onyx" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0" END END diff --git a/apps/flutter/windows/runner/main.cpp b/apps/flutter/windows/runner/main.cpp index c0613b9..8789bfb 100644 --- a/apps/flutter/windows/runner/main.cpp +++ b/apps/flutter/windows/runner/main.cpp @@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, FlutterWindow window(project); Win32Window::Point origin(10, 10); Win32Window::Size size(1280, 720); - if (!window.Create(L"bevy_tasks", origin, size)) { + if (!window.Create(L"onyx", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);