-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat: flows index #19448
feat: flows index #19448
Conversation
17799af
to
eb4a58b
Compare
@@ -108,17 +108,17 @@ export const generateNavItems = (orgID: string): NavItem[] => { | |||
activeKeywords: ['data-explorer'], | |||
}, | |||
{ | |||
id: 'notebooks', | |||
testID: 'nav-item-notebooks', | |||
id: 'flows', |
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.
so it begins
{isFlagEnabled('notebooks') && ( | ||
<Route path={`${orgPath}/notebooks`} component={NotebookPage} /> | ||
<Route path={`${orgPath}/notebooks/:id`} component={NotebookPage} /> |
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.
can rename this if like!
return ( | ||
<EmptyState size={ComponentSize.Large}> | ||
<EmptyState.Text> | ||
Looks like there aren't any <b>Flows</b>, why not create one? |
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.
should we just make one for them instead?
@@ -2,7 +2,7 @@ | |||
import React, {FC, useContext, useCallback} from 'react' | |||
|
|||
// Contexts | |||
import {NotebookContext} from 'src/notebooks/context/notebook' | |||
import {NotebookContext} from 'src/notebooks/context/notebook.current' |
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.
well this is embarassing
@@ -14,23 +14,27 @@ export interface PipeMeta { | |||
// TODO: this is screaming for normalization. figure out frontend uuids for cells |
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.
I think we can delete this whole file? maybe later, but i got confused as to how any of this worked
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.
code is good to ship. really want to create one automatically if they have none, but idk what that'd entail
Closes #7151
Notes
This index is purposefully very, very ugly. It is not done. Not even close. But, you can now create and view multiple flows and differentiate them based on a meaningful name.