web-cat / code-workout

CodeWorkout: a programming practice and self-study web site
https://codeworkout.cs.vt.edu
227 stars 82 forks source link

Add "My workouts" and "My exercises" to Gym menu #200

Open s-edwards opened 3 years ago

s-edwards commented 3 years ago

Since individual users can author workouts and exercises, we should probably add links under "Gym" to access a user's own authored workouts and exercises. If they're public, they're already listed in the gym, but seeing them on a separate page for easy editing would be nice.

Basically, this would be a separate "owner" view for workouts and one for exercises.

If we do this, we probably need to separately group and/or indicate whether the exercises and workouts are public or private, and possibly whether they are associated with a course. Or do we not show course-oriented resources and only show stuff that doesn't fit in a course? Currently, the course home page is intended to provide access to course-specific workouts and course-specific exercises, so maybe these under the gym only provide access to non-course items.

Concerns:

Ln11211 commented 3 years ago

Hello, I want to do this issue, is this issue for a first timer ?

s-edwards commented 3 years ago

These would be good for someone to get started with if they are new to the project. However, even "first timer" issues doe require some rails knowledge/experience, and probably a bit of learning about the data model and the way permissions are implemented through CanCan. But if you're familiar with rails and CanCan and that general background info, this could be a useful way to become familiar with the application.