(etke.cc-exclusive) Server Actions page (#457)

* WIP: add scheduler commands

* refactor scheduler commands page

* WIP on CRUD for ScheduledCommands

* more refactoring, finish CRUD On scheduled pages

* Add info text about Scheduler service

* Finish recurring commands add/edit

* add more texts

* fix server status behavior on not-loaded-yet state; adjust texts; lint fixes

* add link to the help pages in the commands palette

* Move Commands Panel to ServerSchedulesPage

* Rename Server Schedules to Server Actions

* more texts, a bit changed visual of the actions page, lint fix

* add docs

* fix tests

* Add UTC label to scheduled command create/edit
This commit is contained in:
Borislav Pantaleev
2025-04-11 12:41:47 +03:00
committed by GitHub
parent e2d3c0792b
commit 0832c43d76
28 changed files with 1235 additions and 62 deletions

View File

@@ -23,7 +23,11 @@ const authProvider: AuthProvider = {
console.log("login ");
let options: Options = {
method: "POST",
credentials: GetConfig().corsCredentials,
credentials: GetConfig().corsCredentials as RequestCredentials,
headers: new Headers({
Accept: "application/json",
"Content-Type": "application/json",
}),
body: JSON.stringify(
Object.assign(
{
@@ -150,7 +154,11 @@ const authProvider: AuthProvider = {
const options: Options = {
method: "POST",
credentials: GetConfig().corsCredentials,
credentials: GetConfig().corsCredentials as RequestCredentials,
headers: new Headers({
Accept: "application/json",
"Content-Type": "application/json",
}),
user: {
authenticated: true,
token: `Bearer ${access_token}`,