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

show 'Start new project' in Public Gallery #19265

Merged
merged 3 commits into from
Nov 18, 2017

Conversation

davidsbailey
Copy link
Member

@davidsbailey davidsbailey commented Nov 17, 2017

Background

the StarNewProject buttons were launched on the My Project page in #19242 . Some additional background can be found there.

Description

now that we've chosen which buttons we want to use to create more projects, we want to show them in more places, starting with the Public Gallery. Clicking Artist goes to a new artist project. For signed-out users, clicking App Lab goes to a sign-in page, which then goes to a new applab project.

Screenshots

signed in signed out
screen shot 2017-11-17 at 11 51 38 am screen shot 2017-11-17 at 11 50 06 am

<StartNewProject
isRtl={isRtl}
canViewFullList={true}
canViewAdvancedTools={true}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Prefer providing boolean literal props as flags

<StartNewProject
  isRtl={isRtl}
  canViewFullList
  canViewAdvancedTools
/>

(according to AirBnB's React/JSX styleguide, second rule in the Props section)

Copy link
Member Author

Choose a reason for hiding this comment

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

TIL, thanks Brad!

@davidsbailey davidsbailey merged commit d2efa3d into staging Nov 18, 2017
@davidsbailey davidsbailey deleted the public-gallery-new-projects branch November 18, 2017 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants