I am not able to figure it out need help

Hello Kodular Helpers,

I’m currently building a notification history system using the Recycler extension. My goal is to combine notifications with the same date into a single card (showing both the title and subtitle). If the notification date is different, it should be added to a new card. However, I’m struggling to get the logic working correctly with the blocks I’ve set up.

Here’s the approach I’m using:

  • I’m storing the notification data in Firebase, where the tag is represented in milliseconds and the data is stored as a list (title, subtitle, etc.).
  • I want to compare the notification date from the Firebase data and combine titles/subtitles in the same card if the dates match.

I want to make like this :-1

Here’s a snapshot of the blocks I’ve tried so far, but I can’t quite figure out how to properly implement the comparison of dates and dynamically create the new cards.


Screenshot 2024-09-07 135603

Any guidance or example blocks would be greatly appreciated!

Thank you!

I just need help with the logic to group notifications by date. I can handle the rest of the UI and system management.

Is there anyone who could help me?

This post was flagged by the community and is temporarily hidden.

Firebase side Notification bucket

create a tag with today date an save all your title,subtitle in that 1 tag as values
eg…
07/09/2024 { value1,value2…}

App design side

when you get that tag by today date then compare tag’value with today date if both are equal then
create an as followig
1-parent V.arrangemnt
2-lable
3-spacer or margin
4-V-arrangement
5- then create your design in this V-arrangemnt according your choice and use values as text

1 Like

can you take your 10 minutes and implement the " App design side" it in blocks, so it will be easy understand

you have done your work in attached blocks…
when you get taglist then put condition in loop
if item=today date if true
then get value of that tag

then in got value implement all your designer blocks as i told you above

but what if the date yesterday have to notifaction and other date?, how combine

you can use my extension for this date/time management…

No more extension space is left in my project

check extension here…

I would be glad if you take your 10 minutes show it in blocks

if you dnt want to add extension…
then you can use Gsheet with automatic script that arrange your data automatically on new date