From cec677eaae965eab16f7cd2255d936c601da0fd7 Mon Sep 17 00:00:00 2001 From: knugget Date: Thu, 9 Feb 2023 15:53:25 +0100 Subject: [PATCH] revamped instructions --- .env.example | 76 ------- apps/demo/components/AppPage.tsx | 110 ++++----- apps/demo/components/SimpleFeedbackModal.tsx | 6 +- .../components/feedback/FeedbackModal.tsx | 32 +-- apps/demo/pages/demos/poll-results.tsx | 58 ++--- apps/demo/pages/index.tsx | 6 +- .../components/engine/FeatureSelection.tsx | 2 +- .../components/engine/Input.tsx | 2 +- .../components/engine/Progressbar.tsx | 2 +- .../components/engine/Scale.tsx | 6 +- .../components/engine/Textarea.tsx | 2 +- .../components/home/Features.tsx | 2 +- apps/formbricks-com/components/shared/CTA.tsx | 4 +- .../components/shared/Footer.tsx | 6 +- .../components/shared/Header.tsx | 6 +- .../components/shared/HeaderPMF.tsx | 6 +- .../components/shared/HeaderWithMenu.tsx | 40 ++-- .../components/shared/LayoutMdx.tsx | 2 +- .../components/shared/MdxCTA.tsx | 4 +- .../components/shared/PricingPmf.tsx | 8 +- .../components/shared/TryItCTA.tsx | 2 +- .../pages/blog/weekly-update-021222/index.mdx | 10 +- .../input-checkbox/index.mdx | 2 +- .../react-form-library/input-email/index.mdx | 2 +- .../input-password/index.mdx | 2 +- .../react-form-library/input-phone/index.mdx | 2 +- .../react-form-library/input-radio/index.mdx | 2 +- .../react-form-library/input-search/index.mdx | 2 +- .../react-form-library/input-text/index.mdx | 2 +- .../input-textarea/index.mdx | 2 +- .../react-form-library/input-url/index.mdx | 2 +- .../style-tailwind/index.mdx | 2 +- .../validation-errors/index.mdx | 2 +- apps/web/src/components/AnalyticsCard.tsx | 8 +- apps/web/src/components/Modal.tsx | 4 +- apps/web/src/components/TabNavigation.tsx | 8 +- apps/web/src/components/UpgradeModal.tsx | 4 +- .../src/components/auth/PasswordResetForm.tsx | 2 +- .../src/components/auth/ResetPasswordForm.tsx | 2 +- apps/web/src/components/auth/SigninForm.tsx | 8 +- apps/web/src/components/auth/SignupForm.tsx | 14 +- .../components/customers/CustomersPage.tsx | 20 +- .../customers/SingleCustomerPage.tsx | 48 ++-- apps/web/src/components/forms/FormsPage.tsx | 2 +- .../web/src/components/forms/NewFormModal.tsx | 16 +- .../forms/custom/FormOverviewPage.tsx | 30 +-- .../forms/feedback/FeedbackPage.tsx | 4 +- .../forms/feedback/FeedbackResults.tsx | 8 +- .../forms/feedback/FeedbackTimeline.tsx | 28 +-- .../forms/feedback/SetupInstructions.tsx | 208 +++++++++++++----- .../forms/pipelines/AddPipelineModal.tsx | 10 +- .../forms/pipelines/PipelinesOverview.tsx | 20 +- .../forms/pipelines/UpdatePipelineModal.tsx | 4 +- .../forms/pipelines/emailNotification.tsx | 34 +-- .../forms/pipelines/slackNotification.tsx | 28 +-- .../components/forms/pipelines/webhook.tsx | 40 ++-- apps/web/src/components/forms/pmf/PMFPage.tsx | 4 +- .../src/components/forms/pmf/PMFTimeline.tsx | 34 +-- .../forms/pmf/SetupInstructions.tsx | 176 ++++++++++++++- .../forms/shared/FilterNavigation.tsx | 6 +- .../forms/submissions/SubmissionDisplay.tsx | 8 +- .../forms/submissions/SubmissionsPage.tsx | 22 +- .../components/forms/summary/SummaryPage.tsx | 12 +- .../components/integrations/IconCheckbox.tsx | 2 +- .../components/integrations/ThankYouPage.tsx | 2 +- apps/web/src/components/layout/LayoutApp.tsx | 38 ++-- apps/web/src/components/layout/LayoutAuth.tsx | 4 +- apps/web/src/components/layout/LayoutDemo.tsx | 20 +- .../layout/LayoutWrapperCustomForm.tsx | 10 +- .../layout/LayoutWrapperOrganisation.tsx | 16 +- .../src/components/me/ProfileSettingsPage.tsx | 40 ++-- .../components/onboarding/OnboardingPage.tsx | 2 +- .../src/components/settings/BillingPage.tsx | 10 +- .../src/components/settings/SettingsPage.tsx | 2 +- apps/web/src/pages/auth/signup/index.tsx | 2 +- apps/web/src/pages/billing-confirmation.tsx | 4 +- packages/charts/src/charts/Table.tsx | 4 +- packages/react/README.md | 2 +- packages/react/src/styles.css | 16 +- packages/ui/src/Button.tsx | 14 +- 80 files changed, 797 insertions(+), 617 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 271a0decf2..0000000000 --- a/.env.example +++ /dev/null @@ -1,76 +0,0 @@ -######################################################################## -# ------------ MANDATORY (CHANGE ACCORDING TO YOUR SETUP) ------------# -######################################################################## - - -############ -# Basics # -############ - -NEXTAUTH_SECRET=RANDOM_STRING - -# Set this to your public-facing URL, e.g., https://example.com -NEXTAUTH_URL=http://localhost:3000 - -# This should always be localhost:3000 (or whatever port your app is running on) -NEXTAUTH_URL_INTERNAL=http://localhost:3000 - -DATABASE_URL='postgresql://postgres:postgres@localhost:5432/postgres?schema=public' - -# For Docker Compose Production Setup use this Database URL: -# DATABASE_URL='postgresql://postgres:postgres@postgres:5432/formbricks?schema=public' - -################ -# Mail Setup # -################ - -# Necessary if email verification and password reset are enabled. -# See optional configurations below if you want to disable these features. - -MAIL_FROM=noreply@example.com -SMTP_HOST=localhost -SMTP_PORT=1025 -SMTP_SECURE_ENABLED=0 # Enable for TLS (port 465) -SMTP_USER=smtpUser -SMTP_PASSWORD=smtpPassword - - -######################################################################## -# ------------------------------ OPTIONAL -----------------------------# -######################################################################## - -# Uncomment the variables you would like to use and customize the values. - -##################### -# Disable Features # -##################### - -# Email Verification. If you enable Email Verification you have to setup SMTP-Settings, too. -# NEXT_PUBLIC_EMAIL_VERIFICATION_DISABLED=1 - -# Password Reset. If you enable Password Reset functionality you have to setup SMTP-Settings, too. -# NEXT_PUBLIC_PASSWORD_RESET_DISABLED=1 - -# Signup. Disable the ability for new users to create an account. -# NEXT_PUBLIC_SIGNUP_DISABLED=1 - -########## -# Other # -########## - -# Disable Sentry warning -SENTRY_IGNORE_API_RESOLUTION_ERROR=1 - -# Enable Sentry Error Tracking -NEXT_PUBLIC_SENTRY_DSN= - -# Configure Github Login -NEXT_PUBLIC_GITHUB_AUTH_ENABLED=0 -GITHUB_ID= -GITHUB_SECRET= - -# Stripe Billing Variables -NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID= -NEXT_PUBLIC_STRIPE_PUBLIC_KEY= -STRIPE_SECRET_KEY= -STRIPE_WEBHOOK_SECRET= \ No newline at end of file diff --git a/apps/demo/components/AppPage.tsx b/apps/demo/components/AppPage.tsx index e946a5b547..b55e356cf2 100644 --- a/apps/demo/components/AppPage.tsx +++ b/apps/demo/components/AppPage.tsx @@ -56,7 +56,7 @@ const transactions = [ const statusStyles = { success: "bg-green-100 text-green-800", processing: "bg-yellow-100 text-yellow-800", - failed: "bg-gray-100 text-gray-800", + failed: "bg-slate-100 text-slate-800", }; function classNames(...classes) { @@ -84,7 +84,7 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) { leave="transition-opacity ease-linear duration-300" leaveFrom="opacity-100" leaveTo="opacity-0"> -
+
@@ -217,10 +217,10 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) {
-
+
{/* Profile dropdown */}
- + - + Open user menu for Emilia Birch @@ -292,8 +292,8 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) { Your Profile @@ -304,8 +304,8 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) { Settings @@ -316,8 +316,8 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) { Logout @@ -333,7 +333,7 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) { {/* Page header */}
-
+
{/* Profile */}
@@ -349,21 +349,21 @@ export default function AppPage({ onClickFeedback = () => {} }: AppPageProps) { src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2.6&w=256&h=256&q=80" alt="" /> -

+

Good morning, Emilia Birch

Company
-
+
Account status
-
+