Skip to content
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

88 bugfix dashbord block homework sorting #90

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

Verdoner
Copy link
Contributor

The timebutton now shows when homework is sorted on the block/homework feed on the dashboard.
Fixed by creating the correct html elements in sort.js and altering the data sent to the client.

Also added some attributes in filter.js to match the expected attributes of the timebutton.

The eventlistener created by clickInfo.js is not applied for these buttons and should be worked on in the future 👯

@Verdoner Verdoner requested a review from Dk1080 November 26, 2024 10:11
@Verdoner Verdoner linked an issue Nov 26, 2024 that may be closed by this pull request
Copy link
Contributor

@Dk1080 Dk1080 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently only the button shows but when filtering, the button becomes unpressable and only work after refreshing.

Skaermoptagelse.2024-11-26.131605.mp4

@Verdoner
Copy link
Contributor Author

As mentioned.... the timebutton does not have any eventlisteners applied to them, since the eventlistener is created during the initialization of the page instead. This issue causes the timebutton to not have any functionality after filtering or sorting them.

As written, this should be fixed in a future issue.

@Dk1080
Copy link
Contributor

Dk1080 commented Nov 26, 2024

Sorry about that. The functionality of code works and the code is well written. Good job.

@Verdoner Verdoner merged commit 360070d into main Nov 26, 2024
4 of 5 checks passed
@Verdoner Verdoner deleted the 88-bugfix-dashbord-block-homework-sorting branch November 26, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BugFix] Dashbord Block Homework Sorting
2 participants