Refactor user dropdown logic into reusable component #1381
Labels
app: projectroles
Issue in the projectroles app
internal
Changes invisible to the user or APIs (e.g. refactoring and optimization)
Milestone
Sequel to #1380, also needed for #1366.
Similar to the sidebar, we want to be able to provide the user dropdown links also in an Ajax view for possible client side UIs. And similar to the sidebar, the logic for the dropdown is contained in the context processor, template and template tags.
So, you guessed it: we need to refactor the user dropdown in a similar way to the sidebar.
Spec
get_user_links()
method toAppLinkContent
helper created in Refactor sidebar logic into reusable component #1380request
should probably be the only arg required_site_titlebar_dropdown.html
and related template tags into new methodsite_app_processor()
_site_titlebar_dropdown.html
TestProjectSidebar
. Testing with both regular user and adminTasks
site_app_processor
The text was updated successfully, but these errors were encountered: