Skip to content

Commit

Permalink
Merge pull request #149 from ostis-ai/release/0.8.0
Browse files Browse the repository at this point in the history
docs: release 0.8.0
  • Loading branch information
NikitaZotov authored Sep 24, 2023
2 parents 7f7c18d + f849b8b commit 9a1ea5e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
17 changes: 6 additions & 11 deletions client/js/Core/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,18 +231,14 @@ SCWeb.core.Main = {
$('#help-modal').modal({ "keyboard": true });
}

let argumentAddr = window.scKeynodes['ui_start_sc_element'];
const last_page_cmd_args = [getCookie('last_page_cmd_args')]
let first_last_page_cmd_arg = last_page_cmd_args[0];
if (first_last_page_cmd_arg) {
first_last_page_cmd_arg = parseInt(first_last_page_cmd_arg);
if ((await window.scClient.checkElements([new sc.ScAddr(first_last_page_cmd_arg)]))[0]) {
argumentAddr = first_last_page_cmd_arg;
}
const argumentAddr = window.scKeynodes['ui_start_sc_element'];
let startScElements = await window.scHelper.getSetElements(argumentAddr);
if (startScElements.length) {
start(startScElements[0]);
} else {
start(argumentAddr);
}

start(argumentAddr);

$('.copyright').text(`Copyright © 2012 - ${currentYear} OSTIS`);
},

Expand All @@ -264,7 +260,6 @@ SCWeb.core.Main = {
if (result.question !== undefined) {
const commandState = new SCWeb.core.CommandState(cmd_addr, cmd_args);
SCWeb.ui.WindowManager.appendHistoryItem(result.question, commandState);
setCookie('last_page_cmd_args', cmd_args);
} else if (result.command !== undefined) {
} else {
alert("There are no any answer. Try another request");
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.8.0-Fusion] - 24.09.2023
### Added
- Add CLI argument to add hosts to CORS Allowed Origin header
- Duplicate target sc.g-elements on sc.g-scene for reflexive and multiple connectors
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sc-web",
"version": "0.7.0-Rebirth",
"version": "0.8.0-Fusion",
"module": "commonjs",
"dependencies": {
"grunt": "^1.0.1",
Expand Down

0 comments on commit 9a1ea5e

Please sign in to comment.