Assuming a view with a contextual filter based on a field "category" that is a select list with a limited number of values: what is the best approach to dynamically generate a simple list of links (based on available values) at the top of the view to allow a user to navigate the categories? I want to expose the values as links and keep the clean url structure that contextual filters create. See screen below for reference.
In the past, I've hacked together a basic hard-coded solution using hook_views_pre_render and the l() function, but I'm wondering what the best practice would be.