Skip to content

Commit 0242600

Browse files
committed
Minor web update and changelog update
1 parent 3bd4047 commit 0242600

File tree

6 files changed

+9
-21
lines changed

6 files changed

+9
-21
lines changed

CHANGELOG.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
## [3.0.0-beta.11] - 2024-11-28
1+
## [3.0.0-beta.11] - 2024-12-
22

33
- [BREAKING] Removed `userRoles` from AuthController. You can now access the `roles` prop in the user object directly
44
- [BREAKING] Many FireCMS UI sizes have been adjusted for better consistency. This will affect you only if you are using
55
custom components.
6-
- [BREAKING] The `authController` is now passed to the User Management controller, instead of the other way around. The
7-
`userManagementController` can be used as an auth controller, but with all the added logic for user management.
86
- `smallest` or `tiny` have been renamed to `small`.
97
- `small` has been renamed to `medium`.
108
- `medium` has been renamed to `large`.
119
- [BREAKING] For self-hosted versions, there has been a change in the API for the data management controllers. The
1210
`authController` is now passed to the User Management controller, instead of the other way around. The
13-
`userManagementController`
14-
can be used as an auth controller, but with all the added logic for user management.
11+
`userManagementController` can be used as an auth controller, but with all the added logic for user management.
1512

1613
❌ Code before:
1714

examples/example_next/src/app/cms/App.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ export function App() {
158158
} = useValidateAuthenticator({
159159
authController: userManagement,
160160
disabled: userManagement.loading,
161-
authenticator: userManagement.authenticator, // you can define your own authenticator here
161+
authenticator: () => true, // you can define your own authenticator here
162+
// authenticator: userManagement.authenticator, // you can define your own authenticator here
162163
dataSourceDelegate: firestoreDelegate,
163164
storageSource
164165
});

examples/example_next/src/app/common/components/ProductPreviewCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const ProductPreviewCard: React.FC<ProductPreviewCardProps> = ({ product, classN
2727
<div className="px-6 flex gap-4">
2828
{product.price && <span
2929
className="flex gap-2 text-white py-1 text-sm font-semibold mr-2 mb-2 items-center">
30-
<b>{getCurrencySymbol(product.currency)}{product.price}</b>
30+
{getCurrencySymbol(product.currency)}{product.price}
3131
</span>}
3232
</div>
3333
</div>

packages/cli/templates/template_next_pro/src/app/common/components/ProductPreviewCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const ProductPreviewCard: React.FC<ProductPreviewCardProps> = ({ product, classN
2727
<div className="px-6 flex gap-4">
2828
{product.price && <span
2929
className="flex gap-2 text-white py-1 text-sm font-semibold mr-2 mb-2 items-center">
30-
<b>{getCurrencySymbol(product.currency)}{product.price}</b>
30+
{getCurrencySymbol(product.currency)}{product.price}
3131
</span>}
3232
</div>
3333
</div>

website/docs/CHANGELOG.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@
22
id: changelog
33
title: Changelog
44
---
5-
6-
## [3.0.0-beta.11] - 2024-11-28
5+
## [3.0.0-beta.11] - 2024-12-
76

87
- [BREAKING] Removed `userRoles` from AuthController. You can now access the `roles` prop in the user object directly
98
- [BREAKING] Many FireCMS UI sizes have been adjusted for better consistency. This will affect you only if you are using
109
custom components.
11-
- [BREAKING] The `authController` is now passed to the User Management controller, instead of the other way around. The
12-
`userManagementController` can be used as an auth controller, but with all the added logic for user management.
1310
- `smallest` or `tiny` have been renamed to `small`.
1411
- `small` has been renamed to `medium`.
1512
- `medium` has been renamed to `large`.
1613
- [BREAKING] For self-hosted versions, there has been a change in the API for the data management controllers. The
1714
`authController` is now passed to the User Management controller, instead of the other way around. The
18-
`userManagementController`
19-
can be used as an auth controller, but with all the added logic for user management.
15+
`userManagementController` can be used as an auth controller, but with all the added logic for user management.
2016

2117
❌ Code before:
2218

website/src/partials/home/Companies.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ export function Companies() {
2121

2222
return <Panel color={"light"} container={false}>
2323

24-
<h2 className={"text-2xl text-center text-gray-600 dark:text-gray-400"}>
25-
Trusted by
26-
</h2>
27-
28-
29-
<Marquee className={"rounded-xl space-x-4"} pauseOnHover={true} gradient={true} gradientColor={"#f3f4f6"}>
24+
<Marquee className={"grayscale rounded-xl space-x-4"} pauseOnHover={false} gradient={true} gradientColor={"#f3f4f6"}>
3025

3126
<a
3227
target="_blank"
@@ -94,7 +89,6 @@ export function Companies() {
9489
className="w-52 m-4"/>
9590
</a>
9691
</Marquee>
97-
<p className={"text-sm text-center font-bold text-gray-600"}>...and thousands more!</p>
9892
</Panel>;
9993

10094
}

0 commit comments

Comments
 (0)