Bump version to 1.6.3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ryan Ward
2026-06-12 14:17:06 -05:00
co-authored by Claude Opus 4.6
parent 4ba9706e35
commit 59cfd0e2f5
152 changed files with 8276 additions and 1664 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ pub struct PredefinedRule {
pub const SYSTEM_DEFINED_RULE_PREFIX: &str = "System Defined Rule";
pub fn is_predefined_rule(name: &str) -> bool {
PREDEFINED_RULES.iter().any(|r| r.name == name)
|| name.starts_with(SYSTEM_DEFINED_RULE_PREFIX)
PREDEFINED_RULES.iter().any(|r| r.name == name) || name.starts_with(SYSTEM_DEFINED_RULE_PREFIX)
}
pub fn predefined_rule_index(name: &str) -> Option<usize> {
+27 -48
View File
@@ -298,12 +298,7 @@ impl RuleView {
content: rule.content.to_string(),
suggested_logging_id: None,
});
update_manager.create_ai_fact(
ai_fact,
ClientId::default(),
owner,
ctx,
);
update_manager.create_ai_fact(ai_fact, ClientId::default(), owner, ctx);
}
});
}
@@ -517,22 +512,10 @@ impl RuleView {
suggested_logging_id: None,
});
if let Some((sync_id, revision)) =
existing_system_rules.get(rule.name)
{
update_manager.update_ai_fact(
ai_fact,
*sync_id,
revision.clone(),
ctx,
);
if let Some((sync_id, revision)) = existing_system_rules.get(rule.name) {
update_manager.update_ai_fact(ai_fact, *sync_id, revision.clone(), ctx);
} else {
update_manager.create_ai_fact(
ai_fact,
ClientId::default(),
owner,
ctx,
);
update_manager.create_ai_fact(ai_fact, ClientId::default(), owner, ctx);
}
}
});
@@ -913,34 +896,30 @@ impl RuleView {
if is_delete_allowed(ai_row.fact.clone(), app) {
let delete_sync_id = ai_row.fact.sync_id();
let delete_button = Hoverable::new(
ai_row.mouse_states.delete_hover.clone(),
|state| {
let mut container = Container::new(
ConstrainedBox::new(
Icon::Trash
.to_galaxyui_icon(
appearance
.theme()
.sub_text_color(appearance.theme().background()),
)
.finish(),
)
.with_width(16.)
.with_height(16.)
.finish(),
let delete_button = Hoverable::new(ai_row.mouse_states.delete_hover.clone(), |state| {
let mut container = Container::new(
ConstrainedBox::new(
Icon::Trash
.to_galaxyui_icon(
appearance
.theme()
.sub_text_color(appearance.theme().background()),
)
.finish(),
)
.with_uniform_padding(4.)
.with_corner_radius(CornerRadius::with_all(
galaxyui::elements::Radius::Pixels(4.),
));
if state.is_hovered() {
container =
container.with_background(appearance.theme().surface_2());
}
container.finish()
},
)
.with_width(16.)
.with_height(16.)
.finish(),
)
.with_uniform_padding(4.)
.with_corner_radius(CornerRadius::with_all(
galaxyui::elements::Radius::Pixels(4.),
));
if state.is_hovered() {
container = container.with_background(appearance.theme().surface_2());
}
container.finish()
})
.with_cursor(Cursor::PointingHand)
.on_click(move |ctx, _, _| {
ctx.dispatch_typed_action(RuleViewAction::Delete(delete_sync_id));