Skip to content

[Feature Request] Give user choice to view forked copy or fork again #2685

@imranariffin

Description

@imranariffin

As a user I would like to know that a notebook I'm interested to copy/fork has already already been copied/forked by me.

What I Did

Viewed a notebook, forked and edited it only to later realize that I had already forked it before.

What I Expected

If I had done some modifications on the first copy in some cases I would rather continue my work there than starting over. I would like to have a choice to either continue work on the existing fork or fork a new one.

As per discussion in PR #2550, it might be a good idea to roughly follow GitHub's forking behavior:
github-fork-modal

In our case we would probably either offer to open up existing fork(s) in a new tab or allow the user to fork again. You could probably do this with a modal element. A bit complicated but might be a fun project!

So this is the behavior that I propose:

When a user who has already forked this notebook clicks on the "Make a copy to your account" link, open a modal instead of immediately forking the notebook.
The modal will display:

  1. A list of forked copies of the notebook that user can click to open the notebook in a new tab
  2. A button to allow the user fork another copy of the notebook
  3. A button at top right to close the modal

If the user has not forked the notebook previously, then the current behavior should be used (immediately copy the notebook).

What Happened

Now I have two copies of the same notebook with different changes.

Screenshot from 2019-12-30 21-35-50

(if applicable) notebook that reproduces bug

Applicable to any notebook that you have already forked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions