Skip to content
Open
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
33 changes: 0 additions & 33 deletions app/fund/dashboard/FunderDashboardContent.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions app/fund/dashboard/page.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions app/give/components/GiveDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function GiveDashboard() {
<span className="give-dash-accent">all the way to the result.</span>
</h2>
<p className="give-dash-lead">
Your funder dashboard brings every opportunity you support into one place.
My Funding brings every opportunity you support into one place.
</p>

<ul className="give-dash-features">
Expand All @@ -105,7 +105,7 @@ export function GiveDashboard() {
</div>

<div className="give-dash-mockwrap">
<div className="give-dash-mock" role="img" aria-label="Funder dashboard preview">
<div className="give-dash-mock" role="img" aria-label="My Funding preview">
<div className="give-dash-mock-head">
<div className="give-dash-mock-title">Welcome back, Jennifer.</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/Feed/FeedEntryItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface FeedEntryItemProps {
/**
* Which grant card to render for GRANT entries. `comprehensive` adds the
* deployment progress bar, community match and key insights, and is used on
* the funder dashboard. Defaults to the simpler public-facing card.
* the Funds given tab. Defaults to the simpler public-facing card.
*/
grantCardVariant?: 'default' | 'comprehensive';
feedOrdering?: string;
Expand Down
2 changes: 1 addition & 1 deletion components/Feed/items/FeedItemGrantComprehensive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ const ProposalRow: FC<ProposalRowProps> = ({ application, showUSD, exchangeRate,
};

/**
* Comprehensive grant card used on the funder dashboard (`/fund/dashboard`).
* Comprehensive grant card used on the Funds given tab.
* Surfaces the deployment progress bar, community match, funder contribution
* and per-proposal key insights. The simpler public-facing variant lives in
* `FeedItemGrantWithApplicants`.
Expand Down
2 changes: 1 addition & 1 deletion components/Feed/skeletons/GrantComprehensiveSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
SkeletonProposalSectionHeader,
} from './shared';

/** Mirrors `FeedItemGrantComprehensive` on `/fund/dashboard`. */
/** Mirrors `FeedItemGrantComprehensive` on the Funds given tab. */
export const GrantComprehensiveSkeleton: FC = () => (
<SkeletonGrantCardShell>
<div className="relative h-[260px] sm:h-[220px] bg-gray-300">
Expand Down
6 changes: 3 additions & 3 deletions components/Funding/FundingLinksMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface FundingLinksMenuProps {

/**
* Disclosure menu for the funding hero/snapshot. Keeps the secondary
* destinations (My ResearchCoin and the funder dashboard) tucked behind a click
* destinations (My ResearchCoin and My Funding) tucked behind a click
* so the surrounding card stays focused on the figures, then reveals them on
* demand.
*/
Expand All @@ -53,9 +53,9 @@ export const FundingLinksMenu: FC<FundingLinksMenuProps> = ({
</BaseMenuItem>
<DropdownMenu.Separator className="-mx-1 my-1 h-px bg-gray-100" />
<BaseMenuItem asChild className={ITEM_CLASS}>
<Link href="/fund/dashboard">
<Link href="/my-funding">
<Icon name="fund" size={20} color={ICON_COLOR} />
Funder dashboard
My Funding
<ChevronRight size={16} className={ARROW_CLASS} />
</Link>
</BaseMenuItem>
Expand Down
2 changes: 1 addition & 1 deletion components/ResearchCoin/ResearchCoinSnapshot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface ResearchCoinSnapshotProps {
className?: string;
/**
* When true the entire card becomes a button that opens the funding links
* dropdown (My ResearchCoin / funder dashboard) and surfaces a hover
* dropdown (My ResearchCoin / My Funding) and surfaces a hover
* affordance. When false the card is a static read-out (e.g. in the profile
* menu).
*/
Expand Down
8 changes: 4 additions & 4 deletions components/menus/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ export default function UserMenu({
</div>
</div>

<Link href="/fund/dashboard" className="block" onClick={() => setMenuOpenState(false)}>
<Link href="/my-funding" className="block" onClick={() => setMenuOpenState(false)}>
<div className="px-6 py-2 hover:bg-gray-50">
<div className="flex items-center">
<Icon name="fund" size={20} color="#4B5563" className="mr-3" />
<span className="text-sm text-gray-700">Your Funding</span>
<span className="text-sm text-gray-700">My Funding</span>
</div>
</div>
</Link>
Expand Down Expand Up @@ -393,11 +393,11 @@ export default function UserMenu({
</div>
</BaseMenuItem>

<Link href="/fund/dashboard" className="block" onClick={() => setMenuOpenState(false)}>
<Link href="/my-funding" className="block" onClick={() => setMenuOpenState(false)}>
<div className="w-full px-4 py-2 hover:bg-gray-50">
<div className="flex items-center">
<Icon name="fund" size={20} color="#4B5563" className="mr-3" />
<span className="text-sm text-gray-700">Your Funding</span>
<span className="text-sm text-gray-700">My Funding</span>
</div>
</div>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion components/work/KeyInsights/KeyInsightsLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface KeyInsightsLineProps {

/**
* Compact gradient callout — used inline below the author meta row when the
* funder dashboard isn't wide enough for the side panel. The whole container
* Funds given layout has no room for the side panel. The whole container
* is the click target (opens the modal). Items use grid auto-fit so they
* sit side-by-side when there's room and stack vertically when narrow.
*/
Expand Down
2 changes: 1 addition & 1 deletion components/work/KeyInsights/KeyInsightsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface KeyInsightsPanelProps {
onOpenModal: (e: React.MouseEvent) => void;
}

/** Vertical panel used in the funder dashboard's wide side column. */
/** Vertical panel used in the wide Funds given layout. */
export const KeyInsightsPanel: FC<KeyInsightsPanelProps> = ({ keyInsight, onOpenModal }) => {
const items = useMemo(() => topInsightItems(keyInsight), [keyInsight]);

Expand Down
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const nextConfig = {
destination: '/fund/:path*',
permanent: false,
},
{
source: '/fund/dashboard',
destination: '/my-funding',
permanent: true,
},
{
source: '/researchhub-journal',
destination: '/journal',
Expand Down