Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Refactor of HomePage component and directory structure#1115

Merged
Ishirak merged 26 commits intomasterfrom
1087-refactor-home-page
Sep 12, 2016
Merged

Refactor of HomePage component and directory structure#1115
Ishirak merged 26 commits intomasterfrom
1087-refactor-home-page

Conversation

@Ishirak
Copy link
Copy Markdown
Contributor

@Ishirak Ishirak commented Sep 9, 2016

Resolves #1087.

Last piece to close #1087 – major refactor of front end codebase will be over.

Reviewers:

@Ishirak Ishirak added this to the 4.0 milestone Sep 9, 2016
@Ishirak Ishirak self-assigned this Sep 9, 2016
isLoading: false,
displayUpdateNotice: false,
});
this.checkUpdate();
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.

@Ishirak: Why is this line removed? If the checkUpdate is not called after fetching commits there could be short (<10s) inconsistency between the commits table and the CommitPanel.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You are right, I thought that in this case setState() would behave as an asynchronous method, as usual, but it doesn't, as I just checked. I will revert this change in the next commit.

@Ishirak Ishirak merged commit 4fd7569 into master Sep 12, 2016
@Ishirak Ishirak deleted the 1087-refactor-home-page branch September 12, 2016 12:38
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.

Use simple and clear React.js components

3 participants