There is no visual distinction between lessons in a module and lessons that are not.
We should move the border styles and border color settings from the course outline block to the module block to better distinguish between the two types of lessons.
If doing the above does not provide enough of a visual separation, then we may need to consider adding the _Other Lessons_ heading above lessons that are not part of a module.
Discussion here - p1602494083011500-slack-C013QUH20TS
I think the Minimal block style for the module shouldn't have a border (or at least have the option to disable border), so the best bet would be adding the Other Lessons header.
I didn't find a good design solution yet. Some screenshots:




















Personally, I most like option 6. But I think the "Other classes" should also be styled (Probably in the Course Outline Block). Opinions? Other ideas?
cc @pablohoneyhoney
We should definitely add some spacing above the Other lessons section, so that it's distinct even if there is a collapsed module. The same style as Lessons inside the module could be good, but the bigger header as in option 5 does look better.
Maybe also a horizontal top border / separator above the Other lessons section?
We should definitely add some spacing above the
Other lessonssection, so that it's distinct even if there is a collapsed module. The same style asLessonsinside the module could be good, but the bigger header as in option 5 does look better.
Maybe also a horizontal top border / separator above the Other lessons section?
Some screenshots with this test:








I was exploring a little some approaches to separate it in the editor. I think the best approach will be changing a little how we add the lessons without modules. Instead of adding everything in the same InnerBlocks, we'll have 2 separate InnerBlocks - One for the modules and one for the lessons. To the interface don't be confusing, I'm thinking to add customized appender buttons, like "Add module", and "Add lesson without a module" (this still would need a better name).
The bad part is that we can't just add 2 InnerBlocks in the same block. We'll need to create some new blocks for that to work only as a container. It'll add some extra complexity to our code, but it works. We can create it locked, so the users can't add/remove/reorder these blocks that we'll use only like a container.
This approach will also solve the weird case, where the user can add lessons between modules, and after saving we reorder it sending the lessons to the bottom.
@renatho Maybe we should post about this in the Sensei Design Slack channel and get Pablo's opinion before we get too far down a particular path.
@renatho Maybe we should post about this in the Sensei Design Slack channel and get Pablo's opinion before we get too far down a particular path.
Will do! :)
➤ Renatho Rosa commented:
This card is blocked waiting for Designs feedback.
Most helpful comment
@renatho Maybe we should post about this in the Sensei Design Slack channel and get Pablo's opinion before we get too far down a particular path.