Skip to content

Commit fc07a74

Browse files
authored
Restore selected segment after question save, v4.8.0
2 parents 5f0b358 + 01397af commit fc07a74

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Simplify homework distribution and grading with the next generation cloud hosted
1818
- Much More
1919

2020
[![Wakatime](https://wakatime.com/badge/user/074621a8-639e-4f3e-b6d9-f23b6bb481a9/project/7100b5bf-f2be-41d1-896e-136cd000ea6e.svg)](https://faisaln.com/portfolio/virtual-checker)
21-
[![Github Issues](https://img.shields.io/github/issues/faisalnjs/virtual-checker?style=flat&logo=github&label=GitHub%20Issues&color=mediumseagreen)](https://wakatime.com/@faisalnjs/projects/vbofsovljs)
22-
[![License](https://img.shields.io/github/license/faisalnjs/virtual-checker?label=License)](https://github.com/faisalnjs/Virtual-Checker/blob/main/LICENSE)
21+
[![Github Issues](https://img.shields.io/github/issues/faisalnjs/Virtual-Checker?style=flat&logo=github&label=GitHub%20Issues&color=mediumseagreen)](https://wakatime.com/@faisalnjs/projects/vbofsovljs)
22+
[![License](https://img.shields.io/github/license/faisalnjs/Virtual-Checker?label=License)](https://github.com/faisalnjs/Virtual-Checker/blob/main/LICENSE)
2323

2424
## Development
2525

@@ -34,29 +34,25 @@ Vite will start a development server at `localhost:5173`
3434

3535
Serve the files that are generated in `/dist`
3636

37-
[![Build](https://img.shields.io/github/actions/workflow/status/faisalnjs/virtual-checker/deploy.yml?logo=github&label=Build&color=mediumseagreen)](https://github.com/faisalnjs/Virtual-Checker/actions/workflows/deploy.yml)
37+
[![Build](https://img.shields.io/github/actions/workflow/status/faisalnjs/Virtual-Checker/deploy.yml?logo=github&label=Build&color=mediumseagreen)](https://github.com/faisalnjs/Virtual-Checker/actions/workflows/deploy.yml)
3838

3939
## Beta
4040

41-
A beta version of this project is hosted on [Dango Web Solutions](https://dangoweb.com/?from=virtual-checker) cloud hosting. The beta version is updated with the latest changes from the [`beta`](https://github.com/faisalnjs/Virtual-Checker/tree/beta) branch, and is used for testing new features and bug fixes before they are deployed to production. The beta version is not guaranteed to be stable and may contain bugs or unfinished features.
41+
The beta version is updated with the latest changes from the [`beta`](https://github.com/faisalnjs/Virtual-Checker/tree/beta) branch, and is used for testing new features and bug fixes before they are deployed to production. The beta version is not guaranteed to be stable and may contain bugs or unfinished features.
4242

4343
Files are transferred to the host using the GitHub Action automation workflow at [.github\workflows\deploy-beta.yml](https://github.com/faisalnjs/Virtual-Checker/tree/main/.github/workflows/deploy-beta.yml).
4444

45-
[![GitHub Actions - Deploy to Dango Web Solutions (Beta)](https://img.shields.io/github/actions/workflow/status/faisalnjs/virtual-checker/deploy-beta.yml?logo=github&label=GitHub%20Actions%20-%20Deploy%20to%20Dango%20Web%20Solutions%20(Beta)&color=mediumseagreen)](https://github.com/faisalnjs/Virtual-Checker/actions/workflows/deploy-beta.yml)
45+
[![GitHub Actions - Deploy to Dango Web Solutions (Beta)](https://img.shields.io/github/actions/workflow/status/faisalnjs/Virtual-Checker/deploy-beta.yml?logo=github&label=GitHub%20Actions%20-%20Deploy%20to%20Dango%20Web%20Solutions%20(Beta)&color=mediumseagreen)](https://github.com/faisalnjs/Virtual-Checker/actions/workflows/deploy-beta.yml)
4646

4747
## Production
4848

49-
This project is hosted on [Dango Web Solutions](https://dangoweb.com/?from=virtual-checker) cloud hosting - free web hosting for Education.
50-
5149
Files are transferred to the host using the GitHub Action automation workflow at [.github\workflows\deploy.yml](https://github.com/faisalnjs/Virtual-Checker/tree/main/.github/workflows/deploy.yml).
5250

53-
[![GitHub Actions - Deploy to Dango Web Solutions](https://img.shields.io/github/actions/workflow/status/faisalnjs/virtual-checker/deploy.yml?logo=github&label=GitHub%20Actions%20-%20Deploy%20to%20Dango%20Web%20Solutions&color=mediumseagreen)](https://github.com/faisalnjs/Virtual-Checker/actions/workflows/deploy.yml)
51+
[![GitHub Actions - Deploy to Dango Web Solutions](https://img.shields.io/github/actions/workflow/status/faisalnjs/Virtual-Checker/deploy.yml?logo=github&label=GitHub%20Actions%20-%20Deploy%20to%20Dango%20Web%20Solutions&color=mediumseagreen)](https://github.com/faisalnjs/Virtual-Checker/actions/workflows/deploy.yml)
5452

5553
## API
5654

57-
API is hosted on [Dango Web Solutions](https://dangoweb.com/?from=virtual-checker) cloud hosting - free web hosting for Education.
58-
59-
The API is **required** to run this project, and must be hosted on the same server as where you are hosting this project. The private API repository can be found at [faisalnjs/homework-checker](https://github.com/faisalnjs/homework-checker).
55+
The API is **required** to run this project, and must be hosted on the same server as where you are hosting this project. The private API repository can be found at [faisalnjs/Homework-Checker](https://github.com/faisalnjs/Homework-Checker).
6056

6157
### Credits
6258

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "virtual-checker",
33
"private": true,
4-
"version": "4.6.0",
4+
"version": "4.8.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite --host",

src/checker/admin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,7 @@ try {
12561256
formData.append('usr', storage.get("usr"));
12571257
formData.append('pwd', storage.get("pwd"));
12581258
ui.setUnsavedChanges(true);
1259+
keepSegment = document.getElementById("filter-segment-input")?.value || null;
12591260
fetch(domain + '/save', {
12601261
method: "POST",
12611262
body: formData,

0 commit comments

Comments
 (0)