[PR #4687] [MERGED] chore: format collection contents prior to export #4902

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4687
Author: @shipko
Created: 1/22/2025
Status: Merged
Merged: 2/6/2025
Merged by: @jamesgeorge007

Base: patchHead: pretty-export


📝 Commits (2)

  • 9ffc8f8 Making prettifier json for team exporter
  • 02479ea fix(pretty-json): prettified yet another path of export functionality

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/collections/index.vue (+2 -2)
📝 packages/hoppscotch-common/src/helpers/backend/helpers.ts (+1 -1)

📄 Description

What's changed

I noticed that indentation is used in all methods of exporting data in JSON format. However, there is no such thing when exporting command collections. Fixing it

  • Not Completed
  • Completed

🔄 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/4687 **Author:** [@shipko](https://github.com/shipko) **Created:** 1/22/2025 **Status:** ✅ Merged **Merged:** 2/6/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `pretty-export` --- ### 📝 Commits (2) - [`9ffc8f8`](https://github.com/hoppscotch/hoppscotch/commit/9ffc8f8718a3cfa95ba8e1030166414b6375f33f) Making prettifier json for team exporter - [`02479ea`](https://github.com/hoppscotch/hoppscotch/commit/02479ead331b0f2173272b04343435a16b524664) fix(pretty-json): prettified yet another path of export functionality ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/helpers/backend/helpers.ts` (+1 -1) </details> ### 📄 Description ### What's changed I noticed that indentation is used in all methods of exporting data in JSON format. However, there is no such thing when exporting command collections. Fixing it - [ ] Not Completed - [x] Completed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:23:52 +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#4902
No description provided.