Improve the forms API/guide

Open
#741 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
api, documentation

Research direction

Start by reviewing the forms guide and the forms project in the examples directory, as the issue suggests checking that code samples work and adding missing use statements. Run the guide samples and example project to find problems; done means the samples work and the guide and example project are updated. The forms API redesign is an umbrella idea with no defined scope.

Written by the indexing model from the issue text.

Description

This is more of an umbrella issue at the moment.

I've stumbled upon this blog post which criticises the ergonomics of the forms API and the guide: https://improvingwetware.com/craftsmanship/tech/2026/11/09/cot-web-framework.html

I was thinking for a while about improving the forms API - currently it's pretty bad since it requires a bit of ifology and low-level types.

Independently of the above, I think we should go through the guide to make sure the code samples work (and perhaps add the use statements as the blog author stated). It might also be worth revisiting the forms project in the examples directory that we have, and possibly update it with the latest improvements and such.

Dominant language
Rust
Stars
1.1k
Forks
57
Avg merge
17h 39m
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cot-rs/cot

All issues in cot-rs/cot

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.