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

feat: flows index #19448

Merged
merged 6 commits into from
Aug 26, 2020
Merged

feat: flows index #19448

merged 6 commits into from
Aug 26, 2020

Conversation

121watts
Copy link
Contributor

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.

Kapture 2020-08-26 at 11 23 05

@121watts 121watts changed the title Feat/index flows feat: flows index Aug 26, 2020
@@ -108,17 +108,17 @@ export const generateNavItems = (orgID: string): NavItem[] => {
activeKeywords: ['data-explorer'],
},
{
id: 'notebooks',
testID: 'nav-item-notebooks',
id: 'flows',
Copy link
Contributor

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} />
Copy link
Contributor

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?
Copy link
Contributor

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'
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Contributor

@drdelambre drdelambre left a 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

@121watts 121watts merged commit 6151c38 into master Aug 26, 2020
@121watts 121watts deleted the feat/index-flows branch August 26, 2020 20:25
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.

Support High Cardinality Tags and Series
2 participants