aboutsummaryrefslogtreecommitdiff
path: root/src/components/AssignLabs
AgeCommit message (Collapse)AuthorLines
2022-07-23Restructure file organizationFurkan Sahin-227/+0
2022-07-20Introducing `selectedLab` in order to now color PTs that can be assigned to ↵Furkan Sahin-28/+30
a chosen lab. Maintain a reactive `compatiblePTs` array to assist in this. Utilize DaisyUI component to display the unassigned labs. Started actually using daisyui themes in text in order to automate the lightmode/darkmode text color switch (text color was static before)
2022-07-20encapsulate pt & lab compatabilitiyFurkan Sahin-8/+17
2022-07-19Parse local storage db if it exists. Move json parsing to `ts` files, remove ↵Furkan Sahin-13/+2
`json` from rollup
2022-07-16Animate unassigned labs, mostly cleanup unused codeFurkan Sahin-30/+4
2022-07-16Reposition and give title to unassigned labsFurkan Sahin-11/+14
2022-07-16updating all necessary reactive declarations through single function. All ↵Furkan Sahin-17/+24
reactive variables correctly update now.
2022-07-16Labs now correctly take in an icon click handlerFurkan Sahin-48/+24
2022-07-16Successfully adding/removing labs from PeerTeachers; however need to bugfix ↵Furkan Sahin-19/+21
the icon always showing a minus-circle along with the bottom unassigned-labs sections not updating
2022-06-26Pass selected pt to LabBox. TODO get all reactive statements to actually ↵Furkan Sahin-17/+11
update ie selected PT's labs
2022-06-26RenameFurkan Sahin-0/+0
2022-06-26Rename component, handle on click for addition / subtraction of labFurkan Sahin-43/+54
2022-06-26Added a universal list of all unassigned labs to aid in scheduling.Furkan Sahin-32/+56
use vh/vw instead of percent.
2022-06-26Generate a unique ID for each modal element to fix all modals opening up ↵Furkan Sahin-7/+11
first PT
2022-06-09[CLEANUP] commented out old styleFurkan Sahin-45/+1
2022-06-09Labs display for section Assign LabsFurkan Sahin-4/+39
2022-06-09SVG wrapper component `Icon.svelte` for storing all SVGs, allowing SVG paths ↵Furkan Sahin-21/+11
to be hidden away in one file
2022-06-09Remove original UI (was commented out)Furkan Sahin-85/+0
2022-06-09Defined all 3 columns and temporarily automated store by populating them ↵Furkan Sahin-2/+48
with a db from localstorage in order to test more efficiently.
2022-06-09PT ready, however theres a bug with modals. Info button brings up modal of ↵Furkan Sahin-4/+45
first PT, ignoring completely the pt that it is currently on. May come from each created modal sharing the same PT to be honest (after unrolling the for loop).
2022-06-05WiPFurkan Sahin-0/+249