Closed monmanuela closed 5 years ago
can I work on this?
Hi @pbrahmbhatt3 , go ahead! Do refer to the docs and ask if you have any questions 😄
Is this still being worked on?
@Aarabhi2017 Since the previous person seems inactive, feel free to work on this :)
@monmanuela In the scope of this issue's title, the enrollment table Existing Students
can also be improved. Some other aspects of the page should be changed too.
Existing Students
card flickers when clicked if the table is empty.No existing students in course.
message can be presented in a better way.Existing Students
has been opened, a page refresh is required to update it.Enroll Students
button doesn't provide any feedback to the user since the success/error message is shown at the top of the page (which may be missed unless you scroll to the top of the page)I think we need to create new issues for these, but do you think some of these can be added in this firstTimers issue?
@amrut-prabhu Thanks for pointing these out!
Existing Students
card flickers when clicked if the table is empty.- I feel that the
No existing students in course.
message can be presented in a better way.- If there are existing students, the table should not have empty rows at the bottom (since they can't be edited anyways).
- If student(s) are enrolled and the
Existing Students
has been opened, a page refresh is required to update it.
The issues mentioned above are valid concerns related to UI/UX. I checked the code though, it doesn't seem to have an easy fix. It needs more research into Handsontable
, so I don't see it as a first timer issue. @tanhengyeow, git blame says that you worked on it last time, so maybe you can advise further?
- Clicking the
Enroll Students
button doesn't provide any feedback to the user since the success/error message is shown at the top of the page (which may be missed unless you scroll to the top of the page)- The error message itself can be updated to be more user friendly.
This is part of #9346 and I'm working on it :)
Hi @amrut-prabhu
Thanks for pointing out your observations! They are valid and indeed they require some thoughts before we proceed on fixing them. Some of these issues have been pointed out in some other issues but it's good we reiterate them and keep track of them here:
We can tackle the easy ones first such as this below:
I feel that the No existing students in course. message can be presented in a better way.
Any better suggestions?
If student(s) are enrolled and the Existing Students has been opened, a page refresh is required to update it.
Refer to https://github.com/TEAMMATES/teammates/pull/9340#issuecomment-455873486
If there are existing students, the table should not have empty rows at the bottom (since they can't be edited anyways).
Reason for this is that Handsontable (HOT) requires a fixed number of rows to display. If there are only 1-3 rows (assuming there are only 1-3 students), it looks kinda odd that the HOT's height is only X pixels, compared to the enroll HOT presented directly below it.
Existing Students card flickers when clicked if the table is empty.
Valid point that I've not really looked much into. PRs/suggestions welcome :)
Clicking the Enroll Students button doesn't provide any feedback to the user since the success/error message is shown at the top of the page (which may be missed unless you scroll to the top of the page) The error message itself can be updated to be more user friendly.
For @monmanuela, you can kind of leave this section to the later part as there are plans to refactor the backend API to return enroll messages in a better way, refer #8985. Showing the current chunk of error messages in a snackbar isn't that user friendly either.
@monmanuela @tanhengyeow Thanks for your replies.
I feel that the No existing students in course. message can be presented in a better way. Any better suggestions?
I'm no UI expert by any means, but from my experience as an end user, how about we display the message in the expanded card (like the 2nd one below)?
Hi @monmanuela
I was trying to run the TEAMMATES on my local machine. When I try npm run start, It builds successfully but it never stops loading(I cannot see any data). I have followed the steps given in the document. Any idea on where I might be going wrong?
Hi @pbrahmbhatt3, seems that you're facing the same issue as this. Have you run the backend (./gradlew appengineStart
)? This is because npm run start
only runs the frontend :)
It works! Is this issue still open? If yes I would like to work on it.
@pbrahmbhatt3 Yes, go ahead. This issue only requires small changes in instructor-course-enroll-page
so it shouldn't take very long :)
master
branchSteps to reproduce
/web/instructor/courses
Enroll
buttonMore info
)Enrollment Results
table will appearExpected behaviour
The styling should look like this: