Skip to content

fix: data collection for headless router #9183

Merged
CarinaWolli merged 13 commits into
mainfrom
fix/reporting-for-headless-router
Aug 23, 2023
Merged

fix: data collection for headless router #9183
CarinaWolli merged 13 commits into
mainfrom
fix/reporting-for-headless-router

Conversation

@hariombalhara
Copy link
Copy Markdown
Member

@hariombalhara hariombalhara commented May 29, 2023

What does this PR do?

  • Headless Router(/router?form={FORM_ID}) was just doing the routing but not collecting the form responses. This PR fixes that
  • Comma separated strings were supported for Routing Forms prefill and Headless router but they weren't working correctly. It's fixed now.

Demo showing Headless router collects data now

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

  • Create a Routing Form with different types of fields and see that reporting shows the collected data
  • Create a Routing Form with different types of fields and see that routing is working with all types of fields.

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works
  • I haven't checked if new and existing unit tests pass locally with my changes

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 10:42am
cal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 10:42am
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 10:42am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Aug 23, 2023 10:42am
qa ⬜️ Ignored (Inspect) Visit Preview Aug 23, 2023 10:42am
ui ⬜️ Ignored (Inspect) Visit Preview Aug 23, 2023 10:42am

@hariombalhara hariombalhara changed the title Fix operators for number Fix data collection for headless router May 30, 2023
@hariombalhara hariombalhara force-pushed the fix/number-type-operators branch 3 times, most recently from 53ec285 to 2df59f3 Compare May 30, 2023 08:05
@PeerRich PeerRich changed the title Fix data collection for headless router fix: data collection for headless router May 30, 2023
@PeerRich PeerRich added the 🧹 Improvements Improvements to existing features. Mostly UX/UI label May 30, 2023
@hariombalhara hariombalhara force-pushed the fix/number-type-operators branch from 2df59f3 to f17c068 Compare May 30, 2023 09:57
Base automatically changed from fix/number-type-operators to main June 1, 2023 20:41
@github-actions
Copy link
Copy Markdown
Contributor

This PR is being marked as stale due to inactivity.

@github-actions github-actions Bot added the Stale label Jun 30, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 7, 2023

This PR is being closed due to inactivity. Please reopen if work is intended to be continued.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 10, 2023

Thank you for following the naming conventions! 🙏

@hariombalhara
Copy link
Copy Markdown
Member Author

It's an important PR. Will work on it one high priority things are done

@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous Bot commented Aug 3, 2023

🤖 Meticulous spotted visual differences in 53 of 174 screens tested: view and approve differences detected.

Last updated for commit ac26aab. This comment will update as new commits are pushed.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 3, 2023

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 155.33 KB (🟡 +580 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/apps/[slug]/[...pages] 537.51 KB 692.84 KB 197.95% (🟡 +5.36%)
/settings/admin/users/[id]/edit 384.92 KB 540.25 KB 154.36% (🟡 +13.06%)
/settings/admin/users/add 384.59 KB 539.92 KB 154.26% (🟡 +13.06%)
/settings/my-account/general 381.48 KB 536.81 KB 153.37% (🟡 +12.88%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@PeerRich PeerRich added Low priority Created by Linear-GitHub Sync routing-forms area: routing forms, routing, forms labels Aug 14, 2023
hariombalhara and others added 3 commits August 16, 2023 13:30
Co-authored-by: Wesley <100464352+ologbonowiwi@users.noreply.github.com>
Co-authored-by: Wesley <100464352+ologbonowiwi@users.noreply.github.com>
@hariombalhara
Copy link
Copy Markdown
Member Author

Thanks for the review @ologbonowiwi. Accepted your suggestions 🙏

Copy link
Copy Markdown
Member

@CarinaWolli CarinaWolli left a comment

Choose a reason for hiding this comment

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

Works and code looks good 👏🏻

@CarinaWolli CarinaWolli merged commit d3acf41 into main Aug 23, 2023
@CarinaWolli CarinaWolli deleted the fix/reporting-for-headless-router branch August 23, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only 🧹 Improvements Improvements to existing features. Mostly UX/UI Low priority Created by Linear-GitHub Sync routing-forms area: routing forms, routing, forms

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants