moodle-an-hochschulen / moodle-local_boostnavigation

Moodle plugin which tries to overcome some fixed appearance behaviours of Boost's nav drawer in a clean way
GNU General Public License v3.0
39 stars 28 forks source link

FR: Use the Moodle activity icons inside the collapsible activity node instead of the generic "activity" icon #65

Closed danowar2k closed 3 years ago

danowar2k commented 4 years ago

It was mentioned to us that the collapsible activity node only displays activities with the generic "activity" icon (originally a database icon, FontAwesome mapped to fa-share-alt).

It would be nice if the activity nodes would have the Moodle activity icons. Is this something that would be worthy of a pull request? If so, would you like a replacement or an additional setting (boolean "Use Moodle core icons for activities" or something like that)?

abias commented 4 years ago

Hi Daniel,

thank you for this nice improvement proposal. In fact, I wanted to realize the same when I added the activity nodes to the plugin, but, back then, it was more time-consuming than initially expected and I had to postpone it.

Here's why:

Summing up: Feel free to build a solution, I would be grateful to review your PR.

abias commented 3 years ago

Hi @danowar2k ,

the possibility to change the icons is now implemented in https://github.com/moodleuulm/moodle-local_boostnavigation/commit/d4318caa850a9d5e56ce2d86f7712dd13345e9c3. I also tried to greyscale the icons with CSS, but that didn't look good.

I hope that the patch helps you anyway.

Cheers, Alex

danowar2k commented 3 years ago

Thank you very much for your work! (sorry I couldn't focus on a PR myself)