Minor introduction of a sidenav and cleaned up details page. This would come with a sticky nav that saves whatever view the user is last on for each project. Default probably stay details view (for logged out users). This was based on our loose discussion over coffee.
I dig it. :)
Implementation details - I'm assuming each tab is really a separate page load? Also, the icon bar thing on the left does not exist and would need to be generic? (As opposed to a one off just for projects.)
Also, I think we'd still need a preference about which tab loads by default when you visit a profile - thoughts on that?
I think we could punt on the preference, and just stay with "details". It's at least not a regression and will be a better experience.
The sidenav would just be built as an option on our current sidenav ui library, so not too much work there. I think I can build all of this reasonably except the sticky preferences part.
Okay, if you make a UI I can hook it up and do sticky preferences. That's roughly going to be
- a new controller that loads the project, loads the sticky preference, then delegates to the correct, preference-specified controller
- sticky preference object + storage
- userPHID, objectPHID, preferenceData
- just going to stick it in projects application for now, though theoretically we could use it for other stuff maybe
What do the five icons correspond to? I'm grokking:
- board, e.g. https://secure.phabricator.com/project/board/15/
- current "profile", but with two columns and the feed getting a nice little box around it, e.g. https://secure.phabricator.com/project/view/15/
- edit members, e.g. https://secure.phabricator.com/project/members/15/
- edit main, e.g. https://secure.phabricator.com/project/edit/15/
Also, the "edit main" controller is a bit funky. Its kind of a view controller showing you just the project details and a transaction log against the project. You click "edit details" to actually get to the edit page. How does this fit into things here? (In particular, should the "edit details" page have this new left nav thing on it?)
We had an idea for this in the car which might let us get away without sticky / preferences:
- If the workboard has been initialized for the project, default to the workboard.
- Otherwise, default to the profile.
Not sure if that'll feel good enough, but it'd be a lot simpler if it works.