ude-soco / CourseMapper-webserver

A collaborative course annotation and analytics platform
https://coursemapper.de
MIT License
1 stars 0 forks source link

Edit course page #1258

Open qurat08 opened 2 days ago

qurat08 commented 2 days ago

User lands on course description page in two ways: 1) clicking on the course card on home or landing page 2) clicking on course initials in the square button on the left nav bar

The layout of the course description page should be changed to: (If you wish to see it in figma, its here: https://www.figma.com/design/Iy6e4BqclQh17KDU78ihI4/CourseMapper?node-id=2001-24071&node-type=canvas&t=Pg6Q7oUcR6oo9maI-0)

before enrolling in the course: image

after enrolling in the course: image

for course moderator (Edit buttons) image

When course moderator clicks on edit icon close to course name, rename functionality should be applied as it is for now.

When course moderator clicks on edit course image icon: this is the complete issue: https://github.com/ude-soco/CourseMapper-webserver/issues/1107

The same image will appear on the course card on home and landing page

When course moderators clicks on edit description icon, the text formatting options should appear (one option is to use the p-editor from PimeNG https://primeng.org/editor) image

Once anything (course name, description, display image) is edited, the save and cancel button appears at the bottom and clicking on save button saves the changes and show the success message as needed i.e. Course display picture is updated Course name is updated Course description is updated.

The moderator should be able to land on the course description page by using a new option 'Edit course' in the three dot menu with course name in the left nav bar (with this option the icon should be pencil icon used for editing generally). This three dot menu needs to be updated as: image Rename, Edit course, Share course, View course dashboard, Notification settings, Delete course.... the order is changed, just a new option Edit course is added... all these options are shown to the moderator, however, the only ones available to the enrolled user are: Share course, View course dashboard, Notification settings