Closed bengelhaupt closed 4 years ago
Since this a openSAP-only feature I would like to keep as much code as possible in the corresponding build folder opensap
. Do you think it is possible to move it there?
Okay, Kommando zurück. Podcasts are coming for openHPI as well. So let's build this as a generic "external links" feature for the navigation drawer. Maybe we can keep this out of the Config
and use brand-specific string array resources instead?
Yeah, can do that. I would implement it somewhat as a per-flavor R.menu.navigation
. So the url's should be placed in the resources instead of the Config
? Will the podcasts url of openHPI be https://open.hpi.de/podcasts
?
Right now it is https://open.hpi.de/pages/podcast
. Yes, I would like to put that into the resources. I'll probably refactor all the legal links in the same way.
I did not go with a per-flavor navigation menu resource because it is a generic feature and the check whether it is supported when setting the url has to be done either way, so I just change the visibility of the items (or the whole group when none are supported).
Just like in picture 3 of #207. Enabled only for openSAP.
Fixes #207