From a8dd448c954487fe73ebd552c8fc327396dbe1a1 Mon Sep 17 00:00:00 2001 From: Kirill Date: Fri, 28 Nov 2025 12:42:11 +0300 Subject: [PATCH] Added a callback to go back through the state stack --- modules/bot/front/include/constants.hpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/bot/front/include/constants.hpp b/modules/bot/front/include/constants.hpp index 7a93931..df7b534 100644 --- a/modules/bot/front/include/constants.hpp +++ b/modules/bot/front/include/constants.hpp @@ -18,13 +18,14 @@ namespace BotConstants { const std::string ADD_STATUS = ACTION + "add_status"; const std::string STATUS = "status:"; const std::string WATCHING = STATUS + "watching"; - const std::string SEEN = STATUS + "seen"; - const std::string WANT = STATUS + "want"; - const std::string THROWN = STATUS + "thrown"; + const std::string SEEN = STATUS + "seen"; + const std::string WANT = STATUS + "want"; + const std::string THROWN = STATUS + "thrown"; const std::string NAVIGATION = "navigation:"; const std::string MY_TITLES = NAVIGATION + "my_titles"; - const std::string LIST_PREV = NAVIGATION + "prev"; - const std::string LIST_NEXT = NAVIGATION + "next"; + const std::string LIST_PREV = NAVIGATION + "prev"; // Пагинация + const std::string LIST_NEXT = NAVIGATION + "next"; // Пагинация + const std::string NAV_BACK = NAVIGATION + "back"; // Возврат по стеку состояний const std::string CHOICE = "choice:"; } namespace Text {