Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

feat: Save partial project progress during project creation - #769

Merged
Wallace Breza (wbreza) merged 3 commits into
developfrom
wabrez/save-project-progress
Apr 17, 2019
Merged

feat: Save partial project progress during project creation#769
Wallace Breza (wbreza) merged 3 commits into
developfrom
wabrez/save-project-progress

Conversation

@wbreza

@wbreza Wallace Breza (wbreza) commented Apr 16, 2019

Copy link
Copy Markdown
Contributor

This adds functionality to persist partial project information when creating a new project. Right now when creating a new connection inline within the create project flow and returning to the create project screen your partial project information is lost. Partial form progress is now saved into local storage and bound when returning to the form.

Resolves #758

@wbreza
Wallace Breza (wbreza) changed the base branch from master to develop April 16, 2019 20:12

@PIC123 Phil (PIC123) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

// If we are creating a new project check to see if there is a partial
// project already created in local storage
if (this.props.match.url === "/projects/create") {
const projectJson = localStorage.getItem(projectFormTempKey);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we ever need to clear this? Perhaps after it gets created?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm, just saw that down below 🙂

@pjlittle

Copy link
Copy Markdown
Collaborator

LGTM - this was annoying behavior. nice fix.

@wbreza
Wallace Breza (wbreza) merged commit 5574cd9 into develop Apr 17, 2019
Wallace Breza (wbreza) added a commit that referenced this pull request Apr 29, 2019
This adds functionality to persist partial project information when creating a new project. Right now when creating a new connection inline within the create project flow and returning to the create project screen your partial project information is lost. Partial form progress is now saved into local storage and bound when returning to the form.

Resolves #758
@PIC123
Phil (PIC123) deleted the wabrez/save-project-progress branch August 20, 2019 18:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants