Hello,--Are there best practices for a good, informative DevTools console message? In particular - what is the recommendation for linking to documents containing more information?
- What are the best practices for ensuring the link will remain operational as long as needed (e.g. how to ensure the link used in the console message is resilient to moving the document to another location)?
- Is using a URL shortener okay (and which one)?
- Is it possible and okay to use mark-up (e.g. <a href="...">...</a>) in the console message?
Context: I am considering tweaking the CORB console messages (see https://crrev.com/c/1069344). I have a draft of a document containing more information here (although I am still debating moving the contents to either a new section in the CORB explainer or one of chromium.org site pages).Thanks,Lukasz
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/15dcc842-1834-436a-bd03-b6d4134e6282%40chromium.org.
You received this message because you are subscribed to the Google Groups "platform-predictability" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-predicta...@chromium.org.
To post to this group, send email to platform-pr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-predictability/CADjAqN4jW_w45ZEnY%2BBzrynGmjZ85m8L6Yh8NuWezSOMx94iCg%40mail.gmail.com.
In https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/frame/deprecation.cc you can find some console message that have been discussed a lot, if nothing else. URL shorteners are used, always goo.gl it seems.I think it's technically possible to have formatted console messages, but have no idea how to do it from within blink.
console.log("This is normal text %cThis is styled text", "font-size: 24px; color: blue;");
--On Wed, May 23, 2018 at 8:13 PM Charles Harrison <cshar...@chromium.org> wrote:Usually we have a short message which links to the relevant feature on chromestatus.com, which can be updated without binary changes. +platform-predictability will have the most accurate advice though :)--On Wed, May 23, 2018 at 12:11 PM Łukasz Anforowicz <luk...@chromium.org> wrote:Hello,--Are there best practices for a good, informative DevTools console message? In particular - what is the recommendation for linking to documents containing more information?
- What are the best practices for ensuring the link will remain operational as long as needed (e.g. how to ensure the link used in the console message is resilient to moving the document to another location)?
- Is using a URL shortener okay (and which one)?
- Is it possible and okay to use mark-up (e.g. <a href="...">...</a>) in the console message?
Context: I am considering tweaking the CORB console messages (see https://crrev.com/c/1069344). I have a draft of a document containing more information here (although I am still debating moving the contents to either a new section in the CORB explainer or one of chromium.org site pages).Thanks,Lukasz
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/15dcc842-1834-436a-bd03-b6d4134e6282%40chromium.org.
You received this message because you are subscribed to the Google Groups "platform-predictability" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-predicta...@chromium.org.
To post to this group, send email to platform-pr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-predictability/CADjAqN4jW_w45ZEnY%2BBzrynGmjZ85m8L6Yh8NuWezSOMx94iCg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "platform-predictability" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-predicta...@chromium.org.
To post to this group, send email to platform-pr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-predictability/CAARdPYd3NkLG7%3DzgQYJFe%3DrZdPchfC%2Bo3WsoA-q06gv%2Br64%2Bow%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-predictability/CAK_TSXLXm4VVhfByTN4shrdEutFPmJS27jjzxFTOARB7KD4cYw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABc02_LYxFLhJQ9%3D1y_-z%3DCbv_xAFZ45pDUen%3D4svPTHQo2zmg%40mail.gmail.com.