[PR #1150] [MERGED] Handle postman subfolders when importing json #3091

Closed
opened 2026-03-17 00:44:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1150
Author: @florinmirosnicencu
Created: 9/8/2020
Status: Merged
Merged: 9/8/2020
Merged by: @liyasthomas

Base: masterHead: handle_postman_subfolders_when_importing_json


📝 Commits (7)

  • 5535c12 Implement sub folder flattening logic
  • 22df034 Implement sub folder flattening logic
  • 9298b27 Fix sub folder name composition
  • 6811bdd Make the sub folder children appear
  • 2e3017b Revert changes from case where name is not picked up when collection contains only folders
  • 7352236 Pick up collection name even if children are only folders
  • 321f7ac Clean up

📊 Changes

1 file changed (+43 additions, -0 deletions)

View changed files

📝 components/collections/import-export-collections.vue (+43 -0)

📄 Description

Hello everybody,

I have created this pr in order to fix this issue #850 .

It's based on the idea mentioned by @exussum12, but instead of a space between subfolder names I have chosen -- for better clarity.

Looking forward to your feedback.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/1150 **Author:** [@florinmirosnicencu](https://github.com/florinmirosnicencu) **Created:** 9/8/2020 **Status:** ✅ Merged **Merged:** 9/8/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `handle_postman_subfolders_when_importing_json` --- ### 📝 Commits (7) - [`5535c12`](https://github.com/hoppscotch/hoppscotch/commit/5535c126d733ba487127691478e757c7e964b7d0) Implement sub folder flattening logic - [`22df034`](https://github.com/hoppscotch/hoppscotch/commit/22df034237c5c73748ecaa402a70b10412fe6c1f) Implement sub folder flattening logic - [`9298b27`](https://github.com/hoppscotch/hoppscotch/commit/9298b27be1b22cb67fbca244a3a65ce097f442e0) Fix sub folder name composition - [`6811bdd`](https://github.com/hoppscotch/hoppscotch/commit/6811bdd0c6f1663fb54e1063fe08609e9c1f5e6b) Make the sub folder children appear - [`2e3017b`](https://github.com/hoppscotch/hoppscotch/commit/2e3017bf2c6233beacbc3b525736e1baaf5c8b8a) Revert changes from case where name is not picked up when collection contains only folders - [`7352236`](https://github.com/hoppscotch/hoppscotch/commit/7352236b860b0532e8190547a81c18620314554f) Pick up collection name even if children are only folders - [`321f7ac`](https://github.com/hoppscotch/hoppscotch/commit/321f7acc0eef32f39646b8739064e165ae393f3e) Clean up ### 📊 Changes **1 file changed** (+43 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `components/collections/import-export-collections.vue` (+43 -0) </details> ### 📄 Description Hello everybody, I have created this pr in order to fix this issue #850 . It's based on the idea mentioned by @exussum12, but instead of a space between subfolder names I have chosen -- for better clarity. Looking forward to your feedback. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:44:23 +03:00
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#3091
No description provided.