firebase / firebase/firebase-tools-ui
[firestore] Invalid Collection ID causes an error to occur and UI to disappear
- Dominant language
- TypeScript
- Stars
- 291
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Entering invalid input into the following form causes an error and the UI disappears

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '**Firestore**'
2. Click on '**+ Start collection**'
3. Click '**Collection ID**' input
4. Enter or paste in something invalid, like "https://example.com/"
**Expected behavior**
Shows an error message like "Invalid collection name", or something similar.
**Screenshots**
This is me pasting in "https://example.com/"
https://gyazo.com/a90851e51de9c71fa8a9c2e9474fc8e2
**Desktop (please complete the following information):**
- OS: **Windows**
- Browser: **Firefox**
- Version: **140.0.2**
Contributor guide
Assessment
This issue has not been assessed yet.