This updates (all?) of Diffusion/Audit to new UI, included edit and other extra form pages. It's fairly complete but I don't know all the nooks and crannies so to speak to fully verify I didn't mess anything up.
Details
- Reviewers
epriestley - Commits
- Restricted Diffusion Commit
rP8f94aa8a0647: Update Diffusion UI
Tested creating new repositories, browsing, searching, auditing. Need more eyes.
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Looks great to me overall. I was expecting to be a little hesitant on some of these interfaces but I pretty much really like everything.
I couldn't find many real issues, mostly nitpicky stuff:
Technical stuff:
- I don't think this is related, but the "Table of Contents" on READMEs is missing some margin/padding:
- The "Tags" table on the main repository homepage doesn't have the blue header style that the other tables do:
- The "All Branches" and "All Tags" detail views have inconsistent table wrapping (one's a bare table, one has a wrapper header?):
- Double bottom border on commit detail pages at the end of the changesets? Probably not related.
- There are two top-secret "Lint" interfaces which are nearly impossible to get to and which have odd padding/margin issues. There's virtually no chance you can access these locally, but I can counterdiff you once this lands. They're usable, just missing some margin/blue:
- On search results page, missing (?) box around controls? Might be intentional since it looks OK, just seemed unusual to me:
Product stuff / general feedback:
- The clone stuff on home jumps out at me more as ugly since the rest of the page looks better, but that's on me -- I'm hoping we can fix it after T10366.
- Browse feels a tiny bit weird but there are some options we could add there now that might help flesh it out (e.g., sort directories first). Maybe we should shorten the date columns, too (e.g., only show "May 13" for same year, "9:12 AM" for same day)? They feel kind of cluttered now with the simpler table.
- Full-width README on "Browse" feels a little weird, maybe? It's consistent with home but there's no full-width content here.
- I like the "Show Search" compromise on Browse. I think this is an interface we can improve in the future, but I think this is a good step to balance concerns for now.
- On commits, in the header, maybe use $commit->getLocalName()? That will produce aabbccdd instead of rXYZaabbccdd. I don't think we need the extra prefix here, and as long as we have that element we might as well make it easy to copy/paste?
- Maybe omit policy header tag for file browsing? It's always the same as the repository, and we don't show it on other pages like "Commit". I don't think it's useful on any sub-pages.
- On file browse, we should probably turn these into actions at some point.
- I was a little worried about making file browse not full-width but it actually seems fine in practice.
- Commit detail can definitely be refined but the biggest issue (parsing messages) is on me and I don't think it got worse or anything, the unparsed messages were just sketchy to start with.
- I think you adjusted these at some point, but the black folder icons feel a little bit intense to me with the bluer color scheme:
src/applications/diffusion/controller/DiffusionController.php | ||
---|---|---|
306–315 | Odd indent. | |
315 | Oh, I think this is the thing I suggest replacing with getLocalName(). Since you're using formatCommitName(), the fix is to add a second true parameter for the "local" format: formatCommitName($stable_commit, true). |
I converted "Tags" and "Symbols" blind, any short path to testing those locally? I probably should build symbols locally, but dont know what Tags is about.
If you import libphutil locally it should have a couple of tags you can test, that's probably the easiest thing.
Otherwise, if you have a test repo, you can use git tag to tag stuff.
Let me look at symbols, I didn't check that.
On commits, in the header, maybe use $commit->getLocalName()? That will produce aabbccdd instead of rXYZaabbccdd. I don't think we need the extra prefix here, and as long as we have that element we might as well make it easy to copy/paste?
Any hints here, I can't seem to easily alter this function.
there still a few polish bits, but I think I got almost everything. Not sure how to change the date on the BrowseTable.