Adding an event log

I asked Cursor for the best of both worlds:

Each line can be grouped if there are multiple states from the same sensor in a row.

I do the same with Fable on the criticism I had for him to get the best version of each side.

We’ll be able to compare :smiley:

The post-patch version of Fable 5:

Good thing, though I blew my afternoon Claude quota with all this :joy:

I also prefer the Fable 5 design, but it’s really just a small difference.
However, I see that it only handles one date field. And it’s true that Cursor’s proposal for dates was better.

Lol, yeah, it stings ^^ And impossible to share it … :grimacing:

It’s true that when testing the Fable 5 design in real life, I ultimately find it more comfortable to use.

So it’s actually quite interesting, when you select a date, you « jump » to the date but you can see the days around it, so it’s super practical!

True, you’ll see when you use it, but yes, it’s an interesting idea.
Does the top-of-page filter remain sticky at the top, though?

The date remains sticky but not the filters:

Oh yes ^^ No, on my end, I was more referring to the page header with the filters + dates + search:

Because when you search in a history log, you like to be able to filter quickly ^^

Yes I agree. I’ll start again as soon as I have credit again Claude Code :smiley:

You really went all out given the number of PRs opened today :grinning_face:

@Terdious the header is now sticky, but only the device type selection.

I tested it and it’s really clean!

Sticky — yes, I think it’s a good idea, but not for the entire header: date + room + search sticky would take up ~140px of height on mobile, almost a fifth of the screen. What I did:

  • the filter bullets by category remain stuck at the top when scrolling (a single compact, horizontally scrollable line, with an opaque background) — it’s the tool we use the most while browsing the feed;
  • the day headers stick just below, so while scrolling we always see « which day » + « which filters »;
  • search and date remain at the top of the page — we access them with a quick scroll, and the « Return to Live » button / the « N new events » badge remain floating anyway.

So, I think we’re going with Fable 5’s proposal! :rocket:

The PR:

If anyone wants to test it, it’s possible this morning or at lunchtime. Otherwise, I plan to merge in the early afternoon. :slightly_smiling_face:

As I mentioned earlier, this is a low-risk development: it’s purely a cosmetic update. We’ll be able to continue improving it even after it’s in production, since there are no changes to the data model.

Thanks to Claude Fable 5 for this implementation! :raising_hands:

Great, it’s merged, it will be included in the next version of Gladys :slight_smile:

This feature is available in Gladys Assistant 4.82:

Thanks to everyone for your help and feedback :raising_hands: