Comments from other alerts showing on comments screen

Hello all

I’m building a Glide app with two tables:

  • Alerts (parent table)
  • Comments (child table linked to Alerts via a Relation)

On the Alert Detail screen, I display a Collection of preview comments using the relation to the Comments table.

Goal:
When a user taps a preview comment, it should open a full comments screen that shows only comments related to that specific alert.

Current Behavior:

  • Tapping a preview comment successfully opens my dedicated Comments screen.
  • However, the screen shows comments from other alerts as well instead of only the related ones.
  • It appears the parent alert context is being lost or not applied as a filter.

What I’ve Tried:

  • Using Show Screen actions (locks the screen to the Comments table).
  • Using Show Detail Screen → This Item from the parent screen.
  • Setting the Collection source to the Relation column.
  • Applying basic filters, but they don’t persist correctly after navigation.

Question:
What is the correct pattern to navigate from a related item in a Collection to a full comments screen while keeping the parent row context, so only comments tied to that parent alert are displayed?

Is this best solved with:

  • Relations only,
  • User-specific filters,
  • A parent-table-bound screen with inline lists,
  • Or another navigation/action pattern?

Tapping on a comment in the comments child table form withing the alerts detail screen should take you to a screen directly ties to that specific comment. I’m guessing rather than showing that specific comment row that the screen is tied you, you instead added a collection.

Even though the comment screen is connected to one specific row, adding a collection to the screen tied to the comments table will still show all comments.

Assuming you have an Alert ID in the comments table, you should be able to set a filter on the comments table (on the comment detail screen) that checks if the alert ID equals the screen value alert ID.

1 Like