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: Add tabs for pipeline UI #18235

Merged
merged 3 commits into from
Nov 1, 2023
Merged

feat: Add tabs for pipeline UI #18235

merged 3 commits into from
Nov 1, 2023

Conversation

tiina303
Copy link
Contributor

@tiina303 tiina303 commented Oct 26, 2023

Problem

Set up tabs and navigation on the page, so I won't get any merge conflicts working on them separately.
Note: this took way too long, we have so many different ways we do tabs in the app, this seems like the reasonable way to me, so if that's it I'll add a storybook doc for adding tabs to the scene.

Changes

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@tiina303 tiina303 requested a review from Twixes October 26, 2023 23:39
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@tiina303 tiina303 requested a review from a team October 27, 2023 00:01
@tiina303 tiina303 marked this pull request as ready for review October 27, 2023 00:01
return (
<div className="pipeline-scene">
<PageHeader title="Pipeline" />
<PageHeader
title="Pipeline"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be labeled "CDP"?

Copy link
Contributor Author

@tiina303 tiina303 Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no acronyms :) Tim & I considered that though... my vote is for pipeline

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is, in fact, the same product as what we have on the website, we should at least pluralize it so it partially matches: Customer Data Pipelines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CDP = customer data platform (singular). I find pipelines weird as we don't have several atm.

Comment on lines 9 to 14
case PipelineTabs.Filtering:
return 'filter'
case PipelineTabs.Transformations:
return 'transformation'
case PipelineTabs.Destinations:
return 'destination'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe we should make these all verbs or nouns:
Option 1 (nouns): filters, transformations, destinations
Option 2 (verbs): filter, transform, export?

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems about right

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@tiina303 tiina303 merged commit bca73ba into master Nov 1, 2023
72 of 73 checks passed
@tiina303 tiina303 deleted the pipeline-ui-tabs-2 branch November 1, 2023 13:52
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.

6 participants