Skip to content

feat: template creation in the admin menu - #118

Open
robsimmons wants to merge 7 commits into
manage-toolchainfrom
push-nzvyknulwqyt
Open

feat: template creation in the admin menu#118
robsimmons wants to merge 7 commits into
manage-toolchainfrom
push-nzvyknulwqyt

Conversation

@robsimmons

@robsimmons robsimmons commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

This PR makes it possible to create templates in the admin menu. Addresses (but does not close) #21. After selecting an installed toolchain, the interface will let you select:

  • A "Basic Lean" template, similar to the seed script's "hello" template
  • A "Mathlib template", identical (or nearly identical) to the seed script's mathlib template
  • A "CSLib template", like the mathlib tempate but for cslib

The Mathlib and CSLib options will only be presented for standard release toolchains (no nightly-testing) where we've checked that the tag corresponds to a valid Mathlib/CSLib (respectively) tag. This is done with the GitHub API, and uses the higher 5000-requests-an-hour rate limit by authorizing with the configured GitHub OAuth App.

image

@robsimmons
robsimmons marked this pull request as draft September 3, 2026 02:10
@robsimmons
robsimmons changed the base branch from main to manage-toolchain September 3, 2026 02:12
@robsimmons
robsimmons force-pushed the push-nzvyknulwqyt branch 2 times, most recently from d4732a5 to 152ee64 Compare September 3, 2026 15:44
@robsimmons
robsimmons force-pushed the push-nzvyknulwqyt branch 2 times, most recently from c60ea13 to 4562ad7 Compare September 3, 2026 17:08
@robsimmons
robsimmons marked this pull request as ready for review September 3, 2026 17:21
@robsimmons
robsimmons force-pushed the push-nzvyknulwqyt branch 2 times, most recently from 87ed48c to d86830d Compare September 5, 2026 02:09
@robsimmons
robsimmons force-pushed the push-nzvyknulwqyt branch 2 times, most recently from 40d0869 to 33c65f0 Compare September 5, 2026 17:02
@robsimmons
robsimmons requested a review from jcreedcmu September 7, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant