Kong / Kong/insomnia

History times listed under wrong heading.....

Open
#6,957 0 comments 0 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

If you open an API call and click on the time/pin at the top right of the response portion of the UI you will get a drop-down that has "BASE ENVIRONMENT RESPONSES" as it's top title. Below that you will see sub titles "JUST NOW", "LESS THAN TWO HOURS AGO" and "OLDER THAN THIS WEEK". I expected the responses under "OLDER THAN THIS WEEK" to actually be older than this week. They are not.

![i7 SNAG- 12-31-2023 3 52 56 AM](https://github.com/Kong/insomnia/assets/90149731/32b1b274-927b-425d-a6fc-9e38bd515cc3)

### Actual Behavior

When I click on one of the items below "OLDER THAN THIS WEEK" I get responses that are only a few hours old.

![i7 SNAG- 12-31-2023 3 54 42 AM](https://github.com/Kong/insomnia/assets/90149731/70d09a7f-b10f-4617-92dc-66ab78aa6e5a)

### Reproduction Steps

1. Run a crap-ton of RST API tests
2. Click the time/pin at the top right of the response window
3. Go to the bottom of the list under "OLDER THAN THIS WEEK" and click the bottom item
4. Click on the "Timeline" tab to verify that it is not "OLDER THAN THIS WEEK".

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

8.5.1

### What operating system are you using?

Windows

### Operating System Version

Windows 10 22H2

### Installation method

download from the website

### Last Known Working Insomnia version

unknown

Contributor guide

Open the contributing guide

Research direction

Start with the response history dropdown opened from the time/pin control and use the provided reproduction steps to inspect entries under “OLDER THAN THIS WEEK.” Compare each entry with its Timeline tab timestamp; the issue is done when responses are grouped under headings matching their actual age.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.