Replies: 2 comments
-
Something else I noticed: If a comment contains checkboxes, either checked or unchecked, and you hover over them does your cursor show the "loading" icon despite the site no longer loading. |
Beta Was this translation helpful? Give feedback.
-
GitHub does indeed return markdown content, which means that the app needs to handle the conversion to html by itself.
Code blocks should be doable too, though we may need to add some lazy loading rendering, because loading all highlighting syntaxes for all languages would have some scalability and performance issues.
Actually insights option is just a html rendering of a json output from the regular metrics, but with a static configuration. So there's no stuff loading in the background, but it could be some remnants of the css of other page of the web app (since it shares some part of css). The code snippet below contains the current insights configuration: metrics/source/app/metrics/index.mjs Lines 212 to 246 in 3553137
Overall, these issues does not requires too much changes or refactoring I think. I'll add an issue for tracking these changes. Glad you enjoy this feature though 😄 ! |
Beta Was this translation helpful? Give feedback.
-
Recently tried out the insights option of the metrics page.
There, I noticed that for issues, Pull requests, etc. the formatting is not always the same as in the source itself.
As an example, insights displays the following for an issue comment I made a while back:

Meanwhile, on GitHub is the issue actually looking like this:

A few things are noticeable:
I assume this could be because of markdown rendering? Iirc does GitHub's public events API return content as markdown in the case of comments and such...
Whatever the issue is, I hope this can be further improved as the insights option is rather nice.
Beta Was this translation helpful? Give feedback.
All reactions