Tandem-App-Tuni / Kivako-App

This repository contains the application code.
0 stars 2 forks source link

ListOfMatches date search, ListOfStudents activity column, Register page bugfix #81

Closed EAkkanen closed 3 years ago

EAkkanen commented 3 years ago

1) ListOfMatches admin page date range search feature Many changes required for this one. Three new DOM elements were added: 2 datepickers and a "reset dates" button. Various new methods were needed to support date range filtering (handleToDateChange, handleFromDateChange, compareDateRange, onResetDates). The "handleSearchChange" method was replaced with "handleAllSearchChanges" that filters the results twice, based on the textfield search criteria as well as the date range criteria.

2) ListOfStudents admin page shows student activity The column for user activity now correctly displays the user's activity status with either a check icon or a red X (called a "close icon" in MUI).

3) Register page/Sign up page bugfix A simple fix for a small bug. Previously it was possible for a new user to choose the same language multiple times for "want to learn".

EAkkanen commented 3 years ago

Made Janaka's requested changes of removing console logs for asynchronization checks. Added a maxDate value to "to-date" as well that limits the latest selectable date to "current date".