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

Auto-create Application/Instance when first joining FlowForge #2475

Closed
1 task
Tracked by #2476
joepavitt opened this issue Jul 12, 2023 · 7 comments · Fixed by #2553
Closed
1 task
Tracked by #2476

Auto-create Application/Instance when first joining FlowForge #2475

joepavitt opened this issue Jul 12, 2023 · 7 comments · Fixed by #2553
Assignees
Labels
priority:high High Priority size:M - 3 Sizing estimation point story A user-oriented description of a feature
Milestone

Comments

@joepavitt
Copy link
Contributor

joepavitt commented Jul 12, 2023

Epic

No response

Description

User Story

As a: new customer of FlowForge

I want to: to get to an Node-RED editor as soon as possible

So that: I can quickly understand the value of FlowForge-hosted Node-RED

Objective

Reducing onboarding time from registration to user being inside Node-RED - improving "time to value"

Overview

In our onboarding UX flow, we could remove 5 x interactions/decisions that a user needs to make in the onboarding workflow by automatically generating a Node-RED Instance for them when they sign up.

If, as discussed, our time to value focus in Registration to Opening the Node-RED Editor, this would shave off minutes of time, with an Application & Instance being created at the point of registration.

Screenshot 2023-07-12 at 11 31 01

source: https://www.figma.com/file/JxQe6yIm6lSIYvVi1FYCtl/User-Journeys---Calls-to-Action-(FF-Cloud)?type=whiteboard&node-id=0%3A1&t=OzOxGNqDDdCPDsvw-1

Considerations:

  • The instance settings would default to the smallest instance possible, but this is enough to get started and try out Node-RED

Negatives

  • Not all users want a FlowForge hosted/managed instance of Node-RED, some may just want Remote Devices
  • The instance names cannot be changed, so all users would be given a starter Instance with a random name

Which customers would this be availble to

All Users, (CE)

Acceptance Criteria

  • Application and/or Instance is automatically created once the user registers, confirms e-mail or signs in for the first time

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

@MarianRaphael
Copy link
Contributor

Ideally, based on the user data, we would initiate the automated creation of the Trial Application and Instance immediately following the automated creation of the "Team"

@knolleary
Copy link
Member

knolleary commented Jul 25, 2023

Here's my high-level technical direction on this. It is going to clash with the work in #2519 due to how the new TeamTypes code modifies where the type of configuration is held for this type of thing.

The 'Create personal team' option in Admin Settings includes a drop-down for what type of team should be created. Once 2519 lands, we have the following admin settings:

For this item, we should introduce a new admin setting user:team:auto-create:instanceType that identifies the type of instance to create. The list should have a none default option.

When the user picks a teamType, the list should reflect the instance types enabled for that team type.

From there, the runtime can use those flags to decide if it needs to generate the application and instance (and what type of instance to created).

  • The Application should be given a sensible default name.
  • The instance can have a generated name. It might make sense to generate a name from the username/team slug to avoid clashes, whilst making it bit more meaningful than the random bird names we use in the frontend.

@joepavitt
Copy link
Contributor Author

@Pezmc how we looking for this going into 1.10? I also have #2495, but little point doing that on it's own, if this is also going to be done, as #2495 can just be done as part of this work.

@joepavitt
Copy link
Contributor Author

Actually, ignore that. #2495 still applies when creating new applications, even outside of the onboarding UX.

@Pezmc
Copy link
Contributor

Pezmc commented Jul 27, 2023

This is on track to be ready in 1.10, but do note I only picked up work on it late yesterday and am still in discovery!

@MarianRaphael MarianRaphael moved this from Todo to In Progress in 🛠 Development Aug 1, 2023
@MarianRaphael MarianRaphael linked a pull request Aug 2, 2023 that will close this issue
11 tasks
@Pezmc Pezmc moved this from In Progress to Review in 🛠 Development Aug 2, 2023
@Pezmc Pezmc moved this from Review to Verify in 🛠 Development Aug 2, 2023
@joepavitt
Copy link
Contributor Author

@hardillb was this verified yesterday? Saw some chat about it in #dept-engineering

@hardillb
Copy link
Contributor

hardillb commented Aug 3, 2023

Yes this was tested on Staging, and worked once I remembered to fix the stacks in the instance types, but this is the thing I don't want to enable straight away

@joepavitt joepavitt moved this from Verify to Done in 🛠 Development Aug 3, 2023
@MarianRaphael MarianRaphael moved this from Short to Closed / Done in ☁️ Product Planning Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high High Priority size:M - 3 Sizing estimation point story A user-oriented description of a feature
Projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants