Prabashwara Seneviratne (@realbashlk) 's Twitter Profile
Prabashwara Seneviratne

@realbashlk

I write code and write about writing code.

Tinkerer ⚙️ | Traveler 🌍 | Impatient 💨
Sri Lankan 🇱🇰 in Prague 🇨🇿

ID: 1373272911096774662

linkhttps://www.frontendundefined.com calendar_today20-03-2021 13:59:20

180 Tweet

38 Takipçi

91 Takip Edilen

Prabashwara Seneviratne (@realbashlk) 's Twitter Profile Photo

Improved the design of the monthly post sign up with a background colour to make it stand out against the rest of the page. #buildinpublic How can I improve this even more?

Improved the design of the monthly post sign up with a background colour to make it stand out against the rest of the page.

#buildinpublic How can I improve this even more?
Prabashwara Seneviratne (@realbashlk) 's Twitter Profile Photo

Confidently said during a meeting that we can't style the underline in underlined text with CSS. But a quick search revealed text-underline-offset, text-decoration-color and text-decoration-thickness🤦‍♂️

Prabashwara Seneviratne (@realbashlk) 's Twitter Profile Photo

Spent the day getting the Cypress integration tests to run on Github actions. The solution? - Get cypress to run in a fixed timezone using the TZ environment variable - Use Next's preview mode to make it skip caching the result of getStaticProps.

Prabashwara Seneviratne (@realbashlk) 's Twitter Profile Photo

My fight against time continues as I still can't get Next.js to run well with fake time. Spent a long time digging into why the site was not showing in cypress only to find that using cy.clock() to set a fake time causes Next to not render 🤦‍♂️ github.com/vercel/next.js…

Prabashwara Seneviratne (@realbashlk) 's Twitter Profile Photo

I give up. I can't stop time. Not with Next.js being so difficult with fake time. Instead we will have tests that break every year 😅

I give up. I can't stop time. Not with Next.js being so difficult with fake time.

Instead we will have tests that break every year 😅