six-degrees 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +1 -0
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/prerender-manifest.json +35 -7
- package/.next/standalone/.next/required-server-files.json +6 -1
- package/.next/standalone/.next/routes-manifest.json +18 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +11 -11
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +10 -10
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/admin-delete/route.js +1 -1
- package/.next/standalone/.next/server/app/api/admin-delete/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/admin-update/route.js +1 -1
- package/.next/standalone/.next/server/app/api/admin-update/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/bridges/route.js +1 -1
- package/.next/standalone/.next/server/app/api/bridges/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/bulk-import/route.js +1 -1
- package/.next/standalone/.next/server/app/api/bulk-import/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/company-scores/legacy/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/company-scores/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/connections/route.js +1 -1
- package/.next/standalone/.next/server/app/api/connections/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/data/export/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/data/import/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/data/restart/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/data/reveal/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/data/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/delete-cluster/route.js +1 -1
- package/.next/standalone/.next/server/app/api/delete-cluster/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ingest/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ingest/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/route.js +1 -1
- package/.next/standalone/.next/server/app/api/network/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/outreach/route.js +3 -3
- package/.next/standalone/.next/server/app/api/outreach/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/queue/route.js +1 -1
- package/.next/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/scraper/route.js +1 -1
- package/.next/standalone/.next/server/app/api/scraper/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/settings/sector-preview/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/settings/sector-suggestions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/setup-profile/route.js +1 -1
- package/.next/standalone/.next/server/app/api/setup-profile/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/unlock/route.js +1 -1
- package/.next/standalone/.next/server/app/api/unlock/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/update/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/update-images/route.js +1 -1
- package/.next/standalone/.next/server/app/api/update-images/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/users/route.js +1 -1
- package/.next/standalone/.next/server/app/api/users/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/avatars/[file]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/import/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/import/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/import.html +1 -1
- package/.next/standalone/.next/server/app/import.rsc +13 -13
- package/.next/standalone/.next/server/app/import.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/import.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/import.segments/import/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +13 -13
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/launch/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/launch/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/launch.html +2 -2
- package/.next/standalone/.next/server/app/launch.rsc +13 -13
- package/.next/standalone/.next/server/app/launch.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/launch.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/launch.segments/launch/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/paths/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/paths/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/paths.html +1 -1
- package/.next/standalone/.next/server/app/paths.rsc +13 -13
- package/.next/standalone/.next/server/app/paths.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/paths.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/paths.segments/paths/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/profile/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/profile/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/profile.html +1 -1
- package/.next/standalone/.next/server/app/profile.rsc +13 -13
- package/.next/standalone/.next/server/app/profile.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/profile.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/queue/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/queue/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/queue.html +1 -1
- package/.next/standalone/.next/server/app/queue.rsc +13 -13
- package/.next/standalone/.next/server/app/queue.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/queue.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/queue.segments/queue/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/scores/page/app-paths-manifest.json +3 -0
- package/.next/standalone/.next/server/app/scores/page/build-manifest.json +20 -0
- package/.next/standalone/.next/server/app/scores/page/next-font-manifest.json +11 -0
- package/.next/standalone/.next/server/app/scores/page/react-loadable-manifest.json +1 -0
- package/.next/standalone/.next/server/app/scores/page/server-reference-manifest.json +4 -0
- package/.next/standalone/.next/server/app/scores/page.js +13 -0
- package/.next/standalone/.next/server/app/scores/page.js.map +5 -0
- package/.next/standalone/.next/server/app/scores/page.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/scores/page_client-reference-manifest.js +3 -0
- package/.next/standalone/.next/server/app/scores.html +1 -0
- package/.next/standalone/.next/server/app/scores.meta +26 -0
- package/.next/standalone/.next/server/app/scores.rsc +24 -0
- package/.next/standalone/.next/server/app/scores.segments/_full.segment.rsc +24 -0
- package/.next/standalone/.next/server/app/scores.segments/_tree.segment.rsc +4 -0
- package/.next/standalone/.next/server/app/scores.segments/scores/__PAGE__.segment.rsc +28 -0
- package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +13 -13
- package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/setup.html +1 -1
- package/.next/standalone/.next/server/app/setup.rsc +13 -13
- package/.next/standalone/.next/server/app/setup.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +12 -12
- package/.next/standalone/.next/server/app-paths-manifest.json +1 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0-rnla2._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__00la_y0._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0i5hdu4._.js → [root-of-the-server]__03ydxxh._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__07t47cm._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0bat8nx._.js +8 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0cj5jqc._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0e0fei3._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ljcioj._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ljnyho._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0o5-tcg._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0qrnous._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0t3v1a1._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0uag-k5._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0um1uey._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0wmexuc._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0xu34sz._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__133knx1._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__14ou7j5._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__15-17hl._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__16iu0hv._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__19b7mig._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1bbcwub._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1eris29._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1gjo_cq._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1kbl21f._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1qcm08_._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1rphsdk._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1w25q0m._.js +1 -1
- package/.next/standalone/.next/server/chunks/_02twlca._.js +10 -0
- package/.next/standalone/.next/server/chunks/_072jl0y._.js +1 -1
- package/.next/standalone/.next/server/chunks/_0lw8_i0._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1_fynia._.js +8 -6
- package/.next/standalone/.next/server/chunks/_1fn30_l._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1itd1o_._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1iwkh8t._.js +1 -1
- package/.next/standalone/.next/server/chunks/lib_db-client_15le7cw.js +13 -8
- package/.next/standalone/.next/server/chunks/{lib_rpc_02ndsg2.js → lib_rpc_03i8xef.js} +1 -1
- package/.next/standalone/.next/server/chunks/{lib_rpc_08q5vp6.js → lib_rpc_08fc3rp.js} +1 -1
- package/.next/standalone/.next/server/chunks/{lib_rpc_00tx2sm.js → lib_rpc_08r2t_q.js} +1 -1
- package/.next/standalone/.next/server/chunks/{lib_rpc_02-qa4d.js → lib_rpc_0btpv1t.js} +1 -1
- package/.next/standalone/.next/server/chunks/lib_rpc_0c9d9ti.js +5 -5
- package/.next/standalone/.next/server/chunks/lib_rpc_0cm2ev3.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_0iovswz.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_0is8flp.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_0v8ajtd.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_0xgmvvt.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_144mzbf.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_1bggi0n.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_1dkcu9f.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_rpc_1o0jb6w.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0an6blh._.js → [root-of-the-server]__0zzcbqg._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1194jps._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1z1j3ek._.js → [root-of-the-server]__19ip1qq._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_01f38ty._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_06w_gl4._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0hw_qnj._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_13kzrwv._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_15xuwkv._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1cyxocj._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1gpbbw9._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1hgd5dp._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1vpfyd-._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_20w06i-._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_next-internal_server_app_scores_page_actions_0x-w58n.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/app_components_settings_SectorPicker_1c-29qw.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/app_launch_page_19t0dyd.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_page_1fazqbf.js +11 -9
- package/.next/standalone/.next/server/chunks/ssr/app_paths_page_1ol90m7.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/app_profile_page_0u3-l5y.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_queue_page_0c6znd6.js +5 -5
- package/.next/standalone/.next/server/chunks/ssr/app_scores_page_09wepvv.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/app_settings_page_1f8mjj_.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_setup_page_1-282zx.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/lib_1bn38gs._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_0x3i8za._.js +131 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_next_dist_1bunoni._.js → node_modules_next_dist_1v8aef8._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_server-async-storage_0t1dato.js +3 -0
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/.next/server/next-font-manifest.js +1 -1
- package/.next/standalone/.next/server/next-font-manifest.json +4 -0
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/prefetch-hints.json +14 -0
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/0ax_9zzboyv6d.js +44 -0
- package/.next/standalone/.next/static/chunks/0cuuo2jwc9h94.js +1 -0
- package/.next/standalone/.next/static/chunks/0l1568qff0efj.js +1 -0
- package/.next/standalone/.next/static/chunks/0muwt9bykzr-1.js +1 -0
- package/.next/standalone/.next/static/chunks/0w76iraw7ij3k.js +18 -0
- package/.next/standalone/.next/static/chunks/135n87ydxjrra.js +2 -0
- package/.next/standalone/.next/static/chunks/18xu0fbgo_qz-.js +1 -0
- package/.next/standalone/.next/static/chunks/28bu26ausqzmn.js +1 -0
- package/.next/standalone/.next/static/chunks/{40nvbgfn7-072.css → 2p6o90z0vgcwr.css} +1 -1
- package/.next/standalone/.next/static/chunks/2pnbm1z6j7xab.js +1 -0
- package/.next/standalone/.next/static/chunks/2xjho0lroiwlq.js +1 -0
- package/.next/standalone/.next/static/chunks/3e8zg6ctvvb8p.js +33 -0
- package/.next/standalone/.next/static/chunks/3qh78g2aqhprd.js +2 -0
- package/.next/standalone/CHANGELOG.md +286 -0
- package/.next/standalone/CONTRIBUTING.md +15 -4
- package/.next/standalone/README.md +50 -29
- package/.next/standalone/SECURITY.md +10 -0
- package/.next/standalone/app/api/company-scores/legacy/route.js +1 -1
- package/.next/standalone/app/api/company-scores/route.js +1 -1
- package/.next/standalone/app/api/ingest/route.js +23 -2
- package/.next/standalone/app/api/outreach/route.js +107 -44
- package/.next/standalone/app/api/scraper/route.js +146 -17
- package/.next/standalone/app/api/settings/sector-preview/route.js +3 -2
- package/.next/standalone/app/api/settings/sector-suggestions/route.js +1 -1
- package/.next/standalone/app/api/update-images/route.js +41 -7
- package/.next/standalone/app/avatars/[file]/route.js +6 -1
- package/.next/standalone/app/components/Avatar.js +5 -2
- package/.next/standalone/app/components/ChainView.js +659 -469
- package/.next/standalone/app/components/CompanyScores.js +16 -10
- package/.next/standalone/app/components/EmptyState.js +1 -1
- package/.next/standalone/app/components/FieldStep.js +94 -0
- package/.next/standalone/app/components/ForceGraph.js +183 -768
- package/.next/standalone/app/components/GridView.js +9 -7
- package/.next/standalone/app/components/LegacyScoresCard.js +1 -1
- package/.next/standalone/app/components/LinkedInLimits.js +22 -7
- package/.next/standalone/app/components/ListView.js +6 -4
- package/.next/standalone/app/components/MappingProgress.js +5 -6
- package/.next/standalone/app/components/OnboardingGate.js +1 -1
- package/.next/standalone/app/components/OrbitGraph.js +33 -1
- package/.next/standalone/app/components/OutlinkQuest.js +5 -4
- package/.next/standalone/app/components/PathsAnalyzer.js +1 -1
- package/.next/standalone/app/components/RingsView.js +9 -8
- package/.next/standalone/app/components/SeparationView.js +96 -14
- package/.next/standalone/app/components/Sidebar.js +366 -287
- package/.next/standalone/app/components/TheirCircle.js +300 -0
- package/.next/standalone/app/components/settings/SectorPicker.js +202 -0
- package/.next/standalone/app/components/settings/SectorSection.js +21 -195
- package/.next/standalone/app/components/settings/TierSection.js +99 -0
- package/.next/standalone/app/components/useRequests.js +12 -0
- package/.next/standalone/app/components/useScanner.js +13 -0
- package/.next/standalone/app/components/views.js +3 -5
- package/.next/standalone/app/globals.css +7 -0
- package/.next/standalone/app/launch/page.js +6 -3
- package/.next/standalone/app/page.js +183 -74
- package/.next/standalone/app/paths/page.js +20 -14
- package/.next/standalone/app/profile/page.js +3 -3
- package/.next/standalone/app/queue/page.js +56 -60
- package/.next/standalone/app/scores/page.js +72 -0
- package/.next/standalone/app/settings/page.js +15 -3
- package/.next/standalone/app/setup/page.js +423 -260
- package/.next/standalone/db/schema.js +2 -1
- package/.next/standalone/eslint.config.mjs +3 -3
- package/.next/standalone/install.sh +3 -3
- package/.next/standalone/lib/chain-layout.js +139 -0
- package/.next/standalone/lib/circle.js +169 -0
- package/.next/standalone/lib/companies.js +1 -1
- package/.next/standalone/lib/csv.js +21 -10
- package/.next/standalone/lib/data-export.js +2 -1
- package/.next/standalone/lib/data-folder.js +4 -2
- package/.next/standalone/lib/db-client.js +1 -0
- package/.next/standalone/lib/galaxy.js +12 -0
- package/.next/standalone/lib/ingest.js +27 -8
- package/.next/standalone/lib/legacy-offer.js +7 -6
- package/.next/standalone/lib/legacy-scores.js +2 -2
- package/.next/standalone/lib/linkedin-limits.js +30 -8
- package/.next/standalone/lib/photos.js +47 -0
- package/.next/standalone/lib/quest.js +8 -3
- package/.next/standalone/lib/rarity.js +80 -0
- package/.next/standalone/lib/reach.js +113 -0
- package/.next/standalone/lib/requests-client.js +113 -0
- package/.next/standalone/lib/rpc.js +26 -15
- package/.next/standalone/lib/scan-state.js +1 -0
- package/.next/standalone/lib/scanner-setup.js +20 -1
- package/.next/standalone/lib/score-guess.js +60 -0
- package/.next/standalone/lib/scoring.js +1761 -69
- package/.next/standalone/lib/scraper-client.js +235 -17
- package/.next/standalone/lib/sector-directory.js +1 -1
- package/.next/standalone/lib/sector-focus.js +17 -3
- package/.next/standalone/lib/separation.js +4 -2
- package/.next/standalone/lib/settings-client.js +21 -0
- package/.next/standalone/lib/settings-effects.js +19 -1
- package/.next/standalone/lib/settings.js +7 -2
- package/.next/standalone/next.config.mjs +25 -3
- package/.next/standalone/package-lock.json +2 -2
- package/.next/standalone/package.json +2 -2
- package/.next/standalone/public/demo-data.json +1 -1
- package/.next/standalone/scripts/build-app.mjs +11 -2
- package/.next/standalone/scripts/check-node.mjs +1 -1
- package/.next/standalone/scripts/gen-synthetic.mjs +1 -1
- package/.next/standalone/scripts/image_store.py +77 -21
- package/.next/standalone/scripts/scrape.py +305 -29
- package/.next/standalone/server.js +1 -1
- package/.next/static/chunks/0ax_9zzboyv6d.js +44 -0
- package/.next/static/chunks/0cuuo2jwc9h94.js +1 -0
- package/.next/static/chunks/0l1568qff0efj.js +1 -0
- package/.next/static/chunks/0muwt9bykzr-1.js +1 -0
- package/.next/static/chunks/0w76iraw7ij3k.js +18 -0
- package/.next/static/chunks/135n87ydxjrra.js +2 -0
- package/.next/static/chunks/18xu0fbgo_qz-.js +1 -0
- package/.next/static/chunks/28bu26ausqzmn.js +1 -0
- package/.next/static/chunks/{40nvbgfn7-072.css → 2p6o90z0vgcwr.css} +1 -1
- package/.next/static/chunks/2pnbm1z6j7xab.js +1 -0
- package/.next/static/chunks/2xjho0lroiwlq.js +1 -0
- package/.next/static/chunks/3e8zg6ctvvb8p.js +33 -0
- package/.next/static/chunks/3qh78g2aqhprd.js +2 -0
- package/CHANGELOG.md +286 -0
- package/README.md +50 -29
- package/SECURITY.md +10 -0
- package/db/schema.js +2 -1
- package/lib/chain-layout.js +139 -0
- package/lib/circle.js +169 -0
- package/lib/companies.js +1 -1
- package/lib/csv.js +21 -10
- package/lib/data-export.js +2 -1
- package/lib/data-folder.js +4 -2
- package/lib/db-client.js +1 -0
- package/lib/galaxy.js +12 -0
- package/lib/ingest.js +27 -8
- package/lib/legacy-offer.js +7 -6
- package/lib/legacy-scores.js +2 -2
- package/lib/linkedin-limits.js +30 -8
- package/lib/photos.js +47 -0
- package/lib/quest.js +8 -3
- package/lib/rarity.js +80 -0
- package/lib/reach.js +113 -0
- package/lib/requests-client.js +113 -0
- package/lib/rpc.js +26 -15
- package/lib/scan-state.js +1 -0
- package/lib/scanner-setup.js +20 -1
- package/lib/score-guess.js +60 -0
- package/lib/scoring.js +1761 -69
- package/lib/scraper-client.js +235 -17
- package/lib/sector-directory.js +1 -1
- package/lib/sector-focus.js +17 -3
- package/lib/separation.js +4 -2
- package/lib/settings-client.js +21 -0
- package/lib/settings-effects.js +19 -1
- package/lib/settings.js +7 -2
- package/package.json +2 -2
- package/public/demo-data.json +1 -1
- package/scripts/check-node.mjs +1 -1
- package/scripts/image_store.py +77 -21
- package/scripts/scrape.py +305 -29
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1t3rugi._.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_0_8i3ft.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_0huvw-3.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_0ip2vdh.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_0jzisgh.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_0yi9xvd.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_1jyhd0o.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_1kn59-i.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_1q2jkza.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_1vpm1sk.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_rpc_1x6p_31.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_07u8byv._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_08r_mlf._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0942v8n._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0hl_t7r._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0tb83dw._.js +0 -132
- package/.next/standalone/.next/server/chunks/ssr/_1-87bs1._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_17gui6a._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/lib_0i8v-s3._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_16vay6l._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_1kciwn4._.js +0 -3
- package/.next/standalone/.next/static/chunks/06x3jiiz96m5t.js +0 -1
- package/.next/standalone/.next/static/chunks/08k1crid-05dt.js +0 -1
- package/.next/standalone/.next/static/chunks/0ngx9s6-zgshe.js +0 -33
- package/.next/standalone/.next/static/chunks/0q-_khndfxubv.js +0 -2
- package/.next/standalone/.next/static/chunks/1c79veqedvubt.js +0 -1
- package/.next/standalone/.next/static/chunks/1chp3nx45meg5.js +0 -44
- package/.next/standalone/.next/static/chunks/1irqj0lf-fu3d.js +0 -1
- package/.next/standalone/.next/static/chunks/1uadqylrod5_v.js +0 -1
- package/.next/standalone/.next/static/chunks/23u0zclgwpc4d.js +0 -1
- package/.next/standalone/.next/static/chunks/289ktj97di6zg.js +0 -1
- package/.next/standalone/.next/static/chunks/2b3lmf8e6uj8m.js +0 -16
- package/.next/standalone/.next/static/chunks/3npq5yd7c4dmn.js +0 -2
- package/.next/standalone/app/components/BridgeRing.js +0 -753
- package/.next/static/chunks/06x3jiiz96m5t.js +0 -1
- package/.next/static/chunks/08k1crid-05dt.js +0 -1
- package/.next/static/chunks/0ngx9s6-zgshe.js +0 -33
- package/.next/static/chunks/0q-_khndfxubv.js +0 -2
- package/.next/static/chunks/1c79veqedvubt.js +0 -1
- package/.next/static/chunks/1chp3nx45meg5.js +0 -44
- package/.next/static/chunks/1irqj0lf-fu3d.js +0 -1
- package/.next/static/chunks/1uadqylrod5_v.js +0 -1
- package/.next/static/chunks/23u0zclgwpc4d.js +0 -1
- package/.next/static/chunks/289ktj97di6zg.js +0 -1
- package/.next/static/chunks/2b3lmf8e6uj8m.js +0 -16
- package/.next/static/chunks/3npq5yd7c4dmn.js +0 -2
- /package/.next/standalone/.next/static/{qqqcxvzBUizkECrT4swyK → WseE_5HuU-1q0ywC9CP3U}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{qqqcxvzBUizkECrT4swyK → WseE_5HuU-1q0ywC9CP3U}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{qqqcxvzBUizkECrT4swyK → WseE_5HuU-1q0ywC9CP3U}/_ssgManifest.js +0 -0
- /package/.next/static/{qqqcxvzBUizkECrT4swyK → WseE_5HuU-1q0ywC9CP3U}/_buildManifest.js +0 -0
- /package/.next/static/{qqqcxvzBUizkECrT4swyK → WseE_5HuU-1q0ywC9CP3U}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{qqqcxvzBUizkECrT4swyK → WseE_5HuU-1q0ywC9CP3U}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
3
|
+
import { useEffect, useMemo, useState } from 'react';
|
|
4
4
|
import { loadNetwork } from '../../lib/network';
|
|
5
5
|
import { IS_DEMO } from '../../lib/demo';
|
|
6
6
|
import OutlinkQuest from '../components/OutlinkQuest';
|
|
@@ -8,6 +8,12 @@ import OnboardingGate from '../components/OnboardingGate';
|
|
|
8
8
|
import { useUser } from '../components/UserProvider';
|
|
9
9
|
import { rowCompanyScore, TOP_COMPANY } from '../../lib/scoring';
|
|
10
10
|
import Link from 'next/link';
|
|
11
|
+
import useRequests from '../components/useRequests';
|
|
12
|
+
import { hasRequest, markRequested, undoRequest } from '../../lib/requests-client';
|
|
13
|
+
import { keyFor } from '../../lib/separation';
|
|
14
|
+
import { localPhoto } from '../../lib/photos';
|
|
15
|
+
import { reachIndex } from '../../lib/reach';
|
|
16
|
+
import { loadScanNotes } from '../../lib/scraper-client';
|
|
11
17
|
|
|
12
18
|
const TIER_COLORS = { S: '#FFD700', A: '#9B59B6', B: '#3498DB', C: '#95A5A6', D: '#BDC3C7' };
|
|
13
19
|
|
|
@@ -38,12 +44,18 @@ function QueueInner() {
|
|
|
38
44
|
const [loading, setLoading] = useState(true);
|
|
39
45
|
const [filter, setFilter] = useState('all');
|
|
40
46
|
const [selected, setSelected] = useState(new Set());
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
// Requests out come from the one list every view shares (lib/requests-client.js),
|
|
48
|
+
// per person, so a request sent on the map shows here and one sent here shows
|
|
49
|
+
// there. What this page loads is only the rows to draw them with.
|
|
50
|
+
const requests = useRequests();
|
|
51
|
+
const [serverPending, setServerPending] = useState([]);
|
|
52
|
+
const [bridgeById, setBridgeById] = useState({});
|
|
43
53
|
// Circles is the game (lib/quest.js); the list and Pending are still here.
|
|
44
54
|
const [view, setView] = useState('quest'); // quest | recs | pending
|
|
45
55
|
const [added, setAdded] = useState([]);
|
|
46
56
|
const [mappedIds, setMappedIds] = useState(() => new Set());
|
|
57
|
+
// Whose circle can be scanned next, hidden lists known (lib/reach.js).
|
|
58
|
+
const [reach, setReach] = useState(null);
|
|
47
59
|
const [bridgeFilter, setBridgeFilter] = useState(null);
|
|
48
60
|
|
|
49
61
|
// Default to bridge view — shows D1 person → their D2 people
|
|
@@ -68,25 +80,22 @@ function QueueInner() {
|
|
|
68
80
|
if (IS_DEMO) return;
|
|
69
81
|
if (!userId) return;
|
|
70
82
|
async function load() {
|
|
71
|
-
const [net, pendingRes] = await Promise.all([
|
|
83
|
+
const [net, pendingRes, notes] = await Promise.all([
|
|
72
84
|
loadNetwork(userId),
|
|
73
85
|
fetch(`/api/outreach?userId=${userId}`).then(r => r.json()).catch(() => ({ pending: [] })),
|
|
86
|
+
loadScanNotes(),
|
|
74
87
|
]);
|
|
75
88
|
const d1 = net.degree1;
|
|
76
89
|
const d2 = net.degree2;
|
|
77
90
|
setAdded(d1.filter(c => c.unlocked_from_bridge_id));
|
|
78
91
|
setMappedIds(new Set(d2.map(c => c.source_connection_id).filter(Boolean)));
|
|
92
|
+
setReach(reachIndex(d1, d2, notes));
|
|
79
93
|
const d1Urls = new Set(d1.map(c => c.profile_url));
|
|
80
94
|
const bridgeById = {};
|
|
81
95
|
d1.forEach(c => { bridgeById[c.id] = c; });
|
|
82
96
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
setSentIds(sentSet);
|
|
86
|
-
setPendingList((pendingRes.pending || []).map(p => ({
|
|
87
|
-
...p,
|
|
88
|
-
bridge: bridgeById[p.source_connection_id] || null,
|
|
89
|
-
})));
|
|
97
|
+
setServerPending(pendingRes.pending || []);
|
|
98
|
+
setBridgeById(bridgeById);
|
|
90
99
|
|
|
91
100
|
const recommendations = d2
|
|
92
101
|
.filter(c => (c.tier === 'S' || c.tier === 'A' || c.tier === 'B') && !d1Urls.has(c.profile_url))
|
|
@@ -104,6 +113,24 @@ function QueueInner() {
|
|
|
104
113
|
load();
|
|
105
114
|
}, [userId]);
|
|
106
115
|
|
|
116
|
+
// Every row of anyone with a request out (a person's copies all count), and
|
|
117
|
+
// the people themselves, once each, for the Pending tab.
|
|
118
|
+
const sentIds = useMemo(
|
|
119
|
+
() => new Set([...serverPending, ...recs].filter((r) => hasRequest(r, requests)).map((r) => r.id)),
|
|
120
|
+
[serverPending, recs, requests],
|
|
121
|
+
);
|
|
122
|
+
const pendingList = useMemo(() => {
|
|
123
|
+
const seen = new Set();
|
|
124
|
+
const out = [];
|
|
125
|
+
for (const r of [...serverPending, ...recs]) {
|
|
126
|
+
const key = keyFor(r);
|
|
127
|
+
if (seen.has(key) || !hasRequest(r, requests)) continue;
|
|
128
|
+
seen.add(key);
|
|
129
|
+
out.push({ ...r, bridge: bridgeById[r.source_connection_id] || r.bridge || null });
|
|
130
|
+
}
|
|
131
|
+
return out;
|
|
132
|
+
}, [serverPending, recs, requests, bridgeById]);
|
|
133
|
+
|
|
107
134
|
// Demo builds: this page is excluded from the public demo
|
|
108
135
|
if (IS_DEMO) {
|
|
109
136
|
return (
|
|
@@ -303,22 +330,9 @@ function QueueInner() {
|
|
|
303
330
|
sentIds={sentIds}
|
|
304
331
|
added={added}
|
|
305
332
|
mappedIds={mappedIds}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
body: JSON.stringify({ action: 'mark-sent', connectionId: r.id, profileUrl: r.profile_url, userId }) });
|
|
310
|
-
setSentIds(prev => new Set([...prev, r.id]));
|
|
311
|
-
setPendingList(prev => (prev.some(x => x.id === r.id) ? prev : [...prev, r]));
|
|
312
|
-
} catch {}
|
|
313
|
-
}}
|
|
314
|
-
onUndo={async (r) => {
|
|
315
|
-
try {
|
|
316
|
-
await fetch('/api/outreach', { method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
317
|
-
body: JSON.stringify({ action: 'undo', connectionId: r.id, userId }) });
|
|
318
|
-
setSentIds(prev => { const next = new Set(prev); next.delete(r.id); return next; });
|
|
319
|
-
setPendingList(prev => prev.filter(x => x.id !== r.id));
|
|
320
|
-
} catch {}
|
|
321
|
-
}}
|
|
333
|
+
reach={reach}
|
|
334
|
+
onSend={(r) => markRequested(r, { bridgeId: r.source_connection_id }).catch(() => {})}
|
|
335
|
+
onUndo={(r) => undoRequest(r).catch(() => {})}
|
|
322
336
|
/>
|
|
323
337
|
</div>
|
|
324
338
|
)}
|
|
@@ -349,8 +363,8 @@ function QueueInner() {
|
|
|
349
363
|
border: '1px solid rgba(255,107,53,0.1)',
|
|
350
364
|
}}>
|
|
351
365
|
{/* Photo */}
|
|
352
|
-
{p.profile_image_url ? (
|
|
353
|
-
<img src={p.profile_image_url} alt="" style={{
|
|
366
|
+
{localPhoto(p.profile_image_url) ? (
|
|
367
|
+
<img src={localPhoto(p.profile_image_url)} alt="" style={{
|
|
354
368
|
width: 36, height: 36, borderRadius: '50%', objectFit: 'cover', flexShrink: 0,
|
|
355
369
|
border: `2px solid ${TIER_COLORS[p.tier] || '#555'}`,
|
|
356
370
|
}} onError={e => { e.target.style.display = 'none'; }} />
|
|
@@ -391,14 +405,7 @@ function QueueInner() {
|
|
|
391
405
|
style={{ padding: '4px 8px', borderRadius: 4, fontSize: 9, fontWeight: 700, background: '#0077B5', color: '#fff', textDecoration: 'none' }}>
|
|
392
406
|
View
|
|
393
407
|
</a>
|
|
394
|
-
<button onClick={
|
|
395
|
-
await fetch('/api/outreach', {
|
|
396
|
-
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
397
|
-
body: JSON.stringify({ action: 'undo', connectionId: p.id }),
|
|
398
|
-
});
|
|
399
|
-
setPendingList(prev => prev.filter(x => x.id !== p.id));
|
|
400
|
-
setSentIds(prev => { const next = new Set(prev); next.delete(p.id); return next; });
|
|
401
|
-
}} style={{
|
|
408
|
+
<button onClick={() => { undoRequest(p).catch(() => {}); }} style={{
|
|
402
409
|
padding: '4px 8px', borderRadius: 4, fontSize: 9, fontWeight: 600,
|
|
403
410
|
background: 'rgba(255,255,255,0.06)', color: '#666', border: 'none', cursor: 'pointer',
|
|
404
411
|
}}>Undo</button>
|
|
@@ -437,8 +444,8 @@ function QueueInner() {
|
|
|
437
444
|
border: `1px solid ${TIER_COLORS[bridge.tier] || '#555'}20`,
|
|
438
445
|
}}>
|
|
439
446
|
<div style={{ display: 'flex', alignItems: 'center', gap: 10 }}>
|
|
440
|
-
{bridge.profile_image_url ? (
|
|
441
|
-
<img src={bridge.profile_image_url} alt="" style={{
|
|
447
|
+
{localPhoto(bridge.profile_image_url) ? (
|
|
448
|
+
<img src={localPhoto(bridge.profile_image_url)} alt="" style={{
|
|
442
449
|
width: 36, height: 36, borderRadius: '50%', objectFit: 'cover',
|
|
443
450
|
border: `2px solid ${TIER_COLORS[bridge.tier]}`,
|
|
444
451
|
}} onError={e => { e.target.style.display = 'none'; }} />
|
|
@@ -564,8 +571,8 @@ function QueueInner() {
|
|
|
564
571
|
<input type="checkbox" checked={selected.has(r.id)}
|
|
565
572
|
onChange={() => toggleSelect(r.id)} onClick={e => e.stopPropagation()}
|
|
566
573
|
style={{ cursor: 'pointer', flexShrink: 0 }} />
|
|
567
|
-
{r.profile_image_url ? (
|
|
568
|
-
<img src={r.profile_image_url} alt="" style={{
|
|
574
|
+
{localPhoto(r.profile_image_url) ? (
|
|
575
|
+
<img src={localPhoto(r.profile_image_url)} alt="" style={{
|
|
569
576
|
width: 28, height: 28, borderRadius: '50%', objectFit: 'cover', flexShrink: 0,
|
|
570
577
|
border: `1.5px solid ${TIER_COLORS[r.tier] || '#555'}`,
|
|
571
578
|
}} onError={e => { e.target.style.display = 'none'; }} />
|
|
@@ -585,13 +592,9 @@ function QueueInner() {
|
|
|
585
592
|
<span style={{ padding: '3px 6px', borderRadius: 3, fontSize: 8, fontWeight: 700, background: 'rgba(255,107,53,0.15)', color: '#FF6B35', flexShrink: 0 }}>Sent</span>
|
|
586
593
|
) : (
|
|
587
594
|
<a href={r.profile_url} target="_blank" rel="noopener noreferrer"
|
|
588
|
-
onClick={
|
|
595
|
+
onClick={(e) => {
|
|
589
596
|
e.stopPropagation();
|
|
590
|
-
|
|
591
|
-
await fetch('/api/outreach', { method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
592
|
-
body: JSON.stringify({ action: 'mark-sent', connectionId: r.id, profileUrl: r.profile_url }) });
|
|
593
|
-
setSentIds(prev => new Set([...prev, r.id]));
|
|
594
|
-
} catch {}
|
|
597
|
+
markRequested(r, { bridgeId: r.source_connection_id }).catch(() => {});
|
|
595
598
|
}}
|
|
596
599
|
style={{ padding: '3px 6px', borderRadius: 3, fontSize: 8, fontWeight: 700, background: '#0077B5', color: '#fff', textDecoration: 'none', flexShrink: 0 }}>Add</a>
|
|
597
600
|
)}
|
|
@@ -615,8 +618,8 @@ function QueueInner() {
|
|
|
615
618
|
style={{ cursor: 'pointer', flexShrink: 0 }} />
|
|
616
619
|
|
|
617
620
|
{/* Photo */}
|
|
618
|
-
{r.profile_image_url ? (
|
|
619
|
-
<img src={r.profile_image_url} alt="" style={{
|
|
621
|
+
{localPhoto(r.profile_image_url) ? (
|
|
622
|
+
<img src={localPhoto(r.profile_image_url)} alt="" style={{
|
|
620
623
|
width: 32, height: 32, borderRadius: '50%', objectFit: 'cover', flexShrink: 0,
|
|
621
624
|
border: `1.5px solid ${TIER_COLORS[r.tier] || '#555'}`,
|
|
622
625
|
}} onError={e => { e.target.style.display = 'none'; e.target.nextSibling.style.display = 'flex'; }} />
|
|
@@ -624,7 +627,7 @@ function QueueInner() {
|
|
|
624
627
|
<div style={{
|
|
625
628
|
width: 32, height: 32, borderRadius: '50%', flexShrink: 0, fontSize: 12, fontWeight: 700,
|
|
626
629
|
background: TIER_COLORS[r.tier] || '#555', color: r.tier === 'S' ? '#000' : '#fff',
|
|
627
|
-
display: r.profile_image_url ? 'none' : 'flex', alignItems: 'center', justifyContent: 'center',
|
|
630
|
+
display: localPhoto(r.profile_image_url) ? 'none' : 'flex', alignItems: 'center', justifyContent: 'center',
|
|
628
631
|
}}>{r.name?.charAt(0)}</div>
|
|
629
632
|
|
|
630
633
|
{/* Info */}
|
|
@@ -659,17 +662,10 @@ function QueueInner() {
|
|
|
659
662
|
}}>⏳ Sent</span>
|
|
660
663
|
) : (
|
|
661
664
|
<a href={r.profile_url} target="_blank" rel="noopener noreferrer"
|
|
662
|
-
onClick={
|
|
665
|
+
onClick={(e) => {
|
|
663
666
|
e.stopPropagation();
|
|
664
|
-
//
|
|
665
|
-
|
|
666
|
-
await fetch('/api/outreach', {
|
|
667
|
-
method: 'POST',
|
|
668
|
-
headers: { 'Content-Type': 'application/json' },
|
|
669
|
-
body: JSON.stringify({ action: 'mark-sent', connectionId: r.id, profileUrl: r.profile_url }),
|
|
670
|
-
});
|
|
671
|
-
setSentIds(prev => new Set([...prev, r.id]));
|
|
672
|
-
} catch {}
|
|
667
|
+
// Opens LinkedIn, and marks the request sent everywhere.
|
|
668
|
+
markRequested(r, { bridgeId: r.source_connection_id }).catch(() => {});
|
|
673
669
|
}}
|
|
674
670
|
style={{
|
|
675
671
|
padding: '4px 8px', borderRadius: 4, fontSize: 9, fontWeight: 700,
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
// Scores: how a power score is worked out, and everything you can change about
|
|
4
|
+
// it, in one place (Blake, 2026-09-28: "maybe this should be its own tab").
|
|
5
|
+
// Your field (the sector focus), how tiers are graded, and every company's
|
|
6
|
+
// score. The first two used to live in Settings and the company scores in
|
|
7
|
+
// Paths → Scores; the old links forward here (app/settings/page.js,
|
|
8
|
+
// app/paths/page.js).
|
|
9
|
+
|
|
10
|
+
import { useState } from 'react';
|
|
11
|
+
import Link from 'next/link';
|
|
12
|
+
import OnboardingGate from '../components/OnboardingGate';
|
|
13
|
+
import SectorSection from '../components/settings/SectorSection';
|
|
14
|
+
import TierSection from '../components/settings/TierSection';
|
|
15
|
+
import CompanyScores from '../components/CompanyScores';
|
|
16
|
+
import { Body, LINE, FONT } from '../components/ui';
|
|
17
|
+
import { IS_DEMO } from '../../lib/demo';
|
|
18
|
+
|
|
19
|
+
export default function ScoresPage() {
|
|
20
|
+
return <OnboardingGate><ScoresInner /></OnboardingGate>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const jump = { color: '#3498DB', textDecoration: 'none', fontWeight: 600 };
|
|
24
|
+
|
|
25
|
+
function ScoresInner() {
|
|
26
|
+
// Saving your sector or tiers rescores everyone; the company list below reads
|
|
27
|
+
// its scores again when this changes.
|
|
28
|
+
const [saves, setSaves] = useState(0);
|
|
29
|
+
const saved = () => setSaves((n) => n + 1);
|
|
30
|
+
if (IS_DEMO) {
|
|
31
|
+
return (
|
|
32
|
+
<div style={{
|
|
33
|
+
minHeight: '100vh', background: '#0a0a1a', color: 'rgba(255,255,255,0.7)',
|
|
34
|
+
display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center',
|
|
35
|
+
gap: 12, textAlign: 'center', padding: 24, fontFamily: FONT,
|
|
36
|
+
}}>
|
|
37
|
+
<h2 style={{ margin: 0, fontSize: 20, fontWeight: 700, color: '#fff' }}>Not part of the demo</h2>
|
|
38
|
+
<p style={{ margin: 0, fontSize: 13 }}>The public demo includes the Network Circle and Degrees views only.</p>
|
|
39
|
+
<Link href="/" style={{ fontSize: 12, color: 'rgba(255,255,255,0.5)', textDecoration: 'none' }}>← Back to the network</Link>
|
|
40
|
+
</div>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<div style={{ minHeight: '100vh', background: '#0a0a1a', color: '#fff', fontFamily: FONT }}>
|
|
46
|
+
<header style={{ padding: '16px 24px', borderBottom: LINE, display: 'flex', alignItems: 'center', gap: 16 }}>
|
|
47
|
+
<Link href="/" style={{
|
|
48
|
+
display: 'flex', alignItems: 'center', gap: 6, color: '#888', textDecoration: 'none',
|
|
49
|
+
fontSize: 13, fontWeight: 600, padding: '6px 14px', borderRadius: 6,
|
|
50
|
+
background: 'rgba(255,255,255,0.06)', border: LINE,
|
|
51
|
+
}}>← Back to Map</Link>
|
|
52
|
+
<h1 style={{
|
|
53
|
+
fontSize: 22, fontWeight: 700, margin: 0,
|
|
54
|
+
background: 'linear-gradient(135deg, #FFD700, #9B59B6, #3498DB)',
|
|
55
|
+
WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent',
|
|
56
|
+
}}>Scores</h1>
|
|
57
|
+
</header>
|
|
58
|
+
<main style={{ maxWidth: 980, margin: '0 auto', padding: '8px 24px 64px' }}>
|
|
59
|
+
<Body style={{ marginTop: 16 }}>
|
|
60
|
+
How someone’s power score is worked out, and the three things you can change about it:{' '}
|
|
61
|
+
<a href="#sector" style={jump}>your field</a>, <a href="#tiers" style={jump}>how tiers are graded</a> and{' '}
|
|
62
|
+
<a href="#companies" style={jump}>any company’s score</a>. A change here rescores everyone.
|
|
63
|
+
</Body>
|
|
64
|
+
<SectorSection onSaved={saved} />
|
|
65
|
+
<TierSection onSaved={saved} />
|
|
66
|
+
<div id="companies" style={{ marginTop: 28 }}>
|
|
67
|
+
<CompanyScores version={saves} />
|
|
68
|
+
</div>
|
|
69
|
+
</main>
|
|
70
|
+
</div>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { useEffect, useState } from 'react';
|
|
4
4
|
import Link from 'next/link';
|
|
5
|
+
import { useRouter } from 'next/navigation';
|
|
5
6
|
import OnboardingGate from '../components/OnboardingGate';
|
|
6
7
|
import UpdatePanel from '../components/UpdatePanel';
|
|
7
|
-
import SectorSection from '../components/settings/SectorSection';
|
|
8
8
|
import DataSection from '../components/settings/DataSection';
|
|
9
9
|
import { Section, Body, Mono, LINE, FONT } from '../components/ui';
|
|
10
10
|
import { IS_DEMO } from '../../lib/demo';
|
|
@@ -28,6 +28,13 @@ const KIND_LABEL = {
|
|
|
28
28
|
function SettingsInner() {
|
|
29
29
|
const [info, setInfo] = useState(null);
|
|
30
30
|
const [error, setError] = useState(null);
|
|
31
|
+
const router = useRouter();
|
|
32
|
+
// Your field and tiers moved to the Scores tab (app/scores): old links to
|
|
33
|
+
// /settings#sector and /settings#tiers go there.
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
const at = window.location.hash;
|
|
36
|
+
if (at === '#sector' || at === '#tiers') router.replace(`/scores${at}`);
|
|
37
|
+
}, [router]);
|
|
31
38
|
|
|
32
39
|
useEffect(() => {
|
|
33
40
|
fetch('/api/settings')
|
|
@@ -71,8 +78,13 @@ function SettingsInner() {
|
|
|
71
78
|
{error && <Body style={{ color: '#ff7676', marginTop: 16 }}>{error}</Body>}
|
|
72
79
|
|
|
73
80
|
<UpdatePanel />
|
|
74
|
-
<
|
|
75
|
-
|
|
81
|
+
<Section id="scoring" title="Your field and tiers">
|
|
82
|
+
<Body>
|
|
83
|
+
They’re on the <Link href="/scores" style={{ color: '#3498DB' }}>Scores</Link> tab now, beside every
|
|
84
|
+
company’s score: <Link href="/scores#sector" style={{ color: '#3498DB' }}>your field</Link> and{' '}
|
|
85
|
+
<Link href="/scores#tiers" style={{ color: '#3498DB' }}>how tiers are graded</Link>.
|
|
86
|
+
</Body>
|
|
87
|
+
</Section>
|
|
76
88
|
<DataSection />
|
|
77
89
|
|
|
78
90
|
<Section id="about" title="About this copy">
|