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

left-sidebar #672

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

left-sidebar #672

wants to merge 1 commit into from

Conversation

antonmerkotun
Copy link

@antonmerkotun antonmerkotun commented Jan 21, 2025

Summary by CodeRabbit

Release Notes

  • New Components

    • Added Header component to improve app navigation
    • Added SubSidebar component for enhanced sidebar functionality
    • Added new sidebar.vue layout for improved navigation structure
  • Layout Updates

    • Restructured default layout with new Header and Sidebar
    • Updated page layouts to improve visual consistency and responsiveness
  • Style Improvements

    • Enhanced component styling with background colors, padding, and rounded corners
    • Refined template formatting for better code readability
  • Minor Refinements

    • Cleaned up code formatting across multiple components
    • Removed commented-out code sections in some files

Copy link
Contributor

coderabbitai bot commented Jan 21, 2025

Walkthrough

This pull request introduces several changes to the client-side Vue components, primarily focusing on code formatting, layout restructuring, and the addition of new components. Key modifications include the introduction of a new Header and Sidebar component, updates to the default layout, and refinements to various form-related pages. The changes aim to improve the overall user interface and component organization without significantly altering core functionality.

Changes

File Change Summary
client/components/global/Header.vue New component added with a header section, including a conditional button based on user authentication
client/components/global/SubSidebar.vue New component with navigation items and dynamic link generation
client/layouts/default.vue Restructured layout with new Header and Sidebar components, commented out Navbar
client/layouts/sidebar.vue New sidebar component with dynamic navigation tabs
client/pages/forms/[slug]/show.vue Significant template restructuring, added RegenerateFormLink component
Multiple Vue components (e.g., TextBlock.vue, MentionDropdown.vue) Minor template formatting and indentation improvements

Poem

🐰 A rabbit's tale of code so neat,
Formatting files with rhythmic beat
Sidebars dancing, headers bright
Components aligned with pure delight
Vue magic sprinkled, clean and light! 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 7

🧹 Nitpick comments (8)
client/components/global/Header.vue (1)

2-2: Consider using design tokens for consistent styling.

Hard-coded values like h-[68px] should be moved to design tokens for better maintainability.

client/components/pages/admin/UserWorkspaces.vue (1)

23-32: Consider extracting pagination logic to a computed property.

The pagination visibility logic could be simplified and made more reusable.

+ const showPagination = computed(() => workspaces?.length > pageCount)

 <div 
-  v-if="workspaces?.length > pageCount"
+  v-if="showPagination"
   class="flex justify-end px-3 py-3.5 border-t border-gray-200 dark:border-gray-700"
 >
client/layouts/sidebar.vue (2)

26-52: Refactor navigation configuration for better maintainability.

Consider these improvements:

  1. Extract navigation configs to a separate file
  2. Create a utility function for route params to avoid duplication
  3. Use constants for image paths

Example refactor:

// navigation.config.ts
const createNavItem = (name: string, route: string, icon: string) => ({
  name,
  route,
  params: { slug },
  iconPath: `/img/sidebar/${icon}.svg`
})

export const mainNavigation = [
  createNavItem('Dashboard', 'home', 'dashboard'),
  createNavItem('Templates', 'templates-my-templates', 'templates'),
  createNavItem('Settings', 'settings-profile', 'settings')
]

export const subNavigation = [
  createNavItem('Submissions', 'forms-slug-show-submissions', 'submissions'),
  createNavItem('Analytics', 'forms-slug-show-stats', 'analytics'),
  createNavItem('Share', 'forms-slug-show-share', 'share')
]

export const getIntegrationNav = () => 
  createNavItem('Integrations', 'forms-slug-show-integrations', 'integrations')

Also applies to: 54-83


61-70: Simplify conditional navigation items.

The spread operator with conditional array makes the code harder to read. Consider using a more straightforward approach.

- ...(workspace.value.is_readonly
-   ? []
-   : [
-       {
-         name: "Integrations",
-         route: "forms-slug-show-integrations",
-         params: { slug },
-         iconPath: "/img/sidebar/integrations.svg",
-       },
-     ]),
+ if (!workspace.value.is_readonly) {
+   tabsList.push(createNavItem('Integrations', 'forms-slug-show-integrations', 'integrations'))
+ }
client/components/global/SubSidebar.vue (2)

13-14: Consider using dynamic asset imports for better maintainability.

Instead of hardcoding image paths, consider using dynamic imports or storing paths in a configuration file.

-          <img
-            src="/img/sidebar/search.svg"
-            alt="icon"
+          <img
+            :src="require('@/assets/img/sidebar/search.svg')"
+            :alt="'Search icon'"

42-42: Use relative units for better responsiveness.

Using pixel values for text sizes may not scale well across different screen sizes and user preferences.

-            :class="[isSubSidebar ? 'text-sm' : 'text-[8px]']"
+            :class="[isSubSidebar ? 'text-sm' : 'text-xs']"
client/pages/forms/[slug]/show.vue (1)

2-2: Use design tokens for colors instead of direct hex values.

Replace hardcoded color values with design system tokens for better maintainability and consistency.

-  <div class="bg-[#F5F7F9] w-full">
+  <div class="bg-gray-50 w-full">
client/pages/forms/[slug]/show/share.vue (1)

2-3: Consider using semantic class names for spacing.

Instead of using raw pixel values for gaps, consider using Tailwind's spacing scale for consistency.

-  <div class="w-full max-w-[1100px]">
-    <div class="flex flex-col gap-3">
+  <div class="w-full max-w-7xl">
+    <div class="flex flex-col gap-4">
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 55bbb47 and 3c82ef5.

⛔ Files ignored due to path filters (10)
  • client/public/img/sidebar/analytics.svg is excluded by !**/*.svg
  • client/public/img/sidebar/dashboard.svg is excluded by !**/*.svg
  • client/public/img/sidebar/help-center.svg is excluded by !**/*.svg
  • client/public/img/sidebar/integrations.svg is excluded by !**/*.svg
  • client/public/img/sidebar/plus.svg is excluded by !**/*.svg
  • client/public/img/sidebar/search.svg is excluded by !**/*.svg
  • client/public/img/sidebar/settings.svg is excluded by !**/*.svg
  • client/public/img/sidebar/share.svg is excluded by !**/*.svg
  • client/public/img/sidebar/submissions.svg is excluded by !**/*.svg
  • client/public/img/sidebar/templates.svg is excluded by !**/*.svg
📒 Files selected for processing (18)
  • client/components/forms/TextBlock.vue (1 hunks)
  • client/components/forms/components/MentionDropdown.vue (1 hunks)
  • client/components/forms/components/QuillyEditor.vue (1 hunks)
  • client/components/global/ErrorBoundary.vue (1 hunks)
  • client/components/global/Header.vue (1 hunks)
  • client/components/global/SubSidebar.vue (1 hunks)
  • client/components/open/forms/components/ShareFormUrl.vue (1 hunks)
  • client/components/open/forms/fields/components/MatrixPrefilledValues.vue (1 hunks)
  • client/components/pages/admin/DeletedForms.vue (1 hunks)
  • client/components/pages/admin/UserWorkspaces.vue (2 hunks)
  • client/components/pages/forms/show/EmbedCode.vue (3 hunks)
  • client/components/pages/forms/show/ShareLink.vue (1 hunks)
  • client/layouts/default.vue (1 hunks)
  • client/layouts/sidebar.vue (1 hunks)
  • client/pages/forms/[slug]/show.vue (3 hunks)
  • client/pages/forms/[slug]/show/share.vue (1 hunks)
  • client/pages/oauth/callback.vue (1 hunks)
  • client/pages/update-credentials.vue (2 hunks)
✅ Files skipped from review due to trivial changes (11)
  • client/components/pages/admin/DeletedForms.vue
  • client/components/open/forms/fields/components/MatrixPrefilledValues.vue
  • client/components/pages/forms/show/ShareLink.vue
  • client/components/global/ErrorBoundary.vue
  • client/components/forms/components/QuillyEditor.vue
  • client/pages/oauth/callback.vue
  • client/components/forms/TextBlock.vue
  • client/pages/update-credentials.vue
  • client/components/forms/components/MentionDropdown.vue
  • client/components/pages/forms/show/EmbedCode.vue
  • client/components/open/forms/components/ShareFormUrl.vue
🔇 Additional comments (1)
client/layouts/default.vue (1)

6-10: LGTM! Well-structured layout.

The flex layout with max-width constraint and proper height classes provides a good foundation for responsive design.

<div class="main-layout min-h-screen flex flex-col">
<Navbar />
<div class="main-layout min-h-screen flex flex-col h-full">
<!-- <Navbar />-->
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Remove commented-out code instead of keeping it.

Commented-out code should be removed rather than committed. If the code needs to be referenced later, it can be found in the git history.

-    <!--    <Navbar />-->

Comment on lines +5 to +8
<button
v-if="user"
class="bg-[#1C1D35] rounded w-6 h-6"
/>
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Add accessibility attributes and click handler to the button.

The button lacks essential accessibility attributes and a click handler.

 <button
   v-if="user"
-  class="bg-[#1C1D35] rounded w-6 h-6"
+  class="bg-[#1C1D35] rounded w-6 h-6"
+  aria-label="Toggle navigation"
+  @click="handleClick"
 />

Committable suggestion skipped: line range outside the PR's diff.

Comment on lines +40 to +45
// {
// name: "Help Center",
// route: opnformConfig.links.help_url,
// params: { slug },
// iconPath: "/img/sidebar/help-center.svg",
// },
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Remove commented-out code for help center.

Commented-out code should be removed from the codebase.

-  // {
-  //   name: "Help Center",
-  //   route: opnformConfig.links.help_url,
-  //   params: { slug },
-  //   iconPath: "/img/sidebar/help-center.svg",
-  // },

Comment on lines +32 to +39
<img
alt="icon"
:src="tab.iconPath"
:class="{
'filter-none': $route.name === tab.route,
grayscale: $route.name !== tab.route,
}"
>
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Enhance accessibility with descriptive alt text.

The current alt text "icon" is not descriptive enough for screen readers.

           <img
-            alt="icon"
+            :alt="`${tab.name} icon`"
             :src="tab.iconPath"
             :class="{
               'filter-none': $route.name === tab.route,
               grayscale: $route.name !== tab.route,
             }"
           >
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<img
alt="icon"
:src="tab.iconPath"
:class="{
'filter-none': $route.name === tab.route,
grayscale: $route.name !== tab.route,
}"
>
<img
:alt="`${tab.name} icon`"
:src="tab.iconPath"
:class="{
'filter-none': $route.name === tab.route,
grayscale: $route.name !== tab.route,
}"
>

Comment on lines +68 to +71
const props = defineProps({
tabsList: { type: Array, default: null },
isSubSidebar: { type: Boolean, default: false },
})
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Strengthen prop definitions for better type safety.

Consider improving the props definition:

  1. Make tabsList required since it's essential for rendering
  2. Use an empty array as default instead of null
  3. Add validation for the tabsList items structure
 const props = defineProps({
-  tabsList: { type: Array, default: null },
+  tabsList: {
+    type: Array,
+    required: true,
+    validator: (value) => value.every(tab => 
+      ['name', 'route', 'iconPath'].every(key => key in tab)
+    )
+  },
   isSubSidebar: { type: Boolean, default: false },
 })
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
const props = defineProps({
tabsList: { type: Array, default: null },
isSubSidebar: { type: Boolean, default: false },
})
const props = defineProps({
tabsList: {
type: Array,
required: true,
validator: (value) => value.every(tab =>
['name', 'route', 'iconPath'].every(key => key in tab)
)
},
isSubSidebar: { type: Boolean, default: false },
})

Comment on lines +28 to +184
<!-- <UButton-->
<!-- v-if="!workspace.is_readonly"-->
<!-- v-track.edit_form_click="{-->
<!-- form_id: form.id,-->
<!-- form_slug: form.slug,-->
<!-- }"-->
<!-- color="primary"-->
<!-- icon="i-heroicons-pencil"-->
<!-- class="hover:no-underline"-->
<!-- :to="{ name: 'forms-slug-edit', params: { slug: form.slug } }"-->
<!-- >-->
<!-- Edit <span class="hidden md:inline">form</span>-->
<!-- </UButton>-->
<!-- <extra-menu v-if="!workspace.is_readonly" :form="form" />-->
<!-- </div>-->
<!-- </div>-->

<!-- <p class="text-gray-500 text-sm">-->
<!-- <span class="pr-1"-->
<!-- >{{ form.views_count }} view{{-->
<!-- form.views_count > 0 ? "s" : ""-->
<!-- }}</span-->
<!-- >-->
<!-- <span class="pr-1"-->
<!-- >- {{ form.submissions_count }} submission{{-->
<!-- form.submissions_count > 0 ? "s" : ""-->
<!-- }}-->
<!-- </span>-->
<!-- <span>- Edited {{ form.last_edited_human }}</span>-->
<!-- </p>-->
<!-- <div-->
<!-- v-if="-->
<!-- ['draft', 'closed'].includes(form.visibility) ||-->
<!-- (form.tags && form.tags.length > 0)-->
<!-- "-->
<!-- class="mt-2 flex items-center flex-wrap gap-3"-->
<!-- >-->
<!-- <span-->
<!-- v-if="form.visibility == 'draft'"-->
<!-- class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"-->
<!-- >-->
<!-- Draft - not publicly accessible-->
<!-- </span>-->
<!-- <span-->
<!-- v-else-if="form.visibility == 'closed'"-->
<!-- class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"-->
<!-- >-->
<!-- Closed - won't accept new submissions-->
<!-- </span>-->
<!-- <span-->
<!-- v-for="tag in form.tags"-->
<!-- :key="tag"-->
<!-- class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"-->
<!-- >-->
<!-- {{ tag }}-->
<!-- </span>-->
<!-- </div>-->

<!-- <p v-if="form.closes_at" class="text-yellow-500">-->
<!-- <span v-if="form.is_closed">-->
<!-- This form stopped accepting submissions on the-->
<!-- {{ displayClosesDate }}-->
<!-- </span>-->
<!-- <span v-else>-->
<!-- This form will stop accepting submissions on the-->
<!-- {{ displayClosesDate }}-->
<!-- </span>-->
<!-- </p>-->
<!-- <p v-if="form.max_submissions_count > 0" class="text-yellow-500">-->
<!-- <span v-if="form.max_number_of_submissions_reached">-->
<!-- The form is now closed because it reached its limit of-->
<!-- {{ form.max_submissions_count }} submissions.-->
<!-- </span>-->
<!-- <span v-else>-->
<!-- This form will stop accepting submissions after-->
<!-- {{ form.max_submissions_count }} submissions.-->
<!-- </span>-->
<!-- </p>-->

<!-- <form-cleanings class="mt-4" :form="form" />-->

<!-- <div class="border-b border-gray-200 dark:border-gray-700">-->
<!-- <ul class="flex flex-wrap -mb-px text-sm font-medium text-center">-->
<!-- <li v-for="(tab, i) in tabsList" :key="i + 1" class="mr-6">-->
<!-- <nuxt-link-->
<!-- :to="{ name: tab.route, params: tab.params ?? {} }"-->
<!-- class="hover:no-underline inline-block py-4 rounded-t-lg border-b-2 text-gray-500 hover:text-gray-600"-->
<!-- active-class="text-blue-600 hover:text-blue-900 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500"-->
<!-- >-->
<!-- {{ tab.name }}-->
<!-- </nuxt-link>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="flex flex-col bg-white">-->
<!-- <NuxtPage :form="form" />-->
<!-- </div>-->
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Remove commented code blocks.

Large blocks of commented code should be removed as they:

  1. Add unnecessary file size
  2. Make the code harder to maintain
  3. Can cause confusion about which implementation is current

Consider using version control to track these changes instead of keeping commented code.

Comment on lines +4 to +42
<!-- <div class="mb-6 pb-6 border-b w-full flex flex-col sm:flex-row gap-2">-->
<!-- <regenerate-form-link-->
<!-- v-if="!workspace.is_readonly"-->
<!-- class="sm:w-1/2 flex"-->
<!-- :form="props.form"-->
<!-- />-->

<url-form-prefill
class="sm:w-1/2"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<!-- <url-form-prefill-->
<!-- class="sm:w-1/2"-->
<!-- :form="props.form"-->
<!-- :extra-query-param="shareUrlForQueryParams"-->
<!-- />-->

<embed-form-as-popup-modal
class="sm:w-1/2 flex"
:form="props.form"
/>
</div>
<!-- <embed-form-as-popup-modal-->
<!-- class="sm:w-1/2 flex"-->
<!-- :form="props.form"-->
<!-- />-->
<!-- </div>-->

<share-link
class="mt-4"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>

<embed-code
class="mt-6"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>

<form-qr-code
class="mt-6"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<!-- <form-qr-code-->
<!-- class="mt-6"-->
<!-- :form="props.form"-->
<!-- :extra-query-param="shareUrlForQueryParams"-->
<!-- />-->

<advanced-form-url-settings
v-model="shareFormConfig"
:form="props.form"
/>
<!-- <advanced-form-url-settings-->
<!-- v-model="shareFormConfig"-->
<!-- :form="props.form"-->
<!-- />-->
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Remove commented component blocks and their corresponding imports.

Several components are commented out in the template but their imports are still present. Clean up the code by:

  1. Removing the commented component blocks
  2. Removing unused imports
-import FormQrCode from "~/components/pages/forms/show/FormQrCode.vue"
-import UrlFormPrefill from "~/components/pages/forms/show/UrlFormPrefill.vue"
-import RegenerateFormLink from "~/components/pages/forms/show/RegenerateFormLink.vue"
-import AdvancedFormUrlSettings from "~/components/open/forms/components/AdvancedFormUrlSettings.vue"
-import EmbedFormAsPopupModal from "~/components/pages/forms/show/EmbedFormAsPopupModal.vue"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<!-- <div class="mb-6 pb-6 border-b w-full flex flex-col sm:flex-row gap-2">-->
<!-- <regenerate-form-link-->
<!-- v-if="!workspace.is_readonly"-->
<!-- class="sm:w-1/2 flex"-->
<!-- :form="props.form"-->
<!-- />-->
<url-form-prefill
class="sm:w-1/2"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<!-- <url-form-prefill-->
<!-- class="sm:w-1/2"-->
<!-- :form="props.form"-->
<!-- :extra-query-param="shareUrlForQueryParams"-->
<!-- />-->
<embed-form-as-popup-modal
class="sm:w-1/2 flex"
:form="props.form"
/>
</div>
<!-- <embed-form-as-popup-modal-->
<!-- class="sm:w-1/2 flex"-->
<!-- :form="props.form"-->
<!-- />-->
<!-- </div>-->
<share-link
class="mt-4"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<embed-code
class="mt-6"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<form-qr-code
class="mt-6"
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<!-- <form-qr-code-->
<!-- class="mt-6"-->
<!-- :form="props.form"-->
<!-- :extra-query-param="shareUrlForQueryParams"-->
<!-- />-->
<advanced-form-url-settings
v-model="shareFormConfig"
:form="props.form"
/>
<!-- <advanced-form-url-settings-->
<!-- v-model="shareFormConfig"-->
<!-- :form="props.form"-->
<!-- />-->
<share-link
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>
<embed-code
:form="props.form"
:extra-query-param="shareUrlForQueryParams"
/>

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.

1 participant