Wrapping up bedrock implementation

This commit is contained in:
Ryan Ward
2026-05-13 10:04:59 -05:00
parent ed53aa99eb
commit cee61e2af0
1144 changed files with 2954 additions and 2660 deletions
+1 -1
View File
@@ -59,9 +59,9 @@ pub const fn toml_path_hierarchy(path: &str) -> Option<&str> {
}
use anyhow::{Context, Result};
use serde::{Serialize, de::DeserializeOwned};
use galaxyui::{AppContext, Entity, ModelContext};
use galaxyui_extras::user_preferences::UserPreferences;
use serde::{Serialize, de::DeserializeOwned};
/// Whether the TOML-backed settings file is active.
///
+1 -1
View File
@@ -824,8 +824,8 @@ macro_rules! generate_settings_event_fn {
),
) {
use anyhow::anyhow;
use serde_json;
use galaxyui::SingletonEntity;
use serde_json;
use $crate::Setting as _;
use $crate::manager::{SettingsEvent, SettingsManager};
SettingsManager::handle(ctx).update(ctx, |manager, ctx| {
+1 -1
View File
@@ -540,8 +540,8 @@ mod write_to_preferences_tests {
/// Option fields — reproduces the exact QuakeModeSettings scenario.
#[test]
fn test_no_spurious_write_with_hashmap_and_missing_options() {
use std::collections::HashMap;
use galaxyui_extras::user_preferences::toml_backed::TomlBackedUserPreferences;
use std::collections::HashMap;
#[derive(
Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, schemars::JsonSchema,