flutter / flutter/flutter-intellij

validate project name as the user types

Open
#2,731 3 comments 0 reactions 0 assignees View on GitHub
topic-getting-started
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

In our recent user study, the project creation failure due to upper case letter (#1058) happened again.

In addition to fixing this issue, I'd like to suggest adding a UI that prevents this from happening, **before** hitting 'Finish' and seeing the 'Cannot Save Setting' warning message.

One option would be showing an error message as the project name gets typed in, similar to password strength verification. Another option would be applying a helpful constraint, meaning that the text field only accepts lowercase letter and underscore.

Cc: @InMatrix @galeyang

Contributor guide

Open the contributing guide

Research direction

Start at the project-creation UI and the project-name text field, then trace the Finish action and the existing “Cannot Save Setting” warning. Confirm which validation behavior is preferred, implement feedback before Finish, and verify that invalid uppercase names are prevented or clearly rejected while valid names still create projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.