[GH-ISSUE #133] Please add a label for each request. It will be helpful. #53

Closed
opened 2026-03-16 13:00:31 +03:00 by kerem · 14 comments
Owner

Originally created by @quangnd0512 on GitHub (Sep 4, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/133

Originally assigned to: @liyasthomas, @sharath2106 on GitHub.

When i post or get a request and then i want to use it again. But i don't know where it is... same issue on postman...
Please add a label for each request. :D

Originally created by @quangnd0512 on GitHub (Sep 4, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/133 Originally assigned to: @liyasthomas, @sharath2106 on GitHub. When i post or get a request and then i want to use it again. But i don't know where it is... same issue on postman... Please add a label for each request. :D
kerem 2026-03-16 13:00:31 +03:00
Author
Owner

@liyasthomas commented on GitHub (Sep 4, 2019):

History section has entries with Method, Status code, URL, Path, timestamp. Isn't that enough?

<!-- gh-comment-id:527844846 --> @liyasthomas commented on GitHub (Sep 4, 2019): History section has entries with Method, Status code, URL, Path, timestamp. Isn't that enough?
Author
Owner

@liyasthomas commented on GitHub (Sep 5, 2019):

This could be related to #29
A collection of requests with a common label/name would be 💯 helpful. Make a collection of such requests and ability to share them.

<!-- gh-comment-id:528365558 --> @liyasthomas commented on GitHub (Sep 5, 2019): This could be related to #29 A collection of requests with a common label/name would be :100: helpful. Make a collection of such requests and ability to share them.
Author
Owner

@quangnd0512 commented on GitHub (Sep 6, 2019):

when i work with GraphQL. It wasn't enough to find a request quickly. thanks <3

<!-- gh-comment-id:528694661 --> @quangnd0512 commented on GitHub (Sep 6, 2019): when i work with GraphQL. It wasn't enough to find a request quickly. thanks <3
Author
Owner

@sharath2106 commented on GitHub (Sep 26, 2019):

@liyasthomas I would like to work on this issue. Let me know if no one has claimed to work on this yet.

<!-- gh-comment-id:535351001 --> @sharath2106 commented on GitHub (Sep 26, 2019): @liyasthomas I would like to work on this issue. Let me know if no one has claimed to work on this yet.
Author
Owner

@liyasthomas commented on GitHub (Sep 26, 2019):

@sharath2106 You're welcome. Assigning to you.

<!-- gh-comment-id:535352283 --> @liyasthomas commented on GitHub (Sep 26, 2019): @sharath2106 You're welcome. Assigning to you.
Author
Owner

@sharath2106 commented on GitHub (Oct 1, 2019):

@liyasthomas You should be getting a PR by today or tomorrow. First timer here.

<!-- gh-comment-id:536856259 --> @sharath2106 commented on GitHub (Oct 1, 2019): @liyasthomas You should be getting a PR by today or tomorrow. First timer here.
Author
Owner

@liyasthomas commented on GitHub (Oct 1, 2019):

@sharath2106
There is always a first.

<!-- gh-comment-id:536861075 --> @liyasthomas commented on GitHub (Oct 1, 2019): @sharath2106 _There is always a first._
Author
Owner

@liyasthomas commented on GitHub (Oct 3, 2019):

@sharath2106 just thought I should ping you for PR.

<!-- gh-comment-id:537918044 --> @liyasthomas commented on GitHub (Oct 3, 2019): @sharath2106 just thought I should ping you for PR.
Author
Owner

@sharath2106 commented on GitHub (Oct 4, 2019):

@liyasthomas Done with setting up data and the text box for the request name. Rendering the same in the history section is not happening even after introducing the fields in history.vue component and index.vue.

Screenshot 2019-10-04 at 7 51 03 AM Screenshot 2019-10-04 at 7 50 53 AM
<!-- gh-comment-id:538201812 --> @sharath2106 commented on GitHub (Oct 4, 2019): @liyasthomas Done with setting up data and the text box for the request name. Rendering the same in the history section is not happening even after introducing the fields in history.vue component and index.vue. <img width="1226" alt="Screenshot 2019-10-04 at 7 51 03 AM" src="https://user-images.githubusercontent.com/25933070/66176609-08d4ae80-e67c-11e9-8d75-3f7c2d88bd6b.png"> <img width="1220" alt="Screenshot 2019-10-04 at 7 50 53 AM" src="https://user-images.githubusercontent.com/25933070/66176610-08d4ae80-e67c-11e9-9c41-6bed147615b9.png">
Author
Owner

@liyasthomas commented on GitHub (Oct 4, 2019):

History data is fetched from localStorage. And also binded to it. After sending a request, check Dev tools > Application tab > Local storage > http://localhost:300 > history to see entries.

If label is missing in it, it means label is not written to localStorage.

<!-- gh-comment-id:538222384 --> @liyasthomas commented on GitHub (Oct 4, 2019): History data is fetched from localStorage. And also binded to it. After sending a request, check `Dev tools > Application tab > Local storage > http://localhost:300 > history` to see entries. If `label` is missing in it, it means label is not written to localStorage.
Author
Owner

@sharath2106 commented on GitHub (Oct 4, 2019):

@liyasthomas

This is the local storage -

Screenshot 2019-10-04 at 10 43 29 AM

Have tried to print the history entry in the console

Screenshot 2019-10-04 at 10 42 44 AM
<!-- gh-comment-id:538238156 --> @sharath2106 commented on GitHub (Oct 4, 2019): @liyasthomas This is the local storage - <img width="1680" alt="Screenshot 2019-10-04 at 10 43 29 AM" src="https://user-images.githubusercontent.com/25933070/66182820-1e55d280-e694-11e9-9e61-3db138170f20.png"> Have tried to print the history entry in the console <img width="1680" alt="Screenshot 2019-10-04 at 10 42 44 AM" src="https://user-images.githubusercontent.com/25933070/66182821-1eee6900-e694-11e9-91f5-25ee00ea0885.png">
Author
Owner

@liyasthomas commented on GitHub (Oct 4, 2019):

@sharath2106 everything seems okay to me.

<input aria-label="Label" type="text" readonly :value="entry.label">

Add 👆 this to history.vue

<ul v-for="(entry, index) in filteredHistory" :key="index" class="entry">

(👈 here)

....
......
....

</ul>

And repost.

<!-- gh-comment-id:538240318 --> @liyasthomas commented on GitHub (Oct 4, 2019): @sharath2106 everything seems okay to me. `<input aria-label="Label" type="text" readonly :value="entry.label">` Add 👆 this to history.vue ``` <ul v-for="(entry, index) in filteredHistory" :key="index" class="entry"> (👈 here) .... ...... .... </ul> ``` And repost.
Author
Owner

@sharath2106 commented on GitHub (Oct 4, 2019):

@liyasthomas Have already added those lines and then docker-compose up.

Screenshot 2019-10-04 at 11 11 24 AM
<!-- gh-comment-id:538246376 --> @sharath2106 commented on GitHub (Oct 4, 2019): @liyasthomas Have already added those lines and then docker-compose up. <img width="1171" alt="Screenshot 2019-10-04 at 11 11 24 AM" src="https://user-images.githubusercontent.com/25933070/66183799-b99c7700-e697-11e9-81d4-a9f1843e54d9.png">
Author
Owner

@liyasthomas commented on GitHub (Oct 4, 2019):

@sharath2106 could make a PR for all changes till now, I'll look into it.

Btw, latest version is not updated to Docker because of an issue on nuxt build from latest NuxtJS v2.10.0.

<!-- gh-comment-id:538257030 --> @liyasthomas commented on GitHub (Oct 4, 2019): @sharath2106 could make a PR for all changes till now, I'll look into it. > Btw, latest version is not updated to Docker because of an issue on `nuxt build` from latest NuxtJS v2.10.0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#53
No description provided.