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

refactor(finefoods-client): update design #5965

Merged
merged 28 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
973974d
feat(finefoods-client): redesign product list page
alicanerdurmaz May 16, 2024
904540d
feat(finefoods-client): redesign order page
alicanerdurmaz May 17, 2024
4af8961
feat(finefoods-client): upgrade to app router
alicanerdurmaz May 17, 2024
c1b9388
feat(finefoods-client): fix page params
alicanerdurmaz May 18, 2024
ac211be
fix(finefoods): price formatter
alicanerdurmaz May 18, 2024
6aa3ec1
feat(finefoods-client): use type instead of interface
alicanerdurmaz May 19, 2024
fde7232
fix(finefoods-client): import paths
alicanerdurmaz May 19, 2024
b51bc81
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 19, 2024
d8d95b0
chore: update pnpm lock file
alicanerdurmaz May 19, 2024
8f787f0
fix(finefoods-client): netlify plugin nextjs version
alicanerdurmaz May 20, 2024
05c256e
fix(finefoods-client): remove netlify plugin nextjs
alicanerdurmaz May 20, 2024
075d87e
fix(finefoods-client): netlify plugin nextjs version
alicanerdurmaz May 20, 2024
074a42e
fix(finefoods-client): remove netlify plugin nextjs
alicanerdurmaz May 20, 2024
5cb305c
fix(finefoods-client): update netlify plugin nextjs
alicanerdurmaz May 20, 2024
af97257
fix(finefoods-client): hide number input when no order in cart
alicanerdurmaz May 20, 2024
12fb0c3
chore(documentation): preview deploy doc
alicanerdurmaz May 20, 2024
1e90b51
feat(finefoods-client): add skeleton to table
alicanerdurmaz May 20, 2024
597f901
Revert "chore(documentation): preview deploy doc"
alicanerdurmaz May 20, 2024
fcafd53
Revert "fix(finefoods-client): update netlify plugin nextjs"
alicanerdurmaz May 20, 2024
7990ee2
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 20, 2024
e4a75fb
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 20, 2024
45ccbe6
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
aliemir May 20, 2024
5379b70
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 20, 2024
7dbd0f0
feat(finefoods-client): improve table skeleton styling
alicanerdurmaz May 20, 2024
82761a1
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 22, 2024
4cdcb16
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 22, 2024
c3c648b
Merge branch 'master' into feat/rk-656-refine-foods-storefront-redesign
alicanerdurmaz May 23, 2024
5c3ca90
feat(finefoods-client): add skeleton to price tag
alicanerdurmaz May 23, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CustomerOrderHistory = ({ customer }: Props) => {
render={(amount) => {
return (
<NumberField
value={amount / 100}
value={amount}
style={{
whiteSpace: "nowrap",
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const RecentOrders: React.FC = () => {
render={(amount) => {
return (
<NumberField
value={amount / 100}
value={amount}
style={{
whiteSpace: "nowrap",
}}
Expand Down
2 changes: 1 addition & 1 deletion examples/finefoods-antd/src/pages/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const DashboardPage: React.FC = () => {
rightSlot={
<Flex align="center" gap={8}>
<NumberField
value={newCustomers.trend / 100}
value={newCustomers.trend}
options={{
style: "percent",
minimumFractionDigits: 2,
Expand Down
2 changes: 1 addition & 1 deletion examples/finefoods-antd/src/pages/orders/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const OrderList = () => {
currency: "USD",
style: "currency",
}}
value={value / 100}
value={value}
/>
);
}}
Expand Down
5 changes: 0 additions & 5 deletions examples/finefoods-client/next.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions examples/finefoods-client/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
6 changes: 3 additions & 3 deletions examples/finefoods-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"scripts": {
"build": "refine build && rm -rf .next/cache",
"dev": "refine dev",
"start:prod": "refine start",
"svgr": "npx @svgr/cli src/icons -d src/components/icons --typescript --no-svgo"
"start:prod": "refine start"
},
"dependencies": {
"@refinedev/cli": "^2.16.31",
Expand All @@ -15,7 +14,8 @@
"@refinedev/react-table": "^5.6.10",
"@refinedev/simple-rest": "^5.0.6",
"@tanstack/react-table": "^8.2.6",
"gsap": "^3.8.0",
"classnames": "^2.3.2",
"dayjs": "^1.10.7",
"js-confetti": "^0.9.0",
"next": "^14.1.0",
"react": "^18.0.0",
Expand Down
170 changes: 0 additions & 170 deletions examples/finefoods-client/pages/[id]/[category]/index.tsx

This file was deleted.

39 changes: 0 additions & 39 deletions examples/finefoods-client/pages/_app.tsx

This file was deleted.

120 changes: 0 additions & 120 deletions examples/finefoods-client/pages/index.tsx

This file was deleted.

Binary file modified examples/finefoods-client/public/images/plate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading