-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/create new env flow #738
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
Conversation
src/components/RecentActivity/CreateEnvironmentWizard/CreateEnvironmentPanel/Tab/index.tsx
Outdated
Show resolved
Hide resolved
src/components/RecentActivity/CreateEnvironmentWizard/EnvironmentCreated/index.tsx
Outdated
Show resolved
Hide resolved
src/components/RecentActivity/CreateEnvironmentWizard/EnvironmentNameStep/index.tsx
Outdated
Show resolved
Hide resolved
src/components/RecentActivity/CreateEnvironmentWizard/EnvironmentNameStep/index.tsx
Outdated
Show resolved
Hide resolved
src/actions.ts
Outdated
| REGISTRATION: "REGISTRATION", | ||
| SET_REGISTRATION_RESULT: "SET_REGISTRATION_RESULT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we already have GLOBAL/REGISTER, consider some other name for the old message: POSTHOG_REGISTER?
| REGISTRATION: "REGISTRATION", | |
| SET_REGISTRATION_RESULT: "SET_REGISTRATION_RESULT", | |
| REGISTER: "REGISTRER", | |
| SET_REGISTRER_RESULT: "SET_REGISTER_RESULT", |
| import { KeyboardEvent, useEffect } from "react"; | ||
| import { Controller, useForm } from "react-hook-form"; | ||
| import { sendUserActionTrackingEvent } from "../../../../utils/actions/sendUserActionTrackingEvent"; | ||
| import { TextField } from "../../../common/RegistrationDialog/TextField"; // TODO: change when new env will be merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check
| }; | ||
|
|
||
| const handleLogoutClick = () => { | ||
| window.sendMessageToDigma({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add analytics
| onClose: () => void; | ||
| } | ||
|
|
||
| export interface MenuItem { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reuse type from MenuListProps of Navigation/common/MenuList component
|
|
||
| // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args | ||
| export const Default: Story = { | ||
| args: {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| args: {} |
| @@ -379,7 +177,7 @@ export const RecentActivity = (props: RecentActivityProps) => { | |||
|
|
|||
| const handleConfirmEnvironmentDeletion = () => { | |||
| window.sendMessageToDigma({ | |||
| action: actions.DELETE_ENVIRONMENT, | |||
| action: actions.DELETE_ENVIRONMENT_V2, | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if we need v2?
| OPEN_REGISTRATION_DIALOG: "OPEN_REGISTRATION_DIALOG", | ||
| DELETE_ENVIRONMENT_V2: "DELETE_ENVIRONMENT_V2", | ||
| CREATE_ENVIRONMENT: "CREATE_ENVIRONMENT", | ||
| ENVIRONMENT_CREATED: "ENVIRONMENT_CREATED" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ENVIRONMENT_CREATED: "ENVIRONMENT_CREATED" | |
| SET_CREATE_ENVIRONMENT_RESULT: "SET_CREATE_ENVIRONMENT_RESULT" |
src/components/RecentActivity/WelcomeScreen/WelcomeScreen.stories.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Kyrylo Shmidt <119138536+kshmidt-digma@users.noreply.github.com>
…into fix-validation
Fix validation
Fix validation error
…a-ai/digma-ui into feature/create-new-env-flow
Fix password validation
* Fix documentation and environment instructions
…a-ai/digma-ui into feature/create-new-env-flow
Show registration dialog
* Fix documentation and environment instructions * Update styles Redirect to sign in after sign up Hide Close button in Environment instructions after its creation
Impl #747