-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a report on external review status #3819
Add a report on external review status #3819
Conversation
* @returns {number} | ||
*/ | ||
function compareOutstandingReview(a, b) { | ||
console.assert(a.current_stage === b.current_stage); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this console.assert needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'd like to either keep it or turn it into an exception, although I'll add a better error message. The function doesn't do a reasonable sort on features whose current stages are different, so if the code ever changes to ask it to, we should notice that somehow. I lean toward a console message rather than an exception, because a bad sort doesn't make the page useless, and an exception probably would.
: nothing | ||
), | ||
error: e => { | ||
console.error(e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to keep this console.error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, since this branch results in a useless page, and people who encounter it should have a message they can paste to us in their bug report. But I should give it a better error message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There's a circular dependency in the generated openapi javascript, which is very similar to the one in OpenAPITools/openapi-generator#6140 but caused by using the
discriminator
field in theLinkPreview
object. It doesn't appear to cause any concrete problems other than a warning during rollup, but I've sent OpenAPITools/openapi-generator#18503 to fix it in their repository.Screenshot of the WebKit report:
![Screenshot of WebKit reviewer report](https://private-user-images.githubusercontent.com/83420/325727668-98a76e2e-6470-4c0a-a702-543965bd8d42.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjQ0NjUsIm5iZiI6MTczOTQyNDE2NSwicGF0aCI6Ii84MzQyMC8zMjU3Mjc2NjgtOThhNzZlMmUtNjQ3MC00YzBhLWE3MDItNTQzOTY1YmQ4ZDQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA1MjI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkNGFkNGQ0MmNiOWMzYjg2ZmY0Nzc0ZGJmMDMyZjA2NDYzNDdkNmQwYzAxZDE0ZjQwMWM5MmU4M2UxZWZmZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.FtMCvAQ9eZhyw7wIJNax_Iynrz4CVydj0GTnoOMVgrI)