Azure / Azure/azure-webpubsub

[BugBash][Portal] Issues with hub settings

Open
#281 4 comments 0 reactions 1 assignee Claimed by @wanlwanl View on GitHub
blocking bug bug-bash-round-2 portal
Dominant language
TypeScript
Stars
147
Forks
96
Avg merge
19h 28m
Merged PRs (30d)
87

Description

### Describe the bug
Several issues with hub settings

### To Reproduce
#### Cannot edit hub setting after creating a new hub
1. Create a Web PubSub
2. Go to settings, click Add
3. Type a hub name, click Save
4. Continue to edit the hub, like update the hub name, add event handlers, but Save button is always disabled

This is even worse if the update failed, for example:
1. Type invalid url template, Save
2. Save will fail but I cannot save even after I fixed the url

#### What is valid hub name
1. Add a hub
2. In hub name, type `123`
3. It will tell me 123 is an invalid hub name, but I want to know what is a valid hub name

#### Delete a hub needs double confirm?
1. Select a hub and click Delete

Hub will be deleted without additional confirm, should we double confirm with user since delete is irreversible?

#### Unsaved changes alert if there is no unsaved change
1. Add a new hub, click Save
2. Click the close button on top right, it will warn me for unsaved changes, but actually there is no unsaved changes

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.