Skip to content

Remember the state of comments when navigating out and back in #742

Open
@micahmo

Description

Is your feature request related to a problem? Please describe.
Currently, every time we navigate into a comment section, it is reloaded fresh.

Describe the solution you'd like
It would be nice if we could remember the state of the comments for a given post so that we can navigate out and back in without losing our spot. This would facilitate the following workflow (as an example).

  • I'm reading through the comments
  • I want to see the post's title/image as a reminder, so I navigate out to the main feed
  • I navigate back into the comments and want to pick up where I left off

Note that to avoid things getting stale, we can do this for only the most recently visited post. If I go to the comments for post A, then B, then A again, it's ok to reload.

For those familiar with Relay, this is how things worked there.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions