2
0
Fork
You've already forked taskcollect
3

Reorganise task pages and platform data types #66

Merged
kvo merged 3 commits from Wasabi1092/taskcollect:main into main 2023年01月13日 11:40:55 +01:00
Contributor
Copy link

Individual task pages have been updated from a top to bottom layout to a left to right layout.

Custom checkboxes have been implemented. In order to use them, the following syntax should be used:

<label for = "_" class="form_control">
 	<input type="checkbox">
 	<!-- Label Text can go here (optional) -->
</label>

It also changes the structure of tasks that are received from DayMap and Google Classroom.
Instead of the grade being returned as a string, it is now returned as a struct named "TaskGrade". This is represented in the individual task page as a letter grade, a mark percentage, and a color based on that percentage.
The values will default to "-", 0.0, and #ffffff respectively.

A new package that holds the various structs used in both the daymap and google classroom packages has been added. This package has been named "plat", short for "platform", and the structs have been placed in plat/types.go.

Further testing is required to ensure that the grades will render as intended, which will come as part of another pull request later on.

Individual task pages have been updated from a top to bottom layout to a left to right layout. Custom checkboxes have been implemented. In order to use them, the following syntax should be used: ```html <label for = "_" class="form_control"> <input type="checkbox"> <!-- Label Text can go here (optional) --> </label> ``` It also changes the structure of tasks that are received from DayMap and Google Classroom. Instead of the grade being returned as a string, it is now returned as a struct named "TaskGrade". This is represented in the individual task page as a letter grade, a mark percentage, and a color based on that percentage. The values will default to "-", 0.0, and #ffffff respectively. A new package that holds the various structs used in both the daymap and google classroom packages has been added. This package has been named "plat", short for "platform", and the structs have been placed in plat/types.go. Further testing is required to ensure that the grades will render as intended, which will come as part of another pull request later on.
Individual Task Pages have been changed from a top to bottom view to a left to right view.
Custom checkboxes have been implemented. In order to use them, the following syntax should be used:
```
<label for = "_" class="form_control">
 <input type="checkbox">
 <!-- Label Text can go here -->
</label>
```
It also changes the structure of tasks that are received from DayMap and Google Classroom.
Instead of the grade being returned as a string, it is now returned as a struct named "TaskGrade"
This is represented in the individual task page as a letter grade, a mark percentage, and a color based on that percentage.
The values will default to `"-"`, `0.0`, and `#ffffff` respectively.
A new package that holds the key structs that are used in the daymap and google classroom packages, as well as the main package has been added in order to fix some issues with struct conversion.
This package has been named "plat", short for "platform", and the structs have been placed in `plat/types.go`.
kvo changed title from (削除) This pull request will partially resolve issue #55 (削除ここまで) to Reorganise task pages and platform data types 2023年01月13日 09:52:47 +01:00
Moved all functionality with color calculations to resgen.go.
Moved default grade/mark value setting to resgen.go
Cleaned up unused variables in daymap/grades.go
kvo referenced this pull request from a commit 2023年01月13日 11:40:55 +01:00
kvo referenced this pull request from a commit 2024年06月10日 13:33:52 +02:00
kvo referenced this pull request from a commit 2024年10月05日 16:12:05 +02:00
kvo referenced this pull request from a commit 2025年07月27日 12:40:53 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvo/taskcollect!66
Reference in a new issue
kvo/taskcollect
No description provided.
Delete branch "Wasabi1092/taskcollect:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?