Compare commits

..

11 Commits

Author SHA1 Message Date
2ad6dba535
feat: implement high level get_vitale_card_rights over SSV_LireDroitsVitale - without output data parsing 2024-10-24 21:59:04 +02:00
db5eedd45a
feat: Ajout de la fonction SSV_LireDroitsVitale à la crate fsv-sys et refactoring des tests unitaires associés 2024-10-24 21:59:04 +02:00
e01b28f66f
feat: add integration tests with snapshot for some CPS cards in kits 2024-10-24 21:59:03 +02:00
51bed2b4f4
feat: implement group2, CPS situation for SSV_LireCartePS 2024-10-24 21:59:03 +02:00
76d9e4e4f0
feat: Une enums for deserializable fields in CPS Holder group (01) 2024-10-24 21:59:03 +02:00
0b5b4978a6
feat: Take the size into account for Block reading, to handle missing fields 2024-10-24 21:59:02 +02:00
8fe733fc30
feat: use an enum instead of raw ID for CPS type 2024-10-24 21:59:02 +02:00
71f9d0c5f8
feat: raw (non-deserialized) implementation of the 01 group of LireCartePS 2024-10-24 21:59:02 +02:00
0ef8ede764
feat: implement a full SSV_LireConfig output parsing, using deku for a declarative bytes parsing
Co-authored-by: theo <t.lettermann@criteo.com>
2024-10-24 21:59:01 +02:00
ae68de8a3c Merge pull request 'feat: Update avatar URLs in Avatar and LoginModal components' (#68) from fix/change_default_avatar_urls into main
Le service que j'avais utilisé pour générer des avatars aléatoires pour cette démo a cessé de fonctionner aujourd'hui ... XD

Je le remplace donc par un autre service ^^

Reviewed-on: #68
Reviewed-by: kosssi <simon@p4pillon.org>
2024-10-14 17:11:13 +02:00
e24b9c7859 feat: Update avatar URLs in Avatar and LoginModal components 2024-10-14 17:10:46 +02:00
2 changed files with 10 additions and 10 deletions

View File

@ -17,6 +17,6 @@
if (user.avatar) {
return user.avatar;
}
return 'https://avatar.iran.liara.run/username?username=' + user.name;
return 'https://i.pravatar.cc/150?u=' + user.name;
};
</script>

View File

@ -29,15 +29,15 @@
const users: User[] = [
{ id: 1, name: 'John Doe', avatar: 'https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp' },
{ id: 2, name: 'Jane Doe', avatar: 'https://avatar.iran.liara.run/public' },
{ id: 3, name: 'Michel Moulin', avatar: '' },
{ id: 4, name: 'Jean Paris', avatar: '' },
{ id: 5, name: 'Marie Dupont', avatar: '' },
{ id: 6, name: 'Émilie Fournier', avatar: '' },
{ id: 7, name: 'Pierre Lefevre', avatar: '' },
{ id: 8, name: 'Sophie Lemoine', avatar: '' },
{ id: 9, name: 'Lucie Simon', avatar: '' },
{ id: 10, name: 'Kevin Boucher', avatar: '' },
{ id: 2, name: 'Jane Doe', avatar: 'https://i.pravatar.cc/150?u=JANEDOE728' },
{ id: 3, name: 'Michel Moulin' },
{ id: 4, name: 'Jean Paris' },
{ id: 5, name: 'Marie Dupont' },
{ id: 6, name: 'Émilie Fournier' },
{ id: 7, name: 'Pierre Lefevre' },
{ id: 8, name: 'Sophie Lemoine' },
{ id: 9, name: 'Lucie Simon' },
{ id: 10, name: 'Kevin Boucher' },
];
const loginModal = useTemplateRef('login_modal');