Commit Graph
96 Commits
Author SHA1 Message Date
Amanda HämynenandVille Sirviö 2068d3b126 Add React import to CheckboxMultiSelect
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 13:50:59 +02:00
Amanda HämynenandVille Sirviö e2beafd94b Import React in tag usage bar and line charts
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 13:38:59 +02:00
Amanda HämynenandVille Sirviö bc6af5a5fb Import React in StudentTagPage
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 13:30:54 +02:00
Amanda Hämynen 3c1e30ee0c Fix linting issues 2026-03-19 13:19:07 +02:00
Amanda HämynenandVille Sirviö 5081e9db33 Rename tag page test names to follow previously used practices
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 12:41:41 +02:00
Amanda HämynenandVille Sirviö d1a9ecc39d Create e2e test for tag page line chart
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 11:59:40 +02:00
Amanda HämynenandVille Sirviö b0b4fc2bab Update test time log entry sprint 0 -> 1
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 11:58:47 +02:00
Amanda HämynenandVille Sirviö 55c2ee03db Add id for tag usage line chart
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 11:58:00 +02:00
Amanda HämynenandVille Sirviö 6e4b6dc3ef Specify e2e test to be for bar chart
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 10:56:10 +02:00
Amanda HämynenandVille Sirviö c389611eaa Create test for seeing correct amount of minutes in tag charts
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 10:54:09 +02:00
Amanda HämynenandVille Sirviö f768c8fee5 Add id for tag usage bars
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-19 10:53:08 +02:00
Amanda Hämynen 07e98a610c Fix too long line 2026-03-19 10:51:27 +02:00
Amanda Hämynen 69b4578ce9 Add another TimeLogEntry for tag page tests 2026-03-19 10:50:58 +02:00
Amanda HämynenandVille Sirviö 0a4451553a Ignore ResizeObserver exception that happens randomly
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2026-03-18 12:24:15 +02:00
Amanda Hämynen bbc5073fa6 Create e2e test for displaying all tags 2026-03-18 12:11:29 +02:00
Amanda Hämynen c4de7d5dd1 Add command for deleting all tags 2026-03-18 12:06:58 +02:00
Amanda Hämynen a9705c1be1 Add command for creating tag 2026-03-18 12:00:32 +02:00
Amanda Hämynen 9214904ebe Update e2e test to use createSprint command 2026-03-18 11:38:13 +02:00
Amanda Hämynen 4b38c322eb Update createSprint to use TEST_USER2 2026-03-18 11:29:16 +02:00
Amanda Hämynen 57530e9e9d Create base for student tag page e2e tests 2026-03-18 10:53:30 +02:00
Amanda Hämynen 387127ec68 Fix colors and order of tags in tag page charts 2026-03-17 10:33:14 +02:00
Amanda Hämynen bc4e724848 Hide charts when no tags are selected 2026-03-16 16:55:34 +02:00
Amanda Hämynen db883cced4 Fix selected tags not initializing on first load 2026-03-16 16:47:34 +02:00
Amanda Hämynen 1afc41aa89 Fix linting errors 2026-03-16 16:47:05 +02:00
Amanda Hämynen 0bd7855257 Update Y-axis Time (hours) -> Hours 2026-03-16 13:17:32 +02:00
Amanda Hämynen e0b58b09cb Update X-axis to be on 45-degree angle for readability 2026-03-16 13:17:02 +02:00
Amanda Hämynen 361dfcb991 Update tooltips for TagPage charts 2026-03-03 13:35:48 +02:00
Amanda Hämynen c347acab16 Rename TagUsageSummaryChart -> TagUsageLineChart 2026-03-03 11:59:13 +02:00
Amanda Hämynen 1e9b83f98d Create TagUsageBarChart 2026-03-03 11:53:06 +02:00
Amanda Hämynen 8fb0c9e6e8 Change mins -> hours in TagUsageSummaryChart 2026-03-03 11:00:28 +02:00
Amanda Hämynen 0f5a23dddf Update TagPage layout and add CSS 2026-03-03 10:43:00 +02:00
Amanda Hämynen a07c9f6ac7 Fix formatting 2026-03-02 11:46:31 +02:00
Amanda Hämynen 6daf9dc75e Fix matchingSprints undefined error 2026-03-02 11:45:55 +02:00
Amanda Hämynen 8bbc4d02db Fix formatting and remove commented out code 2026-03-02 11:08:32 +02:00
Amanda Hämynen af5f764dcd Hide debug view in student tag page 2026-01-09 15:24:11 +02:00
Amanda Hämynen 15c1ae305c Merge remote-tracking branch 'refs/remotes/origin/324-timelog-tagien-visualisointi-opiskelijalle' into 324-timelog-tagien-visualisointi-opiskelijalle 2026-01-09 15:20:43 +02:00
Amanda Hämynen 4ecb75578f Improve visual look of TagUsageSummaryChart 2026-01-09 15:18:47 +02:00
Amanda Hämynen 54921d7606 Merge remote-tracking branch 'origin/324-timelog-tagien-visualisointi-opiskelijalle' into 324-timelog-tagien-visualisointi-opiskelijalle 2026-01-08 16:41:48 +02:00
Amanda Hämynen ebe560c8de Add different colours for each tag 2026-01-08 16:37:50 +02:00
Amanda Hämynen a7596d8f8b Update debug view to show sprint number instead of id 2026-01-08 10:59:00 +02:00
Amanda Hämynen ae22a76c45 Merge branch 'main' into 324-timelog-tagien-visualisointi-opiskelijalle 2026-01-08 10:28:17 +02:00
Amanda Hämynen 4482b073fc Remove console.log that sometimes causes Instructor Time Logs page to not load 2026-01-08 10:27:24 +02:00
Amanda Hämynen c177dbe4a1 Merge main 2026-01-07 10:23:36 +02:00
Amanda Hämynen 52bdee06c7 Add reducer and actions for tags 2025-10-13 10:07:30 +03:00
Amanda Hämynen 33c085ef53 Create frontend (debugging view) for student tags 2025-09-23 15:23:01 +03:00
Amanda Hämynen 9d0545ee43 Add route and navigation for student tag view 2025-09-23 15:20:36 +03:00
Amanda Hämynen 9c96c5efa3 Create services function for fetching tags by a student 2025-09-23 15:16:42 +03:00
Amanda Hämynen f00cff70e8 Move GET /tagsByStudent/:id timelogs -> tags 2025-09-23 15:15:01 +03:00
Amanda Hämynen 5325b49a58 Create backend to fetch tag data for a student 2025-09-20 14:30:59 +03:00
AmandaandGitHub 3f09082ace Merge pull request #323 from Ohtuilmo/322-opiskelijan-projektiin-käyttämien-työtuntien-automaattinen-esitäyttö-vertaispalautteessa
feature: opiskelijan projektiin käyttämien työtuntien automaattinen esitäyttö vertaispalautteessa
2025-08-22 12:33:13 +03:00
Amanda Hämynen 21edb2b140 Make sprintIds length check more readable 2025-08-22 12:31:41 +03:00
Amanda Hämynen de1408e144 Move fetching project hours from peerReviewService -> timeLogService 2025-08-22 10:53:12 +03:00
Amanda Hämynen f13d4a2bc8 Rename route and function names for getting project hours for clarity 2025-08-22 09:14:02 +03:00
Amanda Hämynen 3c48a01d51 Round project hours to nearest integer in peer reviews 2025-08-19 20:38:08 +03:00
Amanda Hämynen e6352c00fc Update backend to fetch project hours from latest group only 2025-08-18 21:21:23 +03:00
Amanda Hämynen 4229ad75e4 Refactor autofetching of project hours into a separate function 2025-08-17 16:54:21 +03:00
Amanda 9d8bfbd4e2 Autofill used hours in project for students in peer reviews 2025-08-16 13:05:51 +03:00
Amanda 931a981fd6 Create services function for getting total hours used in project 2025-08-16 13:03:31 +03:00
Amanda aabdd007b3 Create backend for fetching total hours used in project for a student 2025-08-16 13:02:41 +03:00
AmandaandGitHub b8fbcc2aaf Merge pull request #321 from Ohtuilmo/318-bugi-ohjaaja-ei-pysty-poistamaan-time-logeja
Fix: ohjaaja ei pysty poistamaan time logeja
2025-06-09 17:23:05 +03:00
Amanda b621aecd27 Fix error handling for deleting time logs for instructors 2025-06-09 16:59:48 +03:00
Amanda 0938c2a863 Add frontend functionality for deleting time logs for instructors 2025-06-09 16:35:40 +03:00
Amanda 2eedc55c59 Create frontend service function for deleting time logs for instructors 2025-06-09 16:34:01 +03:00
Amanda 7528fd72bb Create backend functionality for deleting time logs for instructors 2025-06-09 16:28:33 +03:00
AmandaandGitHub 26abb6690b Merge pull request #320 from Ohtuilmo/313-time-logien-siirtaminen-sprinttien-valilla
feature: time logien siirtäminen sprinttien välillä
2025-06-09 16:12:54 +03:00
Amanda a1ac39620a Refactor moving time logs into one function in frontend 2025-06-09 09:54:59 +03:00
Amanda acd2863552 Prevent time logs from different sprints or students to be moved simultaneously 2025-06-09 09:13:53 +03:00
Amanda f3f7738f55 Remove unnecessary useEffect from InstructorTimeLogsPage 2025-06-09 09:03:29 +03:00
Amanda aadeb95fcc Refactor backend for moving time logs into one function 2025-06-09 09:02:41 +03:00
Amanda a7be2df73d Change title text in confirmation dialog for moving time logs 2025-06-08 13:58:13 +03:00
Amanda e6889c0136 Fix typo preventing time logs to be moved to previous sprint 2025-06-08 13:53:27 +03:00
Amanda 1407a76e5c Fix more minor spacing and other styling related mistakes 2025-06-08 13:48:31 +03:00
Amanda 1c3a76e0c2 Merge branch 'main' into 313-time-logien-siirtaminen-sprinttien-valilla 2025-06-08 13:37:15 +03:00
Amanda f7c610e919 Update the text for success and add error messages for moving time logs 2025-06-08 13:33:57 +03:00
Amanda 256e2117c9 Rename variables to be more precise and fix minor indentation and spelling mistakes 2025-06-08 13:31:10 +03:00
Amanda e79397c0fb Add the ability to move selected time logs between sprints for instructors 2025-06-08 12:53:30 +03:00
Amanda c19a761a2e Update TimeLogsPage to pass user as a prop to TimeLogRow 2025-06-08 12:47:19 +03:00
Amanda 707e4f524c Refactor TimeLogRow.jsx to handle less logic 2025-06-08 12:42:55 +03:00
Amanda 29a9337f9d Add a new class 'text' for InstructorTimeLogsPage 2025-06-08 12:37:16 +03:00
AmandaandGitHub e47d39a6fc Merge pull request #319 from Ohtuilmo/316-ohjaajan-arviointisivun-alakohdat-klikkaamalla-piilotettaviksi-naytettaviksi
feature: ohjaajan arviointisivun alakohdat klikkaamalla piilotettaviksi/näytettäviksi
2025-06-07 14:32:39 +03:00
Amanda 37fad72af2 Filter shown buttons by user role for time logs 2025-06-07 14:22:52 +03:00
Amanda 62dace6854 Create frontend logic for moving time logs 2025-06-06 16:12:14 +03:00
Amanda 66659ba182 Create service functions for moving time logs 2025-06-06 16:07:24 +03:00
Amanda 9447ae71a1 Update backend functions for moving time logs to return status code 200 2025-06-06 16:02:40 +03:00
Amanda bde4cf0134 Create backend functions for moving time logs between sprints 2025-06-06 14:33:20 +03:00
AmandaandGitHub abf7864afd Merge pull request #314 from Ohtuilmo/312-pudotusvalikkojen-ylimpiä-vaihtoehtoja-ei-ohjaajan-time-log--sivulla-pysty-aina-valitsemaan
fix: pudotusvalikkojen ylimpiä vaihtoehtoja ei ohjaajan time log -sivulla pysty aina valitsemaan
2025-06-04 17:19:58 +03:00
AmandaandGitHub f443f50c8f Merge pull request #311 from Ohtuilmo/feature/filter-time-logs-per-sprint-for-instructor
feature: filter time logs per sprint for instructor
2025-06-04 16:55:14 +03:00
Amanda d982421671 Increase z-index value for dropdown menus on time logs page
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2025-06-04 16:48:58 +03:00
Amanda 189a1bb7d7 Change the message shown when there are no time logs 2025-06-04 13:45:03 +03:00
Amanda 701e455e05 Delete and replace an unnecessary constant 'logsByStudent' 2025-06-04 13:41:36 +03:00
Amanda 859bd60994 Update time logs to be filtered by sprint for instructor 2025-06-03 11:14:17 +03:00
Amanda a8214426c9 Delete template for realistic test data 2025-06-01 13:45:25 +03:00
AmandaandVille Sirviö fc67a65b7a Fix automatic group selection in instructor time logs page
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2025-06-01 13:35:12 +03:00
AmandaandVille Sirviö a58b868fa9 Create a template for realistic test data
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2025-06-01 09:42:01 +03:00
AmandaandVille Sirviö 973cc80e37 Update selected group at Instructor Time Logs page to be the correct one
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2025-03-23 14:10:37 +02:00
AmandaandVille Sirviö 1c498952c3 Update selected configuration at Instructor Time Logs page to be the newest one
Co-authored-by: Ville Sirviö <VSirvio@users.noreply.github.com>
2025-03-23 14:00:00 +02:00