Skip to content

Logged in user can create new project, with new id #3352

@benjiwheeler

Description

@benjiwheeler
  • Logged in:
    • editing project user owns:
      • File->New should save current project, fetch default project data, load it into vm, PUT it to server, get the id in response, call parent function props to indicate that the project id has changed, and set state to reflect that it is showing a project with id.
    • editing project user does not own:
      • File->New should fetch new default project data, load it into vm, PUT it to server, get the id in response, call parent function props to indicate that the project id has changed, and set state to reflect that it is showing a project with id.
  • Not logged in:
    • editing project:
      • should maintain current behavior: prompt user to confirm that it's ok to discard contents of current project; fetch fetch default project data, load it into vm, update hash url if any

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions