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

Dashboard Page Rework #4355

Merged
merged 25 commits into from
Jan 28, 2025
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
cf3c8f0
feat: rename dashboard main page [ref Codeinwp/neve-pro-addon#2914]
abaicus Dec 17, 2024
edbfe05
chore: configure tailwindcss [ref Codeinwp/neve-pro-addon#2914]
abaicus Dec 17, 2024
c014609
feat: new backend dashboard [wip][ref Codeinwp/neve-pro-addon#2914]
abaicus Dec 19, 2024
8258a95
feat: new backend dashboard - done free version [wip][ref Codeinwp/ne…
abaicus Jan 8, 2025
12c26f6
feat: new backend dashboard [wip][ref Codeinwp/neve-pro-addon#2914]
abaicus Jan 15, 2025
1fe9ddb
chore: fix JS lint
abaicus Jan 16, 2025
0fb1664
fix: make sure hyve doesn't show up for php < 8.1
abaicus Jan 16, 2025
e5e6dc7
fix: toggles on rtl
abaicus Jan 27, 2025
f468d21
fix: whitelabel conditions
abaicus Jan 27, 2025
8d9da67
chore: remove unused method
abaicus Jan 27, 2025
1605bac
fix: improper imports
abaicus Jan 27, 2025
65904cd
chore: remove unused component
abaicus Jan 27, 2025
ac52dce
feat: allow dependend modules for notifications
abaicus Jan 27, 2025
0daea90
fix: remove modules that relate to other plugins when those are not a…
abaicus Jan 27, 2025
d171265
chore: move plugins grid in pro version to the main column
abaicus Jan 27, 2025
69d6fee
chore: add community card to sidebar, change cards order
abaicus Jan 27, 2025
15b14a2
chore: add link to whitelabel tab placeholder
abaicus Jan 27, 2025
828b357
fix: disabled appearance for select and button
abaicus Jan 27, 2025
f2e8c22
fix: dummy options order & content
abaicus Jan 27, 2025
eb180f5
feat: change customizer shortcuts card title & add descriptions
abaicus Jan 27, 2025
e9b66b8
chore: update modules descriptions
abaicus Jan 27, 2025
e3996f2
chore: merge Development into head
abaicus Jan 27, 2025
71fd0ca
chore: remove unused class props
abaicus Jan 27, 2025
3c32a6c
chore: add byline to module card
abaicus Jan 27, 2025
bb32209
chore: updated freevspro content
harshitarora-in Jan 27, 2025
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
Prev Previous commit
Next Next commit
chore: fix JS lint
abaicus committed Jan 16, 2025
commit 1fe9ddbe9fd9a05e02acd079f2c31d17dac7ae0c
Original file line number Diff line number Diff line change
@@ -288,7 +288,7 @@ export default () => {
<>
<div className="flex items-center justify-between mb-6">
<h1 className="text-lg font-semibold">
{__("White Label Settings", "neve")}
{__('White Label Settings', 'neve')}
</h1>

{showPlaceholder && (
@@ -298,7 +298,7 @@ export default () => {
onClick={() => setShowTierInfo(!showTierInfo)}
>
<LucideMessageCircleQuestion size={18} />
{__("Available in Agency Plan", "neve")}
{__('Available in Agency Plan', 'neve')}
</Button>
)}
</div>
@@ -307,12 +307,14 @@ export default () => {
{!showPlaceholder && !neveDash.whiteLabelData && (
<Notice icon={CircleFadingArrowUp}>
{__(
"Please reload this page in order to view the White Label Settings",
"neve"
'Please reload this page in order to view the White Label Settings',
'neve'
)}
</Notice>
)}
{!showPlaceholder && !!neveDash.whiteLabelData && <WhiteLabelSettings />}
{!showPlaceholder && !!neveDash.whiteLabelData && (
<WhiteLabelSettings />
)}
</>
);
};
12 changes: 1 addition & 11 deletions assets/apps/dashboard/src/Components/Content/Welcome.js
Original file line number Diff line number Diff line change
@@ -5,15 +5,13 @@ import { LucidePanelsTopLeft } from 'lucide-react';
import Card from '../../Layout/Card';
import { NEVE_HAS_PRO } from '../../utils/constants';
import Link from '../Common/Link';
import ModuleCard from '../ModuleCard';
import ModuleGrid from './ModuleGrid';
import { TransitionWrapper } from '../Common/TransitionWrapper';
import ModuleGrid from './ModuleGrid';

export default () => (
<TransitionWrapper className="grid gap-6">
<CustomizerShortcutsCard />
{!NEVE_HAS_PRO && <ModuleGrid />}
{/* <OldModuleGrid /> */}
</TransitionWrapper>
);

@@ -29,11 +27,3 @@ const CustomizerShortcutsCard = () => (
</div>
</Card>
);

// const OldModuleGrid = () => (
// <div className="grid xl:grid-cols-2 gap-6">
// {Object.entries(neveDash.modules).map(([slug, moduleData]) => (
// <ModuleCard key={slug} moduleData={moduleData} slug={slug} />
// ))}
// </div>
// );

Unchanged files with check annotations Beta

type EventResponse = {
error?: string;
success?: boolean;
response?: any;

Check warning on line 122 in assets/apps/customizer-controls/src/@types/utils.d.ts

GitHub Actions / npm (14.x)

Unexpected any. Specify a different type
};
type EventOptions = {
};
const Instructions: React.FC<Props> = ({ control }) => {
const { params, id } = control;

Check warning on line 11 in assets/apps/customizer-controls/src/builder-instructions/Instructions.tsx

GitHub Actions / npm (14.x)

'id' is assigned a value but never used
const { options } = params;
const { description, quickLinks, builderMigrated, hadOldBuilder } = options;

Check warning on line 13 in assets/apps/customizer-controls/src/builder-instructions/Instructions.tsx

GitHub Actions / npm (14.x)

'builderMigrated' is assigned a value but never used

Check warning on line 13 in assets/apps/customizer-controls/src/builder-instructions/Instructions.tsx

GitHub Actions / npm (14.x)

'hadOldBuilder' is assigned a value but never used
const linkKeys = Object.keys(quickLinks);