feat: возможность отражения информации действий по базам данных

This commit is contained in:
2026-06-13 18:26:53 +03:00
parent 835f053584
commit 0c9dda215d
4 changed files with 119 additions and 3 deletions

12
app.R
View File

@@ -18,6 +18,7 @@ box::use(
modules/data_validation,
app/forms,
app/tasks,
app/logs,
modules/data_manipulations[is_this_empty_value]
)
@@ -65,8 +66,8 @@ ui <- page_sidebar(
# downloadButton("downloadDocx", "get .docx (test only)"),
uiOutput("status_message"),
textOutput("status_message2"),
uiOutput("display_log"),
actionButton("tasks-display_task_modal", "Задачи: нет активных", icon("list-check")),
uiOutput("logs-display_log"),
position = "left",
open = list(mobile = "always"),
popover(
@@ -164,12 +165,16 @@ server <- function(input, output, session) {
if (showing_buttons) {
tagList(
br(),
strong("Импорт и экспорт данных для выбранной схемы:"),
verticalLayout(
downloadButton("downloadData", "Экспорт в .xlsx", style = "width: 250px; margin-top: 5px"),
actionButton("button_upload_data_from_xlsx", "импорт!", icon("file-import", lib = "font-awesome"), style = "width: 250px; margin-top: 10px"),
fluid = FALSE
),
strong("Дополнительные опции:"),
verticalLayout(
actionButton("logs-show_last_actions", "Все действия", icon("scroll", lib = "font-awesome"), style = "width: 250px; margin-top: 10px"),
fluid = FALSE
)
)
}
@@ -1363,6 +1368,9 @@ server <- function(input, output, session) {
# TASKS ---------------------------------------
tasks$server("tasks", values, scheme, mhcs)
# SHOW LOGS -----------------------------------
logs$server("logs", values, scheme, mhcs)
}