So i'm building a Time Machine

So i'm building a Time Machine

Ok, admittedly it's more like the Way Back Machine than the H.G. Wells version.

I realized recently that there are a couple of challenges I face as Dev Manager that having a visual history of webpages would solve.

Challenge 1: Visual History

Once we've made a UI change, it's sometimes difficult to compare it to what it looked like previously. And even harder to review how the UI has changed over time.

I try to overcome this by asking devs to take a before/after screenshot and paste in the TFS (Team Foundation Server) work item but it's not something we do consistently.

Winter image and Spring image

Image caption: Tracking intended visual changes over time

Challenge 2: Spotting Visual Regressions

When undesired UI regressions sneak in (some unwanted padding here, a paragraph missing there..) they often get overlooked at the testing stage and not spotted until days or weeks later.

No alt text provided for this image

Image caption: Accidental visual changes sometimes can take a while to be noticed

The solution: A time machine

Well, as near as i'll probably ever get to creating a time machine..

If i'm perfectly honest, it's not as fancy as a time machine.

It's a .NET Core Console Application that I run whenever we do a deployment to Leasing.com (sometimes multiple times a day), that runs Selenium to take screenshots in Mobile, Desktop and Tablet dimensions of 30 main pages, then save them to Azure Blob Storage and Azure Table Storage.

Then a simple .NET Core MVC Web Application retrieves and displays those images from a particular 'run'.

I'd like to develop this even further to

  • Identify visual changes between deployments by using an image diff library and highlighting image differences for easy visual detection or automated notification.
  • Show the evolution of a page over time.

Summary: It will benefit us in 'the future'

The slightly annoying thing about this, is that it would have been a great thing to do about a year ago, then today I could go back in time to see UI changes on various pages.

That said, I don't think it will be long before the phrase "check the time machine" will become commonplace in the office after it has been in use for a number of weeks.

I'll create another post with some screenshots including image diffs hopefully.

-- Lee

UPDATE: My Time Machine Part 2

要查看或添加评论,请登录

Lee Englestone的更多文章

  • AI Hackathon Project BusinessModelMaker.ai

    AI Hackathon Project BusinessModelMaker.ai

    For the currently live Azure AI Developer Hackathon, I decided to dust off an idea i've been holding on to for a rainy…

  • Userware Joins Manchester Digital

    Userware Joins Manchester Digital

    Userware is an innovative software development consultancy providing web, desktop, mobile AI and XR development…

    1 条评论
  • Combining Top Down and Bottom Up Innovation

    Combining Top Down and Bottom Up Innovation

    I believe the best innovators are capable of adopting many mental models and approaches when it comes to innovation…

  • End-To-End Innovation

    End-To-End Innovation

    TLDR; Innovation needs to happen at every stage of the value discovery, design and delivery process including customer…

    1 条评论
  • Putting Generative AI Tours Live

    Putting Generative AI Tours Live

    A while back when OpenAI and ChatGPT were starting to gain popularity, I took it upon myself to learn how to call the…

  • How Calm Whipped Up a Storm Book Review

    How Calm Whipped Up a Storm Book Review

    Disclaimer: I was sent this book free of charge and asked whether I would consider reviewing it. I have no incentive to…

    3 条评论
  • Growth Hacker Marketing Book Review

    Growth Hacker Marketing Book Review

    I know I recently said I would be reading less and learning less in favour of more building and business development…

    3 条评论
  • 2025 A Year of Bringing Ideas to Life

    2025 A Year of Bringing Ideas to Life

    I've written previously (though I can't find the link) about how like to spend my time focused in one of three areas…

  • SendMyself.com Launch Postponed Indefinitely

    SendMyself.com Launch Postponed Indefinitely

    I've decided not to launch SendMyself.com.

    2 条评论
  • A Simple Voice Controlled AI Assistant in C#

    A Simple Voice Controlled AI Assistant in C#

    TLDR; A week ago I wanted to see if I could make calls to AI endpoints from inside an XR experience using my natural…

    1 条评论

社区洞察

其他会员也浏览了