#758

This is the operator's working tab: from here the polling of the server is started and stopped, from here you can see what is happening right now, and the maintenance buttons live here too.

Status

Three fields in the top block: “State” (“Stopped”, “Running”, “Checking…”, “Downloading…”, “Converting…”, “API error” and so on), “Last check” and “Next check” — the time by the computer clock; while the service is stopped, the next check shows a dash.

Order statistics

Four cards show the result of the last server response:

  • “Downloaded” — orders whose files are already on the disk;
  • “To download” — new and rebuilt orders that the program will take into work;
  • “Generation” — the order is confirmed, but the server has not built its files yet: there is nothing to download, the program will check them on the next round;
  • “Up to date” — orders for which nothing has changed on the server.

The cards are clickable: a click opens the “Orders” tab with the corresponding list.

Progress

Two labelled bars: “Cycle” — the overall progress of the current check (under the bar — what exactly is being done), and “Order download” — the downloading of the current archive.

Conversion settings

Two checkboxes — “Convert cutting SVG to PNG/EMF” and “Convert labels to PDF” — are saved to the settings file as soon as you toggle them. The “Convert Now” button goes through the orders folder and converts everything that has no ready files yet, without waiting for the next round; if both checkboxes are off or there is nothing to do, the log shows “No pending conversions”. The progress is shown by the “File conversion” bar. The processing mode and the number of threads are set on the “Conversion” tab.

Buttons

  • “Start” — switches on the scheduled polling (the interval is set in the settings file, 3 minutes by default) and makes the first check right away. If the key is not filled in, the program shows the error “API key is not set” and does not start — the key is written in the config_gui.txt file next to the program.
  • “Stop” — switches off the schedule and interrupts the current work. A step that has already begun will finish by its own timeout: while it is running, the status shows “Stopping…”, and “Start” becomes available only after it ends.
  • “Check Now” — one extra round without touching the schedule. It works even when the service is stopped. If a check is already running, a second one will not start.
  • “Open Folder” — opens the orders folder (the path from the “Settings” tab) in Explorer.

On the right, separately, the maintenance buttons — they are available only when the service is stopped:

  • “Cleanup” — looks on the disk for order files that are not in the program database and shows the “Cleanup preview” window with a list and checkboxes; only what is selected is deleted. See How many orders to keep and how to clean the disk.
  • “Reset All” — erases the program data. In the “Reset all data” window you choose: only the database (the files stay) or the database together with all order files, and optionally the sync folders too. A dangerous button, see Full reset and moving.

The buttons have tooltips: the name does not always make it clear what the button will do to the files on the disk.

The red problem bar

If the server did not accept the request, a red bar appears above the “Status” block: “Problem: …”, a hint and the time since which it has persisted. Next to it is the “Details in log” button, and if the server asks to send requests to another address — the “Use this address” button, which writes the new API address into the settings file. The bar disappears by itself after the first successful check. The typical messages are covered in the article Common errors and what to do.

What this tab does not have

You cannot skip one order and continue with the rest, you cannot pause the work: there is only a full stop and a restart. After “Stop”, pressing “Start” continues from the place where the program stopped — orders that were not fully downloaded will be downloaded again in full.