Skip to content

About

complete new client for oncourse

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

oncourse-admin-next

A new admin client for onCourse, built beside the existing one.

It uses the same onCourse server, the same API and the same data as the existing client. It does not change the server, the database or the API definitions. Anything not yet rebuilt here opens the existing onCourse screen, so nothing is lost while the new client grows.

Status: foundation, part 2. Navigation, the function map, keyboard search, sign-in check and permission filtering. Not yet deployed, so the server calls are tested against a stand-in only.

What is here

Path Purpose
src/registry/ The single list of every onCourse function: its name, its area and where it opens. Navigation, All areas and search all read from it.
src/api/ The only place that talks to the onCourse server.
src/session/ Who is signed in and what they may open.
src/shell/ The frame around every page: side navigation and keyboard search (Ctrl K).
src/pages/ Today, All areas and one page per area.
src/design/ Design tokens (colours, type, sizes) and base styles.
docs/decisions.md Decisions made and why.
docs/screens/ Screenshots of the current build.

Running it

npm ci
npm run dev        # local preview at http://localhost:5173/next/
npm run check      # type check, tests and production build; the same command CI runs

Without an onCourse server on the same address, links to existing screens will not resolve. That is expected in local preview.

How it will be served

On a college's onCourse address under /next/, with every other path, including the API under /a/, continuing to go to the existing onCourse server. See docs/decisions.md.

Working rules

See AGENTS.md.

Copyright ish group pty ltd. All rights reserved.

About

complete new client for oncourse

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages