Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions front_end/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions front_end/declarations/react-simple-maps.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
declare module "react-simple-maps" {
import * as React from "react";

export interface ComposableMapProps extends React.SVGProps<SVGSVGElement> {
projection?:
| string
| ((opts: { width: number; height: number }) => unknown);
projectionConfig?: Record<string, unknown>;
width?: number;
height?: number;
children?: React.ReactNode;
}
export const ComposableMap: React.FC<ComposableMapProps>;

export interface GeographyType {
rsmKey: string;
id?: string | number;
type?: string;
properties?: Record<string, unknown>;
geometry?: unknown;
}

export interface GeographiesProps {
geography: string | object;
parseGeographies?: (geos: GeographyType[]) => GeographyType[];
children: (props: {
geographies: GeographyType[];
projection: unknown;
path: unknown;
}) => React.ReactNode;
}
export const Geographies: React.FC<GeographiesProps>;

export interface GeographyProps
extends Omit<React.SVGProps<SVGPathElement>, "style"> {
geography: GeographyType;
style?: {
default?: React.CSSProperties;
hover?: React.CSSProperties;
pressed?: React.CSSProperties;
};
onMouseEnter?: (e: React.MouseEvent<SVGPathElement>) => void;
onMouseLeave?: (e: React.MouseEvent<SVGPathElement>) => void;
onClick?: (e: React.MouseEvent<SVGPathElement>) => void;
}
export const Geography: React.FC<GeographyProps>;

export interface MarkerProps extends React.SVGProps<SVGGElement> {
coordinates: [number, number];
children?: React.ReactNode;
}
export const Marker: React.FC<MarkerProps>;
}
1 change: 1 addition & 0 deletions front_end/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ declare module "@tanstack/table-core" {
className: string;
}
}

48 changes: 47 additions & 1 deletion front_end/messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2185,5 +2185,51 @@
"whyTrustMetaculusLessNoiseTitle": "Méně šumu, více pravdy",
"whyTrustMetaculusLessNoise": "Předpovědi Metaculus, poháněné davem, prořezávají šum tím, že zakládají každou předpověď na transparentních důkazech, odpovědném skóre a desetiletí doložené přesnosti. Metaculus vybavuje politiky, výzkumníky, novináře a korporátní organizace předpověďmi založenými na důkazech, které poskytují jasný, kvantifikovatelný vhled do nejkritičtějších nejistot světa. Prozkoumejte naši nabídku <servicesLink>Business řešení</servicesLink> a zjistěte, jak může Metaculus zlepšit rozhodování vaší organizace.",
"publishTimeLockedDescription": "Čas publikace nelze po vytvoření změnit.",
"thousandsOfOpenQuestions": "20 000+ otevřených otázek"
"thousandsOfOpenQuestions": "20 000+ otevřených otázek",
"midtermsHubMetaTitle": "Mezičasové volby USA 2026 | Metaculus",
"midtermsHubMetaDescription": "Předpovědi komunity Metaculus v reálném čase k mezičasovým volbám USA v roce 2026.",
"midtermsHubLastUpdatedFull": "Naposledy aktualizováno {date}",
"midtermsHubChamberSenate": "Senát",
"midtermsHubChamberHouse": "Sněmovna reprezentantů",
"midtermsHubChamberGovernor": "Guvernér",
"midtermsHubChamberControl": "Kontrola komory",
"midtermsHubCongressForecast": "Kontrola Kongresu",
"midtermsHubDemsNeed": "Demokraté potřebují +{count}",
"midtermsHubOutcomeRepRep": "Senát Rep / Sněmovna Rep",
"midtermsHubOutcomeRepDem": "Senát Rep / Sněmovna Dem",
"midtermsHubOutcomeDemRep": "Senát Dem / Sněmovna Rep",
"midtermsHubOutcomeDemDem": "Senát Dem / Sněmovna Dem",
"midtermsHubCongressSummary": "Předpovídači očekávají rozdělený Kongres – republikáni si pravděpodobně udrží Senát, zatímco demokraté jsou favority na získání Sněmovny reprezentantů.",
"midtermsHubThingsToWatch": "Co sledovat",
"midtermsHubVoterTurnout": "Předpověď volební účasti",
"midtermsHubTurnoutContext": "Vyšší účast u mezičasových voleb historicky souvisela se silnějšími výsledky demokratů.",
"midtermsHubElectionIntegrity": "Sledování integrity voleb",
"midtermsHubIntegrityContext": "Cyklus 2026 zahrnuje spory o překreslování volebních obvodů uprostřed dekády a probíhající soudní spory o pravidla hlasování v několika státech.",
"midtermsHubElectoralConsequences": "Volební důsledky",
"midtermsHubConsequenceQuestion": "Otázka",
"midtermsHubConsequenceIfRep": "při Republikánském Kongresu",
"midtermsHubConsequenceIfDem": "při Demokratickém Kongresu",
"midtermsHubConsequenceClimate": "Bude před rokem 2028 přijata významná federální klimatická legislativa?",
"midtermsHubConsequenceMinWage": "Bude před rokem 2028 zvýšena federální minimální mzda?",
"midtermsHubConsequenceImmigration": "Bude před rokem 2028 přijat významný zákon o imigrační reformě?",
"midtermsHubConsequenceShutdown": "Dojde před rokem 2028 k uzavření vlády na více než 14 dní?",
"midtermsHubCommunityInsights": "Pohledy komunity",
"midtermsHubScrollLeft": "Posunout poznatky doleva",
"midtermsHubScrollRight": "Posunout poznatky doprava",
"midtermsHubDemocrat": "Demokraté",
"midtermsHubRepublican": "Republikáni",
"midtermsHubNotContested": "Bez voleb",
"midtermsHubDemPct": "{pct}% demokraté",
"midtermsHubRepPct": "{pct}% republikáni",
"midtermsHubNoForecast": "Bez předpovědi",
"midtermsHubFooterDisclaimer": "Předpovědi komunity Metaculus. Bez vazby na jakoukoli politickou stranu.",
"midtermsHubHeroTitleLine1": "Mezičasové volby",
"midtermsHubHeroTitleLine2": "USA 2026",
"midtermsHubHeroSubtitle": "Předpovědi komunity Metaculus v reálném čase k mezičasovým volbám USA v roce 2026.",
"midtermsHubThingsToWatchSubtitle": "Ukazatele, které stojí za sledování v průběhu cyklu.",
"midtermsHubConsequencesSubtitle": "Jak se předpovídané politické výsledky mění v závislosti na tom, která strana ovládá Kongres.",
"midtermsHubUpdatedRealtime": "Aktualizováno v reálném čase",
"midtermsHubMetaculusUser": "Uživatel Metaculus",
"midtermsHubComingSoon": "Již brzy",
"midtermsHubClickToView": "Kliknutím zobrazíte celou otázku"
}
48 changes: 47 additions & 1 deletion front_end/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2174,5 +2174,51 @@
"whyTrustMetaculusLessNoiseTitle": "Less noise, more truth",
"whyTrustMetaculusLessNoise": "Metaculus's crowd-powered forecasts cut through the noise by grounding every prediction in transparent evidence, accountable scoring, and a decade of demonstrated accuracy. Metaculus equips policymakers, researchers, journalists, and corporate organizations with evidence-based forecasts that surface clear, quantifiable insight into the world's most critical uncertainties. Explore our suite of <servicesLink>Business Solutions</servicesLink> to learn more about how Metaculus can improve your organization's decision-making.",
"publishTimeLockedDescription": "Publish time cannot be changed after creation.",
"feedTileSummaryPlaceholder": "Optional: Enter a custom summary text to display on feed tiles (if not provided, a summary will be auto-generated from the notebook content)"
"feedTileSummaryPlaceholder": "Optional: Enter a custom summary text to display on feed tiles (if not provided, a summary will be auto-generated from the notebook content)",
"midtermsHubMetaTitle": "2026 US Midterm Elections | Metaculus",
"midtermsHubMetaDescription": "Real-time forecasts from the Metaculus community on the 2026 US midterm elections.",
"midtermsHubLastUpdatedFull": "Last updated {date}",
"midtermsHubChamberSenate": "Senate",
"midtermsHubChamberHouse": "House",
"midtermsHubChamberGovernor": "Governor",
"midtermsHubChamberControl": "Chamber control",
"midtermsHubCongressForecast": "Congress Control",
"midtermsHubDemsNeed": "Dems need +{count}",
"midtermsHubOutcomeRepRep": "Rep Senate / Rep House",
"midtermsHubOutcomeRepDem": "Rep Senate / Dem House",
"midtermsHubOutcomeDemRep": "Dem Senate / Rep House",
"midtermsHubOutcomeDemDem": "Dem Senate / Dem House",
"midtermsHubCongressSummary": "Forecasters expect a split Congress, with Republicans likely to hold the Senate and Democrats favored to retake the House.",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"midtermsHubThingsToWatch": "Things to Watch",
"midtermsHubVoterTurnout": "Voter turnout forecast",
"midtermsHubTurnoutContext": "Higher turnout in midterms has historically correlated with stronger Democratic performance.",
"midtermsHubElectionIntegrity": "Election integrity watch",
"midtermsHubIntegrityContext": "The 2026 cycle features mid-decade redistricting disputes and ongoing litigation over voting rules in several states.",
"midtermsHubElectoralConsequences": "Electoral Consequences",
"midtermsHubConsequenceQuestion": "Question",
"midtermsHubConsequenceIfRep": "if Rep Congress",
"midtermsHubConsequenceIfDem": "if Dem Congress",
"midtermsHubConsequenceClimate": "Will major federal climate legislation be passed before 2028?",
"midtermsHubConsequenceMinWage": "Will the federal minimum wage be raised before 2028?",
"midtermsHubConsequenceImmigration": "Will a major immigration reform bill pass before 2028?",
"midtermsHubConsequenceShutdown": "Will there be a government shutdown lasting more than 14 days before 2028?",
"midtermsHubCommunityInsights": "Community Insights",
"midtermsHubScrollLeft": "Scroll insights left",
"midtermsHubScrollRight": "Scroll insights right",
"midtermsHubDemocrat": "Democrat",
"midtermsHubRepublican": "Republican",
"midtermsHubNotContested": "Not contested",
"midtermsHubDemPct": "{pct}% Democrat",
"midtermsHubRepPct": "{pct}% Republican",
"midtermsHubNoForecast": "No forecast",
"midtermsHubFooterDisclaimer": "Forecasts by the Metaculus community. Not affiliated with any political party.",
"midtermsHubHeroTitleLine1": "2026 US",
"midtermsHubHeroTitleLine2": "Midterm Elections",
"midtermsHubHeroSubtitle": "Real-time forecasts from the Metaculus community on the 2026 US midterm elections.",
"midtermsHubThingsToWatchSubtitle": "Indicators worth watching as the cycle unfolds.",
"midtermsHubConsequencesSubtitle": "How forecasted policy outcomes shift depending on which party holds Congress.",
"midtermsHubUpdatedRealtime": "Updated real-time",
"midtermsHubMetaculusUser": "Metaculus User",
"midtermsHubComingSoon": "Coming Soon",
"midtermsHubClickToView": "Click to view full question"
}
Loading
Loading