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

style(dashboard): remove icons for consistency #7356

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useMemo } from 'react';
import { useFormContext } from 'react-hook-form';
import { RiAccountPinBoxFill } from 'react-icons/ri';
import { autocompletion } from '@codemirror/autocomplete';

import { FormControl, FormField, FormItem, FormLabel, FormMessage } from '@/components/primitives/form/form';
Expand All @@ -25,10 +24,7 @@ export const DigestKey = () => {
<FormItem className="flex w-full flex-col overflow-hidden">
<>
<FormLabel tooltip="Digest is aggregated by the subscriberId by default. You can add one more aggregation key to group events further.">
<span className="flex items-center gap-1">
<RiAccountPinBoxFill className="size-4" />
<span>Aggregated by</span>
</span>
Aggregated by
</FormLabel>
<InputFieldPure className="h-7 items-center gap-0 rounded-lg border">
<FormLabel className="flex h-full items-center gap-1 border-r border-neutral-100 pr-1">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useState } from 'react';
import { Tabs } from '@radix-ui/react-tabs';
import { RiCalendarScheduleFill } from 'react-icons/ri';
import { FieldValues, useFormContext } from 'react-hook-form';
import { TimeUnitEnum } from '@novu/shared';

Expand Down Expand Up @@ -67,12 +66,7 @@ export const DigestWindow = () => {

return (
<div className="flex flex-col gap-2">
<FormLabel>
<span className="flex items-center gap-1">
<RiCalendarScheduleFill className="size-4" />
<span>Digest window</span>
</span>
</FormLabel>
<FormLabel>Digest window</FormLabel>
<Tabs
value={digestType}
className="flex h-full flex-1 flex-col"
Expand Down
Loading