# Journal previous day and next day navigation

**URL:** https://community.silverbullet.md/t/journal-previous-day-and-next-day-navigation/1169
**Category:** Tricks & Techniques
**Created:** [October 27, 2024, 4:57pm UTC](https://community.silverbullet.md/t/journal-previous-day-and-next-day-navigation/1169 "2024-10-27T16:57:25Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![nickb](https://community.silverbullet.md/user_avatar/community.silverbullet.md/nickb/32/1239_2.png) [@nickb](https://community.silverbullet.md/u/nickb)
#### Post date: [March 22, 2025, 9:48pm UTC](https://community.silverbullet.md/t/journal-previous-day-and-next-day-navigation/1169/6 "2025-03-22T21:48:11Z")

</div>

I think widgets need widget.new now?

> [@Edge: Lua widgets now require using widget.new](https://community.silverbullet.md/t/edge-lua-widgets-now-require-using-widget-new/1971):
>
> For those on the #Edge builds and using Lua to build widgets (tables returning markdown, html etc.): you now need to wrap these tables in widget.new, see: [https://silverbullet.md/Space%20Lua#Widgets](https://silverbullet.md/Space%20Lua#Widgets) What you get in return for this breaking change, is the ability to attach event handlers, so you can now build a custom button widget like so: ```space-lua function myButton(text) return widget.new { html = "\<button\>" .. text .. "\</button\>", events = { click = function() edit…

---

_[View the full topic](https://community.silverbullet.md/t/journal-previous-day-and-next-day-navigation/1169)._
