alexandrialibrary / Alexandria

Alexandria is a simple little card catalogue webapp with a terribly pretentious name.
MIT License
2 stars 1 forks source link

Angular control for the nav bar #49

Open hawkw opened 9 years ago

hawkw commented 9 years ago

I think that in order to support the level of sophistication I'd like, we're going to need to give the navigation bar its own controller. Some things that this controller ought to handle:

It would be ideal if the same nav bar could be used in both the main app and the admin app. That way, the navbar HTML code could be placed in defaults.ssp. The code for the controller itself would go in /assets/coffee/ or /assets/js/ so it can be compiled to scripts.js and linked in to both apps.

hawkw commented 9 years ago

I'm assigning this to @redbassett, since a) it's front-end, and b) it involves the JavaScript Angles Library, which I still do not really comprehend at all. Since most of the functionality is related to/relies on user accounts, I've put this in Christie.

However, I might start working on some of the simpler bits (e.g. highlighting the active component) as part of my trying-to-teach-myself-Angular process.

hawkw commented 9 years ago

This is obviously obsolete if we decide to do #63 instead.