[PR #293] feat: Add cURL Import Option In Dropdown Menu #215

Open
opened 2025-12-29 08:32:07 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/293
Author: @dCodes03
Created: 11/5/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (2)

  • bf1fdf0 feat: Add cURL Import Option to Create Dropdown Menu
  • f0e4699 added cURL option somewhere else

📊 Changes

3 files changed (+168 additions, -4 deletions)

View changed files

src-web/components/ImportCurlDialog.tsx (+126 -0)
📝 src-web/components/Sidebar.tsx (+33 -3)
📝 src-web/hooks/useImportCurl.ts (+9 -1)

📄 Description

Problem

Users had to discover the cURL import feature by accident (pasting into URL bar or via Import Data dialog, atleast I discovered it by accident). This made it hard to find and use.

Solution

Added a dedicated "cURL" option to the Create dropdown (Cmd+N) that opens a professional dialog for importing cURL commands.

feel free to close/ignore if unwanted

image image

🔄 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/mountain-loop/yaak/pull/293 **Author:** [@dCodes03](https://github.com/dCodes03) **Created:** 11/5/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`bf1fdf0`](https://github.com/mountain-loop/yaak/commit/bf1fdf0e024db6cff086fb5f6f488365d277cc65) feat: Add cURL Import Option to Create Dropdown Menu - [`f0e4699`](https://github.com/mountain-loop/yaak/commit/f0e469947085031a38a94bc04fe9f5c84e86e76c) added cURL option somewhere else ### 📊 Changes **3 files changed** (+168 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `src-web/components/ImportCurlDialog.tsx` (+126 -0) 📝 `src-web/components/Sidebar.tsx` (+33 -3) 📝 `src-web/hooks/useImportCurl.ts` (+9 -1) </details> ### 📄 Description ### Problem Users had to discover the cURL import feature by accident (pasting into URL bar or via Import Data dialog, atleast I discovered it by accident). This made it hard to find and use. ### Solution Added a dedicated "cURL" option to the Create dropdown (Cmd+N) that opens a professional dialog for importing cURL commands. feel free to close/ignore if unwanted <img width="431" height="314" alt="image" src="https://github.com/user-attachments/assets/ca22bb27-013b-4980-bf34-5b57056037d7" /> <img width="801" height="551" alt="image" src="https://github.com/user-attachments/assets/479bf020-7766-4c19-b1c1-724923719cec" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:32:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak-mountain-loop#215