[PR #4440] [MERGED] feat(common): introducing ability to set custom collection import size limit #4796

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4440
Author: @joeljstephen
Created: 10/15/2024
Status: Merged
Merged: 10/23/2024
Merged by: @jamesgeorge007

Base: nextHead: feat/update-collection-import-size


📝 Commits (3)

  • a8a708d feat: new platform flag to assign custom collection import size limit
  • 68439a0 refactor: updated related i18n strings to adapt to the customizable import size limit feature
  • af0a20c feat: introducing new limits field to the platform definition

📊 Changes

5 files changed (+32 additions, -14 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+2 -2)
📝 packages/hoppscotch-common/src/components/importExport/ImportExportSteps/FileImport.vue (+8 -2)
📝 packages/hoppscotch-common/src/platform/index.ts (+12 -10)
packages/hoppscotch-common/src/platform/limits.ts (+7 -0)
📝 packages/hoppscotch-selfhost-web/src/main.ts (+3 -0)

📄 Description

Ticket

  • Closes HFE-615
  • Fixes #4139

Description

This PR adds the ability to set custom collection import size limit and change it from the default value of 10MB. The size limit for selfhost-web will now be 50MB.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 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/4440 **Author:** [@joeljstephen](https://github.com/joeljstephen) **Created:** 10/15/2024 **Status:** ✅ Merged **Merged:** 10/23/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/update-collection-import-size` --- ### 📝 Commits (3) - [`a8a708d`](https://github.com/hoppscotch/hoppscotch/commit/a8a708dffde78d0f2d707088ef54db67e3f9a559) feat: new platform flag to assign custom collection import size limit - [`68439a0`](https://github.com/hoppscotch/hoppscotch/commit/68439a0fdce42aab771d32f7641b385bfe531219) refactor: updated related i18n strings to adapt to the customizable import size limit feature - [`af0a20c`](https://github.com/hoppscotch/hoppscotch/commit/af0a20c85eb69239b8507c95de11700d1a0a507b) feat: introducing new limits field to the platform definition ### 📊 Changes **5 files changed** (+32 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+2 -2) 📝 `packages/hoppscotch-common/src/components/importExport/ImportExportSteps/FileImport.vue` (+8 -2) 📝 `packages/hoppscotch-common/src/platform/index.ts` (+12 -10) ➕ `packages/hoppscotch-common/src/platform/limits.ts` (+7 -0) 📝 `packages/hoppscotch-selfhost-web/src/main.ts` (+3 -0) </details> ### 📄 Description ### Ticket - Closes HFE-615 - Fixes #4139 ### Description This PR adds the ability to set custom collection import size limit and change it from the default value of 10MB. The size limit for selfhost-web will now be 50MB. ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:18:08 +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#4796
No description provided.