Improve the UX around Backgrounded Mirror Creation

Open
#481 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
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
frontend

Research direction

Start by tracing the backgrounded mirror creation flow and the mirror list actions for an in-progress mirror. Check how the pending flash is shown and cleared, then verify that completion is announced, incomplete mirrors cannot be cloned, and rename/delete are unavailable with an explanation while creation is running.

Written by the indexing model from the issue text.

Description

enhancement
Is your feature request related to a problem?

Currently the pending flash doesn't go away until the user dismisses it or refreshes and there is no notice provided when a backgrounded mirror creation completes. Due to the chunked pushes, the repo is populated from old to new and users could potentially clone down an incomplete mirror. The in-progress mirror also appears in the mirror list and has options to rename or delete it which could break things.

Describe the solution you'd like

The mirror creation UX should be enhanced to notify the user when a backgrounded mirror creation completes and a mirror that is still being created should not be able to be renamed or deleted with some indication to the user as to why.

Describe alternatives you've considered

No response

Additional context

Issues introduced and called out as part of https://github.com/github-community-projects/private-mirrors/pull/475

Dominant language
TypeScript
Stars
203
Forks
42
Avg merge
1h 15m
Merged PRs (30d)
8

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 github-community-projects/private-mirrors

All issues in github-community-projects/private-mirrors

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.