Skip to content

ShiftCircle v1.3 (course submission)

Choose a tag to compare

@dmhdev01-cell dmhdev01-cell released this 25 Nov 19:45
· 27 commits to main since this release
4784f0f

The course submission build.

  • Supervisors on the roster: supervisors are a position with seniority within rank. Two supervisor posts (Living units, Operations) need one supervisor per shift, 24/7. 'Who can work a post' rules: an officer on a supervisor post is blocked unless they're an acting supervisor, and a supervisor on an officer post is a warning. Supervisors get their own overtime list. Nobody can change their own schedule. J. Chen and M. Ellis have My schedule.
  • Officers' shift proposals: officers draft shifts with a live rule check and send them with a note. Supervisors decide in a Proposals inbox: the rules are re-checked at approval, there is no override for a Block, and every step is audited.
  • Quarter planner transparency (from v1.2): plan inputs, options including cross-unit gap fill, and why gaps remain.
  • Verified on this exact commit: the full demo (§1–6 twice, §7–9 once), the CSV export matches the golden file, and the suites are API 624, web 695, Playwright desktop 144, tablet 143 + 1 skipped.

Install: curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.3/install.sh && bash install.sh

Demo video (3 min): https://youtu.be/trGzcjv5Yis (the MP4 is also attached below).


Installing notes (added 26 Nov after testing the install on more machines; the release itself is unchanged)

  • Windows: run the one-liner in a WSL2 Ubuntu terminal with Docker Desktop's WSL integration turned on, not in PowerShell or cmd. In Git Bash, Git's default line-ending conversion makes the installer stop with exit 17 ("POSTGRES_PASSWORD … shorter than 8 characters"): delete the ShiftCircle folder and run GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=core.autocrlf GIT_CONFIG_VALUE_0=false bash install.sh.
  • After install: open http://localhost:8080/login (or your SC_WEB_PORT) rather than the bare address, so each demo user lands on their own page. From the bare address, an officer, a rules user or the wall display first sees "Could not load the schedule" on the Planning board; use the side menu to go to their own page.
  • Windows without WSL (Docker Desktop on Hyper-V; Windows Pro/Enterprise): in Git Bash run curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.3/install.sh && GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=core.autocrlf GIT_CONFIG_VALUE_0=false bash install.sh. With PowerShell only, follow INSTALL.md → Windows without WSL (Hyper-V) on main: clone, generate .env, docker compose up -d --build --wait, then open http://localhost:8080/login.
  • The clone warning refs/tags/v1.3 … is not a commit! is harmless.
  • A first install on an empty Docker took about 1 minute on a fast network. Troubleshooting for every installer exit code: INSTALL.md on main.