[HOLD for payment 2021-09-22] Open global create when a user logs in for the first time
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Problem
when a user first logs in to NewDot, there is no clear guidance on how to set up a Workspace or enable the Expensify Card, it's just a chat from Concierge (disregard the duplicate messages, separate issue being solved).

Actions Taken
- Create a new account
- Use the validation email to validate the account and set a password
- Login
Solution
When a new user signs into NewDot for the first time, let's open the Global Create menu so that it's clearer how to set up the Expensify Card or take any of the actions we are promoting. Let's show global create on the first sign in for both brand new Expensify users, and users who have an existing expensify account but haven't logged in to NewDot before.


Triggered auto assignment to @sophiepintoraetz (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Lol, yes, I had thought this [ a lot of empty real estate] too when I did my one test of my N6 testing flow. Would we also use Concierge to prompt as well? Something like:
"Click on the [whatever we're calling Global Create externally] to get started"
Stepping in as its your weekend @sophiepintoraetz !
Triggered auto assignment to @SofiedeVreese (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Going to grab for you and create the Upwork job @SofiedeVreese
Thanks Mitch! Was holding off because I'd asked a question here but 👍
Triggered auto assignment to @timszot (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
I'm still ooo. Not sure why this was assigned to me
Proposal
When the user signs up for the first time in here, accountExists is updated in ONYX with ACCOUNT key
https://github.com/Expensify/App/blob/b3421ceba196e5e2dd57b3fcbd4b30721650558c/src/libs/actions/Session.js#L123-L125
We could map the state from ONYXKEYS.ACCOUNT to props of the SidebarScreen.js component using withONYX.
Then in this block,
https://github.com/Expensify/App/blob/b3421ceba196e5e2dd57b3fcbd4b30721650558c/src/pages/home/sidebar/SidebarScreen.js#L52-L55
Include the below lines
if (!this.props.account.accountExists) {
this.toggleCreateMenu();
// Reset the state since the create menu is already shown once.
Onyx.merge(ONYXKEYS.ACCOUNT, {accountExists: true});
}
Note: We can create a new ONYX State if needed for this state alone (I think it's not necessary) , thanks!
Triggered auto assignment to @Beamanator (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Hmm @Santhosh-Sellavel your idea sounds good except for one thing: The solution in the issue description says:
Let's show global create on the first sign in for both brand new Expensify users, and users who have an existing expensify account but haven't logged in to NewDot before.
The bolded part is missing from your proposal, I believe. If a user already created their account on E.com, accountExists will be true when logging in

@Beamanator I get your point, I think I might need a little help here from the backend about the first new Expensify session.
For most users, I see the following options to do get a hook if there are no reports when we create a chat. Or when we have a concierge alone(It may show on every login).
I think it's better to get help from the backend to ensure it happens only once.
Sorry for the late notice here @Santhosh-Sellavel . We concluded internally that we aren't set on this as a final solution, so we're going to close this for now.
And... this is coming back into play based on our new approach to global create. We're looking for the exact same solution as originally outlined in the OP. Thanks!
@kevinksullivan I don't think the link is accessible by contributors.
@mananjadhav you're right, the link is to an internal conversation, but the end result was basically as Kevin said - we're wanting to go with the original solution outlined in the OP :)
@Beamanator Quick question Is this possible without backend help?
@Santhosh-Sellavel I think you're right, to get around the issue I mentioned here this probably has to be internal.
I believe this will be a trivial backend change, so most likely I'll be back here with updates to move forward with the frontend part :)
Removing Help Wanted for now, will add it back once we're back with the new plan :)