Open timlinux opened 6 years ago
CC for your interest @charlotte-morgan
@timlinux - thanks for tagging me here. I hope CRUD docs are not the same as CRAP maps :)
@Charlotte-Morgan :-)
CRUD - Create, Read, Update, Delete
More task:
Hi @timlinux
new project role here for lessons_manager...and make it editable by staff, lessons manager or project owner...
Can we just use group permission for this? And check the permission for CRUD-ing lesson?
Can we just use group permission for this? And check the permission for CRUD-ing lesson?
I think it is better model it as I described @ismailsunni - the permissions are specific to a particular project or organisation - IIRC the groups in django will be global across all projects which wont work.
@Gustry @ismailsunni @myarjunar Sorry I didnt make it clear but we should copy the interactions from changelogs: Show the section / lesson list in the side box, clicking on the box will take you to a menu of all sections / lessons, clicking on a specific lesson will take you to a read only render of that lesson
At the top right corner of the read only lesson render (which should look just like the worksheet example above) should show three icons:
Here are the mappings of the worksheet fields to the content on the rendered worksheet:
Notes from @timlinux on Gitter: :point_up: January 24, 2018 8:07 AM
For the table on the rendered lesson: The table should not be rendered if it is empty (we should still have the hover over star to add a specification). Once the first spec. is added the table can be rendered.
This one looks weird for me. We have no idea that there is hidden table and a hidden button to add a requirement It's quite hard to find the add new requirement button. Maybe we should still add a text if there is no table?
This one looks weird for me. We have no idea that there is hidden table and a hidden button to add a requirement It's quite hard to find the add new requirement button. Maybe we should still add a text if there is no table?
It also looks wierd having an empty table. As we discussed on zoom though, just make the whole div of the exercise section a hover target.
More niggles:
I thought the table is compulsory. If it's compulsory, when it's empty, it reminds you to fill it. You said we don't want a placeholder.
When you submit a new lesson there is no way afterwards to attach files or set the youtube or author details
I can't replicate this one. I can add new/edit youtube link or author.
Markdown in GitHub:
Display in GitHub:
Display in Projecta:
@christodewit I moved the table with markdown to a separate issue: #723
I fixed your first problem when you remove an answer. But I can't replicate your bug about adding a second question.
This is the specification for a new lessons app in projecta. The idea is that each project can create one or more lessons that teach people how to use their app. The lessons follow the same layout and approach as our work here:
https://github.com/kartoza/QGISTrainingWorkshop
The app should implement the following models / schema:
We will add word / character count limits to the various sections to constrain the content to around 2 pages. The outcome should be:
On the view we should add logic (@ann26 has previously done similar) to render the view as a PDF.
In a future ticket we will extend the lessons index page with a form which lets you tick a collection of lessons and generate a PDF containing only those lessons.
There should be an additional option to set a stylesheet on a per-project basis that will inform the look and feel of the worksheets. Maybe more simply we can just do this by letting the user provider two or three accent colours that are used for the margin icons, underlines etc. The project logo can appear at the start of every page.