# Showing "New" comments since last visit

**URL:** https://community.glideapps.com/t/showing-new-comments-since-last-visit/74185
**Category:** Ask for Help
**Created:** [June 17, 2024, 1:43pm UTC](https://community.glideapps.com/t/showing-new-comments-since-last-visit/74185 "2024-06-17T13:43:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew\_Davies](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrew_davies/32/41838_2.png) [@Andrew\_Davies](https://community.glideapps.com/u/Andrew_Davies)
#### Post date: [June 17, 2024, 1:43pm UTC](https://community.glideapps.com/t/showing-new-comments-since-last-visit/74185/1 "2024-06-17T13:43:57Z")

</div>

Hello all

Apologies if this has been discussed already, but I couldn’t find any relevant posts.

I have a “maintenance log” of issues. Users can add a comment to each issue.

This works great -

But now we have a few issues, and a few comments on each issue - I’d like to be able to show users unread issues and / or comments since their last log in.

I am a little stumped on how to do this - I can not see a way of adding a “date of last visit” column or an action to update a column on a visit to a particular page.

Any suggestions?

Andrew

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 17, 2024, 2:40pm UTC](https://community.glideapps.com/t/showing-new-comments-since-last-visit/74185/2 "2024-06-17T14:40:26Z")

</div>

> [@Andrew\_Davies](#):
>
> I am a little stumped on how to do this - I can not see a way of adding a “date of last visit” column or an action to update a column on a visit to a particular page.

This should be the exact way you do it. On entry to an issue’s details view, you should be able to set the current date/time to a user-specific column to indicate the last visit of that user to the issue.

Then use a query column + rollup to determine how many comments have been made since that last visit.

---

<div class="post-metadata">

### Author: ![Andrew\_Davies](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrew_davies/32/41838_2.png) [@Andrew\_Davies](https://community.glideapps.com/u/Andrew_Davies)
#### Post date: [June 17, 2024, 3:01pm UTC](https://community.glideapps.com/t/showing-new-comments-since-last-visit/74185/3 "2024-06-17T15:01:16Z")

</div>

Oh of course. I was being dumb. I was stuck at adding a time stamp when a user visits a detail page - but I guess I create an action that adds the time stamp - then opens the detail screen. I currently have the “Item click” action to just show “Details screen”. Will change that to an action.

Thanks loads!
