-
Notifications
You must be signed in to change notification settings - Fork 1
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
Request integration of Modules Taken Before Internship feature #34
Conversation
…ementation of highlevel 4
…class to the main table element
…en Prior To Others page
…ping Modules page
…en prior to internship
… Prior To Internship page
Conflicts: components/model.py
@@ -40,7 +40,8 @@ | |||
'components.handlers.students_affected_by_module.StudentsAffectedByModule', | |||
'/addModule', 'components.handlers.add_module_handler.AddModule', | |||
'/moduleTakenPriorToOthers', 'components.handlers.module_taken_prior_to_others.TakePriorTo', | |||
'/nonOverlappingModules', 'components.handlers.non_overlapping_modules.NonOverlappingModules' | |||
'/nonOverlappingModules', 'components.handlers.non_overlapping_modules.NonOverlappingModules', | |||
'/moduleTakenPriorToInternship', 'components.handlers.modules_taken_prior_to_internship.TakePriorInternship' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pylint: Line too long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this pylint issue should be ignored to make reading and modifying of the routes more easily.
# will have input data as function is called from button | ||
input_data = web.input() | ||
ay_sem = input_data.sem | ||
raise web.seeother('/moduleTakenPriorToInternship?sem=' + ay_sem) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pylint: Missing final newline
test/test_app.py
Outdated
response = root.click(linkid="home-page", href="/nonOverlappingModules") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pylint: Trailing whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a) Added hyperlinking to module codes for pages for Non-Overlapping Modules, Modules Taken Prior To Others ✅
b) Renaming, reordering for home page and sidebar links ✅
See other comments
c) Standardizing navigation options section for Module Information, Fixed and Tentative Module Mounting pages ✅
Not urgent, but this box is pretty too huge
</div> | ||
<br> | ||
|
||
<table class="table display dataTable table-bordered table-hover text-center" id="modules-taken-prior-intern-table"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should table be sortable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should table be sortable?
Well it depends on what the users are looking for.
If they only want a list of modules, ignoring the number of students, sorting by module code/name will make it easier for them to check with their own list of modules.
If they want to consider the number of students as the primary concern, then sorting by number of students should be allowed.
Also, when no data, vs when data exists, column sizes vary greatly:
If really needed, I can try to find a fix for this (although this will NOT be in the priority list for UI fixes).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should table be sortable?
Yeah, right now the table does not have sort/search, unlike the other pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😱 appeared after resetting again
Resolved
<li><a href="#">Before Specified Module</a></li> | ||
<li><a href="#">Before Internship</a></li> | ||
</ul--> | ||
<li><a href="javascript:void(0)">Prior Modules Taken</a></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless link that closes sidebar, consider disabling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sidebar will be redesigned at one of the refinement sprints. Please raise an issue in Github for this UI issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…modify into modsBeforeInternship
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes requested
- bold
all modules
in description of module information to match the style offixed module mountings
andtentative module mountings
- swap button value and tooltip of the buttons
tentative module mountings
andfixed module mountings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested changes fulfilled, all functionalities implemented work as expected,
Changes implemented in this branch:
a) Added hyperlinking to module codes for pages for Non-Overlapping Modules, Modules Taken Prior To Others
b) Renaming, reordering for home page and sidebar links
c) Standardizing navigation options section for Module Information, Fixed and Tentative Module Mounting pages