Skip to content

Commit c8b8a1c

Browse files
committed
feat: Enhance ExpandedKitCard with version badge and info tooltip
- Added a version badge to display the latest version of the kit. - Implemented an info button that shows a tooltip with metadata (created date, last updated, and version) on hover. - Updated styles for the new version badge and info button, including responsive adjustments. - Improved maturity information display, combining deprecated warnings and maturity chips. - Introduced a new chip for newly added kits. refactor: Update imports for consistency across components - Changed import paths for ExpandedKitCard, FilteredKitsGallery, and KitGalleryHeader to use absolute paths. - Updated icon imports to use default exports for consistency. style: Refine styles for tooltips, badges, and chips - Enhanced tooltip styles for better visibility and responsiveness. - Adjusted styles for new and deprecated chips to improve aesthetics and usability. - Made various responsive design adjustments to ensure a better mobile experience. fix: Correct links in KitsArchitecture and KitsExtensions components - Updated links in KitsArchitecture and KitsExtensions to use consistent casing for URLs.
1 parent aa67089 commit c8b8a1c

File tree

16 files changed

+682
-150
lines changed

16 files changed

+682
-150
lines changed

data/kitsData.js

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ For each KIT the information model is the following:
4646
dataspaces: [<list of dataspaces where the kit is used>],
4747
description: '<kit description>',
4848
metadata: {
49-
addedDate: '<YYYY-MM-DD>',
49+
created: '<YYYY-MM-DD>',
5050
lastUpdated: '<YYYY-MM-DD>',
5151
latestVersion: '<version>',
52-
isNew: <boolean>
52+
new: <boolean>
5353
}
5454
}
5555
@@ -106,10 +106,10 @@ export const kitsData = {
106106
dataspaces: ['Catena-X', 'Semiconductor-X', 'Factory-X', 'Construct-X', 'Chem-X'],
107107
description: 'The EDC as a connector implements a framework agreement for sovereign, cross-organizational data exchange.',
108108
metadata: {
109-
addedDate: '2022-08-01',
109+
created: '2022-08-01',
110110
lastUpdated: '2024-06-07',
111111
latestVersion: '3.0.0',
112-
isNew: false
112+
new: false
113113
}
114114
},
115115
{
@@ -131,10 +131,10 @@ export const kitsData = {
131131
dataspaces: ['Catena-X', 'Semiconductor-X', 'Factory-X', 'Construct-X', 'Chem-X'],
132132
description: 'Enable and simplify data governance within Catena-X.',
133133
metadata: {
134-
addedDate: '2024-03-08',
134+
created: '2024-03-08',
135135
lastUpdated: '2024-03-08',
136136
latestVersion: '0.1.0',
137-
isNew: false
137+
new: false
138138
}
139139
},
140140
{
@@ -156,10 +156,10 @@ export const kitsData = {
156156
dataspaces: ['Catena-X'],
157157
description: 'Enable content validation, certification and verification for any use case semantic data.',
158158
metadata: {
159-
addedDate: '2025-07-16',
160-
lastUpdated: '2025-08-01',
159+
created: '2025-09-30',
160+
lastUpdated: '2025-09-30',
161161
latestVersion: '0.0.1',
162-
isNew: true
162+
new: true
163163
}
164164
},
165165
{
@@ -180,10 +180,10 @@ export const kitsData = {
180180
dataspaces: ['Catena-X','Construct-X', 'Chem-X'],
181181
description: 'Get high-quality data business partner data records including the unique identifier.',
182182
metadata: {
183-
addedDate: '2023-03-01',
183+
created: '2023-03-01',
184184
lastUpdated: '2025-09-08',
185185
latestVersion: '10.0.0',
186-
isNew: false
186+
new: false
187187
}
188188
},
189189
{
@@ -205,10 +205,10 @@ export const kitsData = {
205205
dataspaces: ['Catena-X'],
206206
description: 'Generate Knowledge from Data. Scalable & Efficient Semantic Dataspace Federation.',
207207
metadata: {
208-
addedDate: '2023-05-15',
208+
created: '2023-05-15',
209209
lastUpdated: '2024-12-09',
210210
latestVersion: '1.3.0',
211-
isNew: false
211+
new: false
212212
}
213213
}
214214
],
@@ -231,10 +231,10 @@ export const kitsData = {
231231
dataspaces: ['Catena-X', 'Semiconductor-X', 'Factory-X', 'Construct-X', 'Chem-X'],
232232
description: 'Digital Twins enable data-level interoperability - even between parties previously unknown to each other.',
233233
metadata: {
234-
addedDate: '2022-09-01',
234+
created: '2022-09-01',
235235
lastUpdated: '2024-08-01',
236236
latestVersion: '2.0.1',
237-
isNew: false
237+
new: false
238238
}
239239
},
240240
{
@@ -255,10 +255,10 @@ export const kitsData = {
255255
dataspaces: ['Catena-X', 'Semiconductor-X', 'Construct-X', 'Chem-X'],
256256
description: 'Connceting Use-Cases with Core Services',
257257
metadata: {
258-
addedDate: '2024-03-08',
258+
created: '2024-03-08',
259259
lastUpdated: '2025-03-17',
260260
latestVersion: '1.4.0',
261-
isNew: false
261+
new: false
262262
}
263263
},
264264
{
@@ -279,10 +279,10 @@ export const kitsData = {
279279
dataspaces: ['Catena-X'],
280280
description: 'Data Chain KIT is made for apps and services to access connected data distributed between organizations.',
281281
metadata: {
282-
addedDate: '2023-03-01',
282+
created: '2023-03-01',
283283
lastUpdated: '2024-03-07',
284284
latestVersion: '2.1.0',
285-
isNew: false
285+
new: false
286286
}
287287
},
288288
{
@@ -304,10 +304,10 @@ export const kitsData = {
304304
dataspaces: ['Catena-X'],
305305
description: 'Data driven quality management enables data provider and consumer to exchange and analyse existing data across company boundaries.',
306306
metadata: {
307-
addedDate: '2023-01-15',
307+
created: '2023-01-15',
308308
lastUpdated: '2024-03-08',
309309
latestVersion: '1.2.0',
310-
isNew: false
310+
new: false
311311
}
312312
},
313313
{
@@ -328,10 +328,10 @@ export const kitsData = {
328328
dataspaces: ['Catena-X', 'Semiconductor-X', 'Factory-X', 'Construct-X'],
329329
description: 'Trace parts and materials across the entire value chain to enable data driven use cases over all n-tier levels.',
330330
metadata: {
331-
addedDate: '2022-11-01',
331+
created: '2022-11-01',
332332
lastUpdated: '2025-08-07',
333333
latestVersion: '7.0.0',
334-
isNew: false
334+
new: false
335335
}
336336
},
337337
{
@@ -353,10 +353,10 @@ export const kitsData = {
353353
dataspaces: ['Catena-X'],
354354
description: 'Maximize the potential of usage data through calculation services and simulations.',
355355
metadata: {
356-
addedDate: '2024-05-16',
356+
created: '2024-05-16',
357357
lastUpdated: '2024-05-23',
358358
latestVersion: '0.4.1',
359-
isNew: false
359+
new: false
360360
}
361361
}
362362
],
@@ -380,10 +380,10 @@ export const kitsData = {
380380
dataspaces: ['Catena-X'],
381381
description: 'Environmental and Social Standards Incident Management KIT',
382382
metadata: {
383-
addedDate: '2024-03-06',
383+
created: '2024-03-06',
384384
lastUpdated: '2024-07-11',
385385
latestVersion: '0.3.0',
386-
isNew: false
386+
new: false
387387
}
388388
},
389389
{
@@ -404,10 +404,10 @@ export const kitsData = {
404404
dataspaces: ['Catena-X', 'Factory-X', 'Construct-X', 'Chem-X'],
405405
description: 'Product-specific CO2 footprint.',
406406
metadata: {
407-
addedDate: '2023-03-08',
407+
created: '2023-03-08',
408408
lastUpdated: '2024-08-05',
409409
latestVersion: '1.2.0',
410-
isNew: false
410+
new: false
411411
}
412412
},
413413
{
@@ -429,10 +429,10 @@ export const kitsData = {
429429
dataspaces: ['Catena-X', 'Factory-X', 'Construct-X', 'Chem-X'],
430430
description: 'Leverage the transparency of digital product passports to strengthen sustainability & compliance.',
431431
metadata: {
432-
addedDate: '2023-03-08',
432+
created: '2023-03-08',
433433
lastUpdated: '2024-07-25',
434434
latestVersion: '1.5.0',
435-
isNew: false
435+
new: false
436436
}
437437
},
438438
{
@@ -454,10 +454,10 @@ export const kitsData = {
454454
dataspaces: ['Catena-X'],
455455
description: 'There will be more Kits coming in the next months. Stay tuned.',
456456
metadata: {
457-
addedDate: '2023-12-08',
457+
created: '2023-12-08',
458458
lastUpdated: '2024-09-17',
459459
latestVersion: '1.3.0',
460-
isNew: false
460+
new: false
461461
}
462462
},
463463
{
@@ -478,10 +478,10 @@ export const kitsData = {
478478
dataspaces: ['Catena-X'],
479479
description: 'Predictive Unit Realtime Information Service',
480480
metadata: {
481-
addedDate: '2024-03-08',
481+
created: '2024-03-08',
482482
lastUpdated: '2025-08-16',
483483
latestVersion: '0.4.0',
484-
isNew: false
484+
new: false
485485
}
486486
},
487487
{
@@ -502,10 +502,10 @@ export const kitsData = {
502502
dataspaces: ['Catena-X'],
503503
description: 'Quick build of solutions for companies of any size to engage a collaborative capacity management.',
504504
metadata: {
505-
addedDate: '2023-06-01',
505+
created: '2023-06-01',
506506
lastUpdated: '2025-09-29',
507507
latestVersion: '1.4.0',
508-
isNew: false
508+
new: false
509509
}
510510
},
511511
{
@@ -527,10 +527,10 @@ export const kitsData = {
527527
dataspaces: ['Catena-X'],
528528
description: 'Provide packing information, transport data and customs topics.',
529529
metadata: {
530-
addedDate: '2025-02-03',
530+
created: '2025-02-03',
531531
lastUpdated: '2025-03-11',
532532
latestVersion: '0.2.1',
533-
isNew: true
533+
new: false
534534
}
535535
},
536536
{
@@ -551,10 +551,10 @@ export const kitsData = {
551551
dataspaces: ['Catena-X', 'Factory-X'],
552552
description: 'Inform partners about disruptions in the supply chain.',
553553
metadata: {
554-
addedDate: '2024-08-01',
554+
created: '2024-08-01',
555555
lastUpdated: '2025-08-22',
556556
latestVersion: '2.0.0',
557-
isNew: true
557+
new: false
558558
}
559559
},
560560
{
@@ -576,10 +576,10 @@ export const kitsData = {
576576
dataspaces: ['Catena-X'],
577577
description: 'Basis for a more efficient customs process and ensure a robust preference calculation result.',
578578
metadata: {
579-
addedDate: '2024-05-20',
579+
created: '2024-05-20',
580580
lastUpdated: '2024-09-10',
581581
latestVersion: '0.1.5',
582-
isNew: true
582+
new: false
583583
}
584584
},
585585
{
@@ -601,10 +601,10 @@ export const kitsData = {
601601
dataspaces: ['Catena-X'],
602602
description: 'Gain increased supply chain transparency through collaborative simulation across all stakeholders.',
603603
metadata: {
604-
addedDate: '2023-03-08',
604+
created: '2023-03-08',
605605
lastUpdated: '2024-08-05',
606606
latestVersion: '3.0.0',
607-
isNew: false
607+
new: false
608608
}
609609
},
610610
{
@@ -626,10 +626,10 @@ export const kitsData = {
626626
dataspaces: ['Catena-X'],
627627
description: 'Federated simulation and data processing.',
628628
metadata: {
629-
addedDate: '2024-01-30',
629+
created: '2024-01-30',
630630
lastUpdated: '2024-08-12',
631631
latestVersion: '0.3.2',
632-
isNew: true
632+
new: false
633633
}
634634
},
635635
{
@@ -651,10 +651,10 @@ export const kitsData = {
651651
dataspaces: ['Catena-X'],
652652
description: 'Cross company requirements management to enable quick information access and multiple company collaboration.',
653653
metadata: {
654-
addedDate: '2024-04-15',
655-
lastUpdated: '2024-10-05',
654+
created: '2025-10-05',
655+
lastUpdated: '2025-10-05',
656656
latestVersion: '0.2.3',
657-
isNew: true
657+
new: true
658658
}
659659
},
660660
{
@@ -676,10 +676,10 @@ export const kitsData = {
676676
dataspaces: ['Catena-X', 'Factory-X'],
677677
description: 'Create a federated network of networks to connect manufacturing supply and demand.',
678678
metadata: {
679-
addedDate: '2024-03-08',
679+
created: '2024-03-08',
680680
lastUpdated: '2024-09-20',
681681
latestVersion: '0.1.0',
682-
isNew: true
682+
new: false
683683
}
684684
},
685685
{
@@ -701,10 +701,10 @@ export const kitsData = {
701701
dataspaces: ['Factory-X'],
702702
description: 'Enable customized production (batch size 1) without significant increase of costs.',
703703
metadata: {
704-
addedDate: '2023-11-15',
704+
created: '2023-11-15',
705705
lastUpdated: '2024-05-10',
706706
latestVersion: '0.2.1',
707-
isNew: false
707+
new: false
708708
}
709709
}
710710
],
@@ -878,14 +878,14 @@ export const getKitById = (kitId) => {
878878
// Metadata utility functions
879879
export const getNewKits = () => {
880880
const allKits = getAllKits();
881-
return allKits.filter(kit => kit.metadata?.isNew === true);
881+
return allKits.filter(kit => kit.metadata?.new === true);
882882
};
883883

884884
export const getKitsByDateRange = (startDate, endDate) => {
885885
const allKits = getAllKits();
886886
return allKits.filter(kit => {
887-
if (!kit.metadata?.addedDate) return false;
888-
const kitDate = new Date(kit.metadata.addedDate);
887+
if (!kit.metadata?.created) return false;
888+
const kitDate = new Date(kit.metadata.created);
889889
return kitDate >= new Date(startDate) && kitDate <= new Date(endDate);
890890
});
891891
};

0 commit comments

Comments
 (0)