From 881c2323fdfc1a833eccd4048abc33505922e936 Mon Sep 17 00:00:00 2001 From: Artjom Date: Sat, 29 Jun 2024 08:10:00 +0400 Subject: [PATCH] Favorites tab for the construction menu (#26347) * Added fovarite button * Some fixes in xaml * added some events for favorite recipes * set methods for presenter * fixes for presenter * added translates * reset seach when you select any category * added some margins * some fixes from compared * fixed PR notes about arrays * deleted controls & margins * did simpleer with arrays * review --------- Co-authored-by: metalgearsloth --- .../Construction/UI/ConstructionMenu.xaml | 30 +++--- .../Construction/UI/ConstructionMenu.xaml.cs | 24 +++-- .../UI/ConstructionMenuPresenter.cs | 97 +++++++++++++++---- .../construction/construction-categories.ftl | 3 + 4 files changed, 116 insertions(+), 38 deletions(-) diff --git a/Content.Client/Construction/UI/ConstructionMenu.xaml b/Content.Client/Construction/UI/ConstructionMenu.xaml index dd210d9729..6e4438cf6f 100644 --- a/Content.Client/Construction/UI/ConstructionMenu.xaml +++ b/Content.Client/Construction/UI/ConstructionMenu.xaml @@ -1,29 +1,33 @@ - - + + - + - +