-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ikonky zobraziujúce stav riešenia. #1331
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1331 +/- ##
==========================================
+ Coverage 72.39% 72.40% +0.01%
==========================================
Files 129 129
Lines 5433 5447 +14
Branches 683 686 +3
==========================================
+ Hits 3933 3944 +11
- Misses 1373 1375 +2
- Partials 127 128 +1
Continue to review full report at Codecov.
|
css/src/base.less
Outdated
.task-status-wrong { | ||
color: #f39c12; | ||
} |
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.
Ak tato farba nie je definovana niekde v nasich design dococh, tak do nej pridaj trocha cervenej / uber zelenu. Ak mas protanopiu alebo nejaku podobnu farboslepost tak je to nerozoznatelne od task-status-ok
ak ich nemas hned pri sebe.
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.
Mám zmeniť brand-warning na niečo viac odlišné, keďže to vyplýva z toho?
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.
Vieme mat rozne ikonky pre rozne stavy?
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.
Dalo by sa to, ale výber glyphicons je dosť slabý :/
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.
Uprimne tie ikonky a farby mi toho moc nehovoria ked sa len tak na to pozrem. Co keby sme to rozdelili na 2 stlpce - stav popisu a stav programu? A potom mali -ok-circle
ak je vsetko vpohode, -time
ak sa caka na opravenie/sa testuje, -ban-circle
ak nie je odovzdany, -remove-circle
ak je program nedostal OK? Kazdy stav by zaroven mohol mat aj farbu, ale ikonka aj bez farby by definovala stav, cize by ani nebol problem s farboslepostou.
Vyzera to super! S tym neodovzdavanim, bud vycentrovana siva horizontalna ciara (pomocou hr), alebo "disabled" N/A. |
show_description_col = False | ||
for task in tasks: | ||
if task.description_points > 0: | ||
show_description_col = True |
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.
Toto sa da nahradit idiomatickejsim:
show_description_col = any(map(lambda t: t.description_points >0, tasks))
V zozname úloh boli pridané ikonky, ktoré znázorňujú, v akom stave je userovo riešenie danej úlohy. Zvýši to prehľadnosť, hneď vidím, čo som už odovzdal, kde mi chýba popis a pod.
Každá ikonka má tooltip, ktorý povie userovi viac - "popis: neodovzdaný" a pod.
This change is