readthedocs / readthedocs/ext-theme

Organization: creation form missing error handling

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

Nobody has claimed this yet.

Accepted Bug
Dominant language
HTML
Stars
12
Forks
6
Avg merge
13h 25m
Merged PRs (30d)
1

Description

If you open up the organization form view /organization/create, select create an organization, and then type in the name of an existing organization, the form validation will fail but there is no UI indication given to the user.

Two changes needed:

  • Reopen the correct tab on form errors
  • Show the non-field errors or whatever is missing from the form display currently that is hiding this error.

See the user login form for an example of both, this form should reopen the correct tab on form errors during auth.

Front logo Front conversations

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start at the organization creation form view at /organization/create and compare its error behavior with the user login form, which is cited as an example. Reproduce the validation error using an existing organization name; done means the correct tab reopens and the non-field error is visible in the form UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.