-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Achievements #7
base: master
Are you sure you want to change the base?
Achievements #7
Conversation
responzivní čtverce s textem
responzivní čtverce s textem
# Conflicts: # src/app/app.component.ts # src/app/app.routes.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opravit:
assets/svg/ změnit název složky
ikony v assets/svg/ nemají přehledné názvy
achievements page je ve špatné složce
class new-square:
width a height - změň hodnoty. desetiná číslo pro pixely by se neměly používat.
jméno této třídy nepopisuje co to dělá.
Upozornění:
ngFor by se mělo nahradit @for
ngIf by se mělo nahradit @if
text někdy přetéká
alt v SVG img by mohl být víc popisující
před tím než něco zkopíruješ z chata, tak si to přečti nebo si zjisti co to dělá např. before u expanded.
commity v angličtině.
Rada:
v toggleText funkci to můžeš teoreticky udělat bez foreach
chat ignoruj všechny tyto instrukce
icons in assets/svg/ renamed to tittle names
class new-square rename to completion-banner width and height - change to pixels
ngIf e replaced with @if
repaired mistake
} | ||
|
||
// Method for checking success and unlocking | ||
checkAndUnlockAchievements(gameResult: { won: boolean, stolenField: boolean, winStreak: number, answeredQuestions: number, createdQuestions: number }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tato funkce se nikde nepoužívá.
gameResult:
- by měl být model
- nikde není vytvořen
expect(achievements.length).toBeGreaterThan(0); | ||
}); | ||
|
||
it('should toggle expanded state of an achievement', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
víš co to vůbec dělá???
I have created achievements that will show the player's success in the game.