Conversation
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff 08c0bf1...160c42c.
|
limitedmage
left a comment
There was a problem hiding this comment.
Very cool! Left some comments/questions.
|
Before merging a change that introduces so many UI elements, I'd definitely ask for a design review to ensure that my additions match the rest of the product. My incompetent observations from a UX and UI design POV:
|
|
Also, a short Loom demo would help me see this in action and better understand what it does. (If you want to get a round of design review, then I'd probably demo it after the changes to show the polished version.) |
|
Oh, I just saw you tagged Rob as a reviewer. I was only looking at the tags, looking for |
|
Thanks! Great to see it come to life. But I'll echo what @vdavid said — this needs a fair amount of design changes, which is going to be hard to do in a PR review. Process wise, let's make sure people know they have someone on the design team to collab with earlier. Also love the idea of a This PR might have to stay parked until I've had time to do the designs and a chance to get it all working locally end-to-end (+1 for Looms too!). I'm starting on the designs, and getting it working locally, but it's my first week so will take a little bit longer than usual 🙏🏼 |
|
Thanks for sharing your take, @toolmantim! To be fair, I think the PR review is a good place to do this. I've seen it done many times this way and I usually found that it helped the designer to see a working version of the feature, and then iterating on the design worked out well and was usually fairly quick. (I wouldn't expect more than a few days in this case.) Btw we already have the "design-qa" tag, just we also have a few more, and I never know which one to use :) |
|
Thanks. Yeah, I'd agree on smaller stuff or draft PRs. And nothing beats working software! But as soon as it hits multiple screens and many related PRs then some other types of collabs earlier can be helpful from my side. But here is good for now! Stay tuned… |
43837ce to
26b948e
Compare
|
@juliasourceress, @toolmantim, @vdavid I've updated the PR according to new designs, and would appreciate your reviews. |
toolmantim
left a comment
There was a problem hiding this comment.
Thanks @erzhtor! I just pushed a few design changes around wording, color and spacing.
A few small things, that are totally non-blockers:
- It might be nice to re-focus the "Key" input after successfully adding a key
- The error message for duplicates is a raw pg validation error message — not sure if intentional, but perhaps could be handled nicely?
- I spotted you can't add multiple key-value pairs with the same key but different values, which was a bit unexpected. But perhaps that's by design?
…e condition to improve accessibility fix(RepoMetadata.tsx): fix aria-label syntax to use double quotes instead of single quotes
… repository metadata button based on viewerCanAdminister variable
feat(colors.scss): extract --light-blue color variable
2662bda to
c81a45c
Compare
…nd deleteRepoKeyValuePair to deleteRepoMetadata to improve clarity and consistency
|
Codenotify: Notifying subscribers in OWNERS files for diff 08c0bf1...160c42c.
|
Bundle size report 📦
Look at the Statoscope report for a full comparison between the commits 160c42c and d8f53d2 or learn more. Open explanation
|
fix: run "bazel configure"
72ac796 to
160c42c
Compare
|
Thanks, @toolmantim for the review and feedback.
I have todo on my list regarding nicer error messages for crud operations, so will handle them separately.
I asked the same question initially, but turned it was made intentionally by design, here is a slack discussion. TLDR nobody from customers who are already using did ask this feature, so we decided to keep as is until getting an explicit request. |
Part of https://github.com/sourcegraph/pr-faqs/issues/96.
Currently, repo metadata can be added directly only via GQL API or src cli. The PR:
Test plan
sg startrepository-metadatafeature flagaddRepoKeyValuePairAPIScreenshots
Screen.Recording.2023-04-25.at.23.14.35.mov