Better HN
topnewbestaskshowjobs
Log inSign up

chriscodepo8

32 karma · joined Nov 2, 2021 (5y ago) · 13 submissions

Submissions

1.

Rethinking Device Emulation in Browsers(christianheilmann.com ↗)

1 points · by chriscodepo8 · 4y ago · discuss

comment 4y ago · link · parent

Author here: for sure, but that's not the point. My point is that the initial experience for non-technical people using the web is horrible, and they will never ever get to the places you mention. The promise of the web as a medium that isn't paid for (and I worked in Radio, TV and Newspapers) is not a mainstream thing.

comment 5y ago · link · parent

Oh, I think I understand now. You mean when you use the debugger in Visual Studio Code the target browser dropdown only shows Edge or Chrome and not Brave?

That is weird and I wonder if it has something to do that brave hasn't got the CDP methods turned on that allows other software to remotely control it.

In essence, the debugger spawns a new instance of the browser and controls it remotely from VS Code, much like automated test tools do. It would be interesting to hear from Brave if there is interest in showing up there, too.

comment 5y ago · link · parent

I still want to understand the issue. The Sources tool is the same in Chrome and in Edge. And if you undock the devtools and you press CMD+Shift+I (or CTRL+I) on either Chrome or Edge you get a second DevTools instance to debug the first one. If you use a workspace, you edit files externally in either Edge or Chrome as they are the same thing. There is no difference in either of these use cases. What use case are you finding where it is different? I'm really confused.

comment 5y ago · link · parent

I updated the article with a preamble and flagged up on each heading which browser supports what.

comment 5y ago · link · parent

Author here: The first sentence explains this.

This isn't a "Here is what browser developer tools in each browser are like".

If you look for news on each of them, check out the post of my colleague Patrick, which does an awesome job covering news in all of them:

https://www.smashingmagazine.com/2021/09/devtools-cross-brow...

comment 5y ago · link · parent

Author here.

This all applies to Edge, too. I am also a huge keyboard fan and user and the command menu is incredibly useful. As to bringing Overrides to the main browser interface and not only to developer tools, I'd love to do some more research on that. We are not seeing much use of overrides at all and they are a pretty niche use case. That said, I see far too many people and companies resorting to browser extensions where a snippet or override could do the trick. I guess one of the issues is that they are limited to the user/machine right now and you can't share them in a team.

That said, we have some ideas in the making to bring command menu functionality to the browser URL bar. We'll see how this goes down with non-developer end users. As a interesting fact , which I did mention in the talk, we had a real issue with people accidently hitting F12 and getting developer tools without wanting them and we're still getting daily feedback that people are utterly confused as to what happens to their browser when they open.

comment 5y ago · link · parent

Author here.

We'd love to know what we can do better. What are you missing at https://docs.microsoft.com/en-us/microsoft-edge/devtools-gui... ? We lately spent a lot of time re-organising the documentation to cover different use cases, like people wanting introductions or in-depth details getting different starting points. The documenation is even available on GitHub to post issues and ask for features: https://github.com/MicrosoftDocs/edge-developer

comment 5y ago · link · parent

I am curious why you can edit Edge dev tools with Edge. There is literally a part of the article where I show that this is possible with a screenshot showing it on my Mac.

comment 5y ago · link · parent

Author here.

No, this isn't "a technical PR blog post promoting Windows Edge". It is, as explained in the first sentence, a write-up of a presentation I've given at an event. It is on my personal blog that I've maintained since 2006 and very much my own message.

> This is a talk that I’ve given at CityJS this September. I am a principal product manager for developer tools in Microsoft Edge and these are things I encountered during working on the tools, documenting them and going through user feedback.

Microsoft Edge is a browser based on Chromium and we joined the project quite some time ago, fixing hundreds of bugs, making the developer tools themeable, localisable and accessible to assistive technology. All of these changes have been submitted back to the Chromium core, so that Chrome, Brave and all the other browsers based on the same open source project also benefited from that. We work closely with the Chrome team and share a lot of ideas and plans for the future of the Chromium platform.

We differentiate in the UX of the developer tools, much like all Chromium based browsers differentiate in the interface for the end user.

I spent about 10 hours on the presentation and this morning about 3 hours turning the slides into this blog post. If my goal were to promote Edge, I could have done a much simpler, shorter and to the point post.

If you read the article, you might realise the things we're adding exclusively to the Edge devtools based on user feedback and demands, the focus mode and in-context explanations being one of the efforts, and the deep integration with VS code being another one.

As to whether these things are useful, I think I pretty clearly explained that this is exactly what we'd like people to tell us. Which is why there are several ways to contact the team and provide feedback.

comment 5y ago · link · parent

Author here. There are even more. $0 is only the current one, but you also have $1 to $4 as a history of the last ones/ I like that $_ is a reference to the last result of what you did in the console. I documented most here: https://docs.microsoft.com/en-us/microsoft-edge/devtools-gui...

comment 5y ago · link · parent

Author here: Yes it is in Edge DevTools, you can read up on how to here: https://docs.microsoft.com/en-us/microsoft-edge/devtools-gui...

I very much would advise against hacking the tools yourself, for the reasons you stated, but isn't it awesome that you even can do that?