Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Nov 23, 2023
1 parent 003822e commit 555a32f
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { capitalizeFirstLetter } from 'lib/utils'
import { accessoryGroups, standardAccessories } from './sprites/sprites'

import { HedgehogBuddyAccessory } from './components/AccessoryButton'
import { accessoryGroups, standardAccessories } from './sprites/sprites'

export function HedgehogAccessories({ isDarkModeOn }: { isDarkModeOn: boolean }): JSX.Element {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { useActions, useValues } from 'kea'
import { hedgehogbuddyLogic } from './hedgehogbuddyLogic'
import './HedgehogBuddy.scss'

import { useActions, useValues } from 'kea'

import { themeLogic } from '~/layout/navigation-3000/themeLogic'

import { HedgehogBuddy } from './HedgehogBuddy'
import { hedgehogbuddyLogic } from './hedgehogbuddyLogic'

export function HedgehogBuddyWithLogic(): JSX.Element {
const { hedgehogModeEnabled } = useValues(hedgehogbuddyLogic)
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/toolbar/actions/ActionsEditingToolbarMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'

import { IconClose, IconDelete, IconEdit, IconMagnifier, IconMinusOutlined, IconPlus } from 'lib/lemon-ui/icons'
import { LemonDivider } from '@posthog/lemon-ui'
import { useActions, useValues } from 'kea'
import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { SelectorEditingModal } from '~/toolbar/elements/SelectorEditingModal'
import { posthog } from '~/toolbar/posthog'
import { Field, Form, Group } from 'kea-forms'
import { IconClose, IconDelete, IconEdit, IconMagnifier, IconMinusOutlined, IconPlus } from 'lib/lemon-ui/icons'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'

import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
import { StepField } from '~/toolbar/actions/StepField'
import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
import { SelectorEditingModal } from '~/toolbar/elements/SelectorEditingModal'
import { posthog } from '~/toolbar/posthog'
import { getShadowRootPopoverContainer } from '~/toolbar/utils'
import { LemonDivider } from '@posthog/lemon-ui'

export const ActionsEditingToolbarMenu = (): JSX.Element => {
const {
Expand Down
17 changes: 9 additions & 8 deletions frontend/src/toolbar/actions/ActionsToolbarMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
import { useActions, useValues } from 'kea'
import { actionsLogic } from '~/toolbar/actions/actionsLogic'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
import { urls } from 'scenes/urls'
import { IconOpenInNew, IconPlus } from 'lib/lemon-ui/icons'
import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Link } from 'lib/lemon-ui/Link'
import { Spinner } from 'lib/lemon-ui/Spinner'
import { ActionsListView } from '~/toolbar/actions/ActionsListView'
import { urls } from 'scenes/urls'

import { ActionsEditingToolbarMenu } from '~/toolbar/actions/ActionsEditingToolbarMenu'
import { Link } from 'lib/lemon-ui/Link'
import { ActionsListView } from '~/toolbar/actions/ActionsListView'
import { actionsLogic } from '~/toolbar/actions/actionsLogic'
import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'

const ActionsListToolbarMenu = (): JSX.Element => {
const { searchTerm } = useValues(actionsLogic)
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/toolbar/bar/ToolbarButton.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { useActions, useValues } from 'kea'
import { MenuState, toolbarLogic } from './toolbarLogic'
import './ToolbarButton.scss'

import { Tooltip } from '@posthog/lemon-ui'
import clsx from 'clsx'
import { useActions, useValues } from 'kea'
import { capitalizeFirstLetter } from 'lib/utils'

import './ToolbarButton.scss'
import { FunctionComponent, useEffect } from 'react'
import React from 'react'

import { MenuState, toolbarLogic } from './toolbarLogic'

export type ToolbarButtonProps = {
icon: React.ReactElement | null
onClick?: () => void
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/toolbar/hedgehog/HedgehogButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
import { useActions, useValues } from 'kea'
import { HedgehogActor, HedgehogBuddy } from 'lib/components/HedgehogBuddy/HedgehogBuddy'
import { useEffect, useRef } from 'react'

import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'

import { heatmapLogic } from '../elements/heatmapLogic'

export function HedgehogButton(): JSX.Element {
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/toolbar/hedgehog/HedgehogMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
import { HedgehogAccessories } from 'lib/components/HedgehogBuddy/HedgehogAccessories'
import { LemonButton } from '@posthog/lemon-ui'
import { useActions, useValues } from 'kea'
import { HedgehogAccessories } from 'lib/components/HedgehogBuddy/HedgehogAccessories'

import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'

import { toolbarLogic } from '../bar/toolbarLogic'

export const HedgehogMenu = (): JSX.Element => {
Expand Down

0 comments on commit 555a32f

Please sign in to comment.