@@ -5,8 +5,8 @@ import AutoIncrementDark from '$lib/images/promos/auto-increment-dark.png';
5
5
import AutoIncrementLight from '$lib/images/promos/auto-increment-light.png' ;
6
6
import EncryptedDatabasesDark from '$lib/images/promos/encrypted-attribute-dark.png' ;
7
7
import EncryptedDatabasesLight from '$lib/images/promos/encrypted-attribute-light.png' ;
8
- import OptInRelationDark from '$lib/images/promos/opt-relation -dark.png' ;
9
- import OptInRelationLight from '$lib/images/promos/opt-relation -light.png' ;
8
+ import AtomicNumericOperationsDark from '$lib/images/promos/atomic-numeric-operations -dark.png' ;
9
+ import AtomicNumericOperationsLight from '$lib/images/promos/atomic-numeric-operations -light.png' ;
10
10
11
11
const listOfPromotions : BottomModalAlertItem [ ] = [ ] ;
12
12
@@ -50,27 +50,31 @@ if (isCloud) {
50
50
} ,
51
51
show : true
52
52
} ;
53
- const optInRelationPromo : BottomModalAlertItem = {
54
- id : 'modal:opt_in_relation_announcement ' ,
53
+ const atomicNumericOperationsPromo : BottomModalAlertItem = {
54
+ id : 'modal:atomic_numeric_operations_announcement ' ,
55
55
src : {
56
- dark : OptInRelationDark ,
57
- light : OptInRelationLight
56
+ dark : AtomicNumericOperationsDark ,
57
+ light : AtomicNumericOperationsLight
58
58
} ,
59
- title : 'Introducing Opt-in relationship loading ' ,
59
+ title : 'Announcing Atomic Numeric Operations ' ,
60
60
message :
61
- 'Gain full control over which related documents to fetch and drastically reduce payload sizes .' ,
61
+ 'Safely update numeric fields directly on the server, without conflicts or race conditions .' ,
62
62
plan : 'free' ,
63
63
importance : 8 ,
64
64
scope : 'project' ,
65
65
cta : {
66
66
text : 'Read announcement' ,
67
- link : ( ) => 'https://appwrite.io/blog/post/announcing-opt-in-relationship-loading ' ,
67
+ link : ( ) => 'https://appwrite.io/blog/post/announcing-atomic-numeric-operations ' ,
68
68
external : true ,
69
69
hideOnClick : true
70
70
} ,
71
- show : false
71
+ show : true
72
72
} ;
73
- listOfPromotions . push ( optInRelationPromo , autoIncrementPromo , encryptedAttributePromo ) ;
73
+ listOfPromotions . push (
74
+ atomicNumericOperationsPromo ,
75
+ autoIncrementPromo ,
76
+ encryptedAttributePromo
77
+ ) ;
74
78
}
75
79
76
80
export function addBottomModalAlerts ( ) {
0 commit comments