Commit Graph
1672 Commits
Author SHA1 Message Date
regularmuteandAntti Aarnio de72b3cc5f create and update tests to check timelog deletion confirmation 2024-04-05 17:04:46 +03:00
regularmuteandAntti Aarnio c9e5e2e4b7 ask for confirmation before deleting a time log 2024-04-05 17:04:45 +03:00
regularmuteandAntti Aarnio 0c4bd31ecd fix doube quotes to single quotes for import lines 2024-04-05 17:04:45 +03:00
regularmuteandAntti Aarnio d16e094e6f create component for delete confirmation window 2024-04-05 17:04:45 +03:00
Matti LuukkainenandAntti Aarnio d014024229 Kesän aiheiden mahdolliset toteutusajat 2024-04-05 17:04:45 +03:00
Antti Aarnio ad19c8531e updated the cypress badge 2024-04-05 17:04:45 +03:00
Vesa JolkkonenandAntti Aarnio 8a957bd10f Fix production workflow name 2024-04-05 17:04:45 +03:00
Antti Aarnio 342961f623 additional tests for time logs chart and placeholder 2024-04-02 12:10:21 +03:00
Antti Aarnio 71a5f5ef25 altered cypress querying for Time Logs chart testing and removed unnecessary data-cy -properties from elements 2024-04-02 11:49:26 +03:00
Antti Aarnio 8bb84dad21 removed unnecessary styling set & viewport function which was replaced with custom react hook 2024-04-02 11:41:26 +03:00
Antti Aarnio 8992e046b5 added chart visualization to Time Logs -page; chart visualizes groups used time tracking in bar chart form; additional hook created to check whether the viewport requires mobile friendly layout or not in Time Logs page (or any other) 2024-04-01 21:14:09 +03:00
Mikko AhroandGitHub d4a613f22e Merge pull request #229 from Ohtuilmo/fix/topic-pages-crash
Fix issue causing topic pages to crash
2024-03-26 09:10:53 +02:00
Ismo Mehdi 2b4cdf7b78 Fix issue causing topic pages to crash 2024-03-25 23:37:24 +02:00
Mikko AhroandGitHub fd3b5a055d Merge pull request #227 from Ohtuilmo/fix/navigationbar-type-error
Fix type error in NavigationBar, hide group from NavigationBar in small screens
2024-03-25 16:01:46 +02:00
Ismo Mehdi 73bb7bff56 Fix type error in NavigationBar, hide group from NavigationBar in small screens 2024-03-25 15:30:51 +02:00
Ismo MehdiandGitHub 310899995f Merge pull request #225 from Ohtuilmo/production-workflow
Add workflow for production deployment
2024-03-25 15:13:34 +02:00
Vesa Jolkkonen 61ab8745e6 Add workflow for production deployment 2024-03-25 14:20:21 +02:00
Mikko AhroandGitHub 6e5b6d7876 Merge pull request #222 from Ohtuilmo/fix/previous-sprint-button-logic
Fix: clicking previous sprint selects the first sprint
2024-03-23 12:28:37 +02:00
RegularmuteandGitHub bf4a51ee89 Merge pull request #217 from Ohtuilmo/feature/209-bar_group_name
group assignment indicator and tests for it
2024-03-22 21:51:50 +02:00
Antti Aarnio 8616e1d83a fixed typo in a text specific to logged in students that are not assigned to any group 2024-03-22 20:47:21 +02:00
Antti Aarnio 6220f97b5a fixed some code styling & uniformity mistakes 2024-03-22 20:22:24 +02:00
Ismo Mehdi 96db93312d Fix handleClickPreviousSprint() logic 2024-03-22 16:21:21 +02:00
RedFoxFinn | AnttiandGitHub 572e4dc712 Merge pull request #220 from Ohtuilmo/fix/time_logs_form_front_validation
Fix/time logs form front validation
2024-03-22 14:53:32 +02:00
regularmute 87593e23ff refactor TimeLogForm to not need states for error status of fields
Also refactor an if-else clause to be more intuitive.
2024-03-22 14:20:32 +02:00
Mikko AhroandGitHub 8f2fcd6639 Merge pull request #216 from Ohtuilmo/feature/more-sprint-validation
More sprint validation for backend
2024-03-22 13:31:27 +02:00
vejolandGitHub 1a7cc245f7 Merge pull request #218 from Ohtuilmo/feature/update-seeders
Feature/update seeders
2024-03-22 13:29:57 +02:00
vejolandGitHub 3215cba608 Merge pull request #219 from Ohtuilmo/remove-import-scripts
Remove unnecessary import-scripts and their  dependencies
2024-03-22 13:13:45 +02:00
Iida Lassila 3737e9246e Remove unnecessary import-scripts and their dependencies 2024-03-22 12:08:29 +02:00
Ismo MehdiandAntti Aarnio 03af528693 Show only added sprints in time log page Sprint Selector 2024-03-22 12:06:18 +02:00
imhlasandGitHub 52b89fd001 Merge pull request #214 from Ohtuilmo/feature/show-only-added-sprints-in-sprint-selector
Show only added sprints in time log page Sprint Selector
2024-03-22 11:17:01 +02:00
Antti Aarnio ec0ed71f3a fixed tests unrelated to developed feature by adding the missing login functions for tests 2024-03-22 10:50:19 +02:00
Iida Lassila 73f17dd1c2 Eslint fixes 2024-03-22 10:41:03 +02:00
Iida Lassila a76292f30e Fix tests 2024-03-21 15:12:39 +02:00
Iida Lassila 23341e95dc Add npm script for running only old seederfiles 2024-03-21 15:12:38 +02:00
Iida Lassila 381548fad1 Add new seeders 2024-03-21 15:12:38 +02:00
Iida Lassila 26ef20e30e Add new seeders 2024-03-21 15:12:38 +02:00
Iida Lassila 22fded8a54 Update seeder storage configuration 2024-03-21 15:12:37 +02:00
Antti Aarnio 3ac0f92f09 modified group indicator tests 2024-03-20 17:37:09 +02:00
Antti Aarnio 6613529298 group assignment indicator and tests for it 2024-03-20 12:31:25 +02:00
Joonas Somero b6b283e89d Adjust error messaging 2024-03-19 17:03:21 +02:00
Joonas Somero e136ec29e8 Add to sprint validation
- sprint number must be the successor of the latest sprint

  - sprint must start after the latest sprint has ended
2024-03-19 16:48:11 +02:00
Joonas Somero 3db0898f53 Adjust error handling 2024-03-19 16:47:59 +02:00
regularmute 846d0273cc adjust language and referred elements in timelog tests to fit changes
During the merge, some element names and test name phrasing changed,
so this commit will adjust some tests to fit the rest of the file.
2024-03-19 16:03:45 +02:00
regularmute 58689efab4 remove deprecated test that reappeared when merging 2024-03-19 16:02:29 +02:00
Ismo Mehdi 0153e0a2f8 Show only added sprints in time log page Sprint Selector 2024-03-19 15:58:19 +02:00
regularmute 10f7ce9ef8 move sprint deletion to the end of timelog testing to fit merged edits
As a result of the merge, tests from one branch fail because sprints
are deleted before running the tests. This is simply fixed by moving
the sprint deletion to the end of testing.
2024-03-19 15:45:17 +02:00
regularmute 0799ed54f3 validate timelog-form's time and description fields
Set states to keep track of whether or not the specific fields have
errors, and what error message they should display.

Add separate validation function that is checked upon submitting the
form.

Add appropriate properties for the time and description fields to
adjust their behavior avvording to possible errors.
2024-03-19 15:29:05 +02:00
regularmute 5f86865cbf create initial tests for front-end timelogs form validation 2024-03-19 15:27:36 +02:00
RegularmuteandGitHub 1258d50bdf Merge pull request #212 from Ohtuilmo/feature/test-time-logs-and-sprints
Add tests for time logs and sprints, fix time logs current sprint logic
2024-03-19 15:16:13 +02:00
Ismo Mehdi dd9e037136 Fix TimeLogsPage current sprint logic, add tests for time logs and sprints 2024-03-19 14:33:41 +02:00