From f7164ddd7dbe9ecaf3e1c6caf6e879c74cfdfaf7 Mon Sep 17 00:00:00 2001 From: mantikoros <95266179+mantikoros@users.noreply.github.com> Date: Fri, 16 Sep 2022 14:58:36 -0500 Subject: [PATCH] group selector dialog (#888) * group selector dialog * cache groups to prevent ui jumping * welcome dialog display logic * show fewer groups, more filtering --- web/components/buttons/pill-button.tsx | 6 +- .../onboarding/group-selector-dialog.tsx | 89 +++++++++++++++++++ web/components/onboarding/welcome.tsx | 40 +++++---- 3 files changed, 117 insertions(+), 18 deletions(-) create mode 100644 web/components/onboarding/group-selector-dialog.tsx diff --git a/web/components/buttons/pill-button.tsx b/web/components/buttons/pill-button.tsx index 9aa6153f..12e15c24 100644 --- a/web/components/buttons/pill-button.tsx +++ b/web/components/buttons/pill-button.tsx @@ -6,9 +6,10 @@ export function PillButton(props: { onSelect: () => void color?: string xs?: boolean + className?: string children: ReactNode }) { - const { children, selected, onSelect, color, xs } = props + const { children, selected, onSelect, color, xs, className } = props return (