Compare commits

..

No commits in common. 'master' and 'Back-End' have entirely different histories.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

@ -0,0 +1,80 @@
<mxfile host="app.diagrams.net" modified="2023-09-20T13:12:02.373Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" etag="3fIbn-yQ0z-1iRBMl3H2" version="21.7.5" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="2337" dy="1515" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="zkfFHV4jXpPFQw0GAbJ--0" value="Author" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="-880" y="-100" width="270" height="290" as="geometry">
<mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--1" value="Id: string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
<mxGeometry y="26" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--2" value="Name: string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
<mxGeometry y="52" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-1" value="ImageSmall: string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="78" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="zkfFHV4jXpPFQw0GAbJ--3" value="ImageMedium: string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1">
<mxGeometry y="104" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-2" value="ImageLarge: string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="130" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-4" value="Bio: string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="156" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-5" value="AlternateNames: List&amp;lt;string&amp;gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="182" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-6" value="Links: List&amp;lt;Link&amp;gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="208" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-7" value="BirthDate: DateTime?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="234" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-8" value="DeathDate: DateTime?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="zkfFHV4jXpPFQw0GAbJ--0">
<mxGeometry y="260" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-9" value="Book" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="-500" y="-90" width="270" height="290" as="geometry">
<mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-10" value="Id: string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="26" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-11" value="Title: string" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="52" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-12" value="Publishers: List&amp;lt;string&amp;gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="78" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-13" value="PublishDate: DateTime" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="104" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-14" value="ISBN13: string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="130" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-15" value="Series: List&amp;lt;string&amp;gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="156" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-16" value="NbPages: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="182" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-17" value="Links: List&amp;lt;Link&amp;gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="208" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-18" value="BirthDate: DateTime?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="234" width="270" height="26" as="geometry" />
</mxCell>
<mxCell id="ZLGVB8EPfMX_kU-r60Th-19" value="DeathDate: DateTime?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="ZLGVB8EPfMX_kU-r60Th-9">
<mxGeometry y="260" width="270" height="26" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -4,47 +4,43 @@
Application développer sous android API 28 pour ma part.
### Documentation
Un schéma d'architecture est encore en cour de construction.
![Image clique droit](/Documentation/AnalyseSonar.PNG)
*Je n'ai pas pu, vous trouvez dans la liste d'ajouts des permissions voici un screenshot qui résume la qualité de mon code*
Vous avez des débuts de schéma, mais cela reste encore en cour de construction.
### Cas d'erreur connus
- Getsion du tabs qui s'adapte
#### Vu principale
- Button + *(TODO)*
- Button modifier *(TODO)*
#### Vu Tous
- Nom auteur problème d'affichage *(TODO)*
- Image par défaut *(TODO prévoire une image pardéfaut)*
- Button Tri *(TODO)*
- Button + *(TODO)*
#### Vu Detail
- Binding data *(En cours)*
- Button:
- Déplacer Livre *(TODO)*
- Ajouter à la liste à lire plustard *(TODO)*
- Changer le status *(Marche sur le detail, mais se met pas à jour dans la groupCollection)*
- Changer le status *(TODO)*
- préter le livre *(TODO)*
#### Vu Emprunt/Emprunteur
- logic du switch button *(Début mis en place, mais pas compléter)*
#### Vu Emprunt
- Page xaml *(TODO)*
- logic du switch button *(TODO)*
- Button tri *(TODO)*
- Button + *(TODO)*
#### Vu Filtre
- Peut être mieux optimiser je pense
*ps: je sais pas pk sur mon tel lorsque l'appli est déployer la page ne veut même plus s'afficher. Par contre, lorsque je connecte mon téléphone avec un capable et je l'application via l'IDE cela marche parfaitement bien*
#### Vu Favoris
- pas faite si le passage du detail m'avais pas tant bloquer
- Button Tri (avec le changement du nom en haut)
- Barre de recherche
(utiliser l'appel par nom d'auteur)
- Binding du nombre de livre
### L'accès au code noté
- Projet ToolKitt
- Projet VMWrapper
- Projet BookApp Dossier ViewModel, UseCase, Composants, Pages
- Projet BookApp Dossier ViewModel
## Modèle

@ -107,7 +107,7 @@ namespace BookApp.ViewModel
);
}
private async Task LoadBookDetailAsync(string bookId)
private async void LoadBookDetailAsync(string bookId)
{
if (string.IsNullOrWhiteSpace(_id))
return;

@ -97,7 +97,6 @@ namespace VMWrapper
if (group.Count == 0)
{
AuteurGroups.RemoveAt(i);
TotalBooks = TotalBooks - 1;
}
break;
}

@ -18,7 +18,7 @@ namespace VMWrapper
this.userLibraryManager = userLibraryManager;
}
public async Task UpdateColleciton()
public async void UpdateColleciton()
{
await userLibraryManager.UpdateBook(BookDetail);
}

@ -56,7 +56,7 @@ namespace VMWrapper
public FilterViewModel(ILibraryManager data)
{
this.data = data;
GetAuthorsAsync();
_ = GetAuthorsAsync();
}
private async Task GetDatePublish()

Loading…
Cancel
Save