Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects: No personal projects yet message #23876

Merged
merged 2 commits into from Jul 24, 2018
Merged

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Jul 24, 2018

If the user has not created any projects, we show a little message encouraging them to make some in the new React PersonalProjectsTable. This is consistent with the current behavior in the Angular version of the table.
screen shot 2018-07-23 at 6 00 17 pm

This PR also includes a few updates to make the fake projects data for Storybook consistent with real projects data.

@Erin007 Erin007 changed the base branch from projects-data-to-react-table to staging July 24, 2018 03:28
@Erin007 Erin007 changed the title Projects: No personal projects yet message [CHANGE BASE] Projects: No personal projects yet message Jul 24, 2018
@@ -16,32 +16,30 @@ export function generateFakePersonalProjects(n) {

export const stubFakePersonalProjectData = [
{
projectName: "Personal Project 1",
name: "Personal Project 1",
Copy link
Contributor

Choose a reason for hiding this comment

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

just curious -- why did projectName and isPublished change to name and publishedAt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I set up the Storybook data first, then fetched the real data in #23755 where I changed the field names. This just makes them consistent.

@Erin007 Erin007 merged commit c8ca318 into staging Jul 24, 2018
@Erin007 Erin007 deleted the no-personal-projects branch July 24, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants