Skip to content

Removed templates continue to be listed #668

@frozolotl

Description

@frozolotl

Description

When using the "Start from template" functionality and clicking on a template that was at one point part of a package, but the package removed the template afterward, you will get an outdated template.
Because there is little indication that the template is outdated, users may just have errors due to the template having been developed for old versions of Typst.

Reproduction

Visit the home page while logged in and press the "Start from template" button.
Then search for "touying," enter some project name and press "Create."

The 'start from template' dialog when searching for 'touying'

After that, you will see the usual editor screen.
You might also be confused by the nice little error message that popped up, even though you didn't do anything wrong.
It turns out that touying 0.3.2 is not compatible with Typst 0.13.1. The latest version of touying is 0.6.1, but it no longer contains a template.

The Typst editor displaying an error message

Solutions

I can think of two primary solutions: either, old templates are hidden from view by default and there is a search filter to show them, or old templates have a warning attached that they are out-of-date.
I think both solutions would work fine, but I prefer the former.

Reproduction URL

No response

Browsers

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions