-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the shift wiki!
This application is a way to automatically create a monthly work schedule. The shifts are distributed as equally as possible between the available employees. Currently only a two-shift-day is supported.
All information is stored in a SQLite3 database, other databases are at the
moment not supported. On the initial launch of the app a file named shift.db
is created in the root directory of the program. This file will be the default
database until another db file is selected.
Note that the app will create a directoy named .shift in your local user's
home directory. In there lies a file config.json. This file stores the display
language, the configured theme and the path to the last opened database. When
the app is restarted, the referenced database will be loaded once again and you
can start your shift planning, where you left off.

The right side of each dialog contains a panel to edit the currently selected item. Available input fields vary in each dialog.
The buttons in the upper part of the main window are availabe in each dialog. They provide funtionalities related to the application itself without any effect on the records stored in the database.
This button is not yet implemented. If you need to create another database file, simply move the default file into another directoy and restart the app. This serves only as a workaround, until the button is functional.
In this dialog another database file can be selected. Note that only database files created by shift will be loaded properly. Other files may contain a different databse scheme which will result in errors when loading them into the application!
Currently two options are availabe: the locale and the theme. Implemented locales are English as the default and German. After switching the locale the app must be restarted. This issue will be fixed as soon as possible. The theme though will switch immediately after confirming the setting. Both the dark and light theme use PyQtDarkTheme without modifications.
The logs dialog shows the recent log files of the app. There are two types of log files: One for database accesses and one for the schedule planning. These are of no importance to the regular user, but might contain information relevant for bug reports.
Most dialogs provide two buttons for adding and deleting entries to their tables. The add button will open a separate window to enter the necessary data for a new entry. Note that deleting of multiple entries at once is not possible at the moment.
The search field in the upper area of each dialog is used to filter the entries of the table. Since not all fields are defined as search criteria, the wiki page of each dialog contains a complete list which fields are used for filtering.
Each table dialog of the application has its own dedicated page in this wiki. Each of those pages will contain information about the special properties of the respective dialog. Common features are summarized in the General Information section of this page.