Commit Graph

269 Commits

Author SHA1 Message Date
Ankit Mahato
d64175728a Merge branch 'main' into dashbot-core 2025-09-28 16:38:22 +05:30
Ankit Mahato
3545c75cd5 Refactor terminal and remove duplicate code. 2025-09-28 13:55:32 +05:30
Udhay-Adithya
3bb9fb2531 refactor: split terminal models 2025-09-10 12:55:42 +05:30
Udhay-Adithya
eaa830ef21 feat: integrate DashbotTab into mobile requests page 2025-09-04 01:24:25 +05:30
Manas Hejmadi
60e4457e05 AI_UI_Designer_Prototype: Basic UI Implementation 2025-08-29 02:46:28 +05:30
Ankit Mahato
6e1f2b4773 Refactor AI model selection and config handling 2025-08-28 06:42:32 +05:30
Manas Hejmadi
2c756df2c4 Implemented AnswerTab for AI Output 2025-08-06 09:00:23 +05:30
Ankit Mahato
d491f0540d Refactor SSE response handling and display
Updated response body widgets to handle SSE output as a list of strings instead of a single string. Adjusted view options for SSE-related media types and refactored SSEDisplay to be a stateless widget that accepts a list of SSE events. This improves clarity and consistency in handling and displaying SSE responses.
2025-08-06 00:32:02 +05:30
Ankit Mahato
d1fe07ac8d Add 'Stop' label constant and use in SendButton
Introduces kLabelStop to consts.dart and updates SendButton to use the new constant when isStreaming is true, improving consistency in label management.
2025-08-05 19:50:13 +05:30
Ankit Mahato
f4e0f82125 Merge branch 'main' into better_networking/sse 2025-08-05 06:18:21 +05:30
Udhay-Adithya
0d7f1a9d5b fix: update authorization label and reorder request pane 2025-07-01 01:02:31 +05:30
Udhay-Adithya
171a118d38 feat: add authentication support with APIAuthType and APIAuthModel
- Introduced APIAuthType enum for various authentication methods.
- Created APIAuthModel with basic authentication fields.
- Updated RequestModel to include authType and authData.
- Implemented EditAuthType widget for selecting and managing authentication.
- Enhanced CollectionStateNotifier to handle authentication updates.

:wq
2025-07-01 00:57:10 +05:30
Manas Hejmadi
383b6ad4bc SSE: SSEDisplay Implemented along with SSE ResponseBodyView Type 2025-06-29 17:07:28 +05:30
Ankit Mahato
adf843e8bb Update consts.dart 2025-06-29 01:15:10 +05:30
Ankit Mahato
6b11ec5d84 Merge branch 'main' into add-feature-scripts 2025-06-28 17:59:12 +05:30
Ashita Prasad
9b54b3bf5a Merge pull request #730 from ayaan-md-blr/har_importer
Har importer
2025-06-23 05:07:38 +05:30
Ashita Prasad
7d2c29cc0d Update kJSSetupScript & add js_utils.dart 2025-06-22 21:23:55 +05:30
Udhay-Adithya
fe4858ecd0 feat: update pre-request and post-response script handling in CollectionStateNotifier
- Changed return type of handlePreRequestScript and handlePostResponseScript to Future<RequestModel> for better type safety.
- Updated the logic to return the modified request model after executing scripts.
- Ensured that the request model is updated correctly in the sendRequest method after executing the pre-request script.
2025-05-19 16:54:32 +05:30
Udhay-Adithya
0645ab1a33 feat: allow scripts to modify environment variables
Refactors pre-request script execution to support environment variable manipulation.

Introduces a simplified key-value map for the environment within the JavaScript context, allowing easier script interaction. Updates the `ad.environment` JS API accordingly.

Implements logic on the Dart side to translate the structured environment model to the simple map before script execution and merge changes back from the map to the model afterward, persisting the modifications.
2025-05-01 20:14:00 +05:30
Udhay-Adithya
36061f660a feat add pre-request script execution
Initializes JavaScript runtime during application startup.
Executes user-defined pre-request scripts before sending API requests, allowing modification of request details like URL, headers, and body.
Updates script execution environment for better scoping and uses synchronous evaluation.
2025-05-01 16:48:50 +05:30
Udhay Adithya
d9906cc88b Merge branch 'foss42:main' into add-feature-scripts 2025-04-25 23:29:23 +05:30
Udhay-Adithya
839d8b5c00 feat: add JavaScript scripting foundation
Introduces a JavaScript setup script that defines the `ad` helper object.
This `ad` object exposes APIs for manipulating request data, accessing response details, and managing environment variables within scripts.

Adds an `evaluate` function to execute JS code using the `flutter_js` runtime and log results or errors.
This establishes the core infrastructure for pre-request and post-response scripting.
2025-04-25 22:34:02 +05:30
Ankit Mahato
d55c414438 Update consts.dart 2025-04-23 04:16:14 +05:30
Udhay-Adithya
ef3867ef43 feat: add scripts tab to request pane and update tab structure 2025-04-21 23:31:55 +05:30
Nikhil
db3b343d82 Merge branch 'foss42:main' into add-feature-460 2025-04-14 09:20:51 +05:30
sumaiya shazad
40322ad909 complete changes for har importer #122 2025-03-26 05:54:05 +05:30
Nikhil
4866c1c520 Added alamofire 2025-03-23 15:19:53 +05:30
Udhay-Adithya
b64d453886 feat: add onboarding functionality and theme switch button 2025-03-17 17:30:48 +05:30
Ashita Prasad
9cf22669bf Merge pull request #525 from StormGear/add-feat-insomia
Added insomia importer
2025-02-24 12:52:33 +05:30
Ashita Prasad
b69a7d5e06 Move EnvironmentVariableType 2025-02-24 12:12:22 +05:30
Ashita Prasad
bbb3fa6364 Update import dialog 2025-02-23 05:51:11 +05:30
Ashita Prasad
67fca59ad4 Merge branch 'main' into main 2025-02-16 17:29:31 +05:30
Ashita Prasad
712d2d21a6 Update consts.dart 2025-02-16 17:24:00 +05:30
Ashita Prasad
0ddecf2163 Add constants 2025-02-16 13:18:48 +05:30
Mrudul-2
aa9e95df95 Added Share Functionality in the Code section by implementing a share-tray by using share_plus package 2025-02-13 17:06:22 +05:30
Ashita Prasad
5de7fd6c83 Merge branch 'main' into add-feat-insomia 2025-01-13 02:10:58 +05:30
StormGear
f4eaf94de3 made necessary name and typo corrections 2025-01-12 13:09:22 +00:00
Ashita Prasad
2c2db4ff21 Hint constants 2025-01-12 16:38:27 +05:30
Ashita Prasad
e33e79e2b4 untitled constant 2025-01-12 15:42:45 +05:30
Ashita Prasad
9339d9a8de Update consts.dart 2025-01-11 13:46:51 +05:30
StormGear
be7954ddd9 added necessary insomnia enums and exports 2025-01-06 15:03:56 +00:00
Ashita Prasad
3a7d9e893a Add Postman Collection version supported 2024-12-23 03:40:47 +05:30
Ashita Prasad
a0a0fd6bf8 Stateful import dialog 2024-12-22 04:52:48 +05:30
Ashita Prasad
329d0ef0c9 Add tokens 2024-12-12 05:22:39 +05:30
Ashita Prasad
4ca5d7b06d Add text dialog 2024-12-06 05:42:40 +05:30
Ashita Prasad
8197a9c2c8 updates 2024-11-30 17:28:48 +05:30
Ashita Prasad
c717b23f7b Update consts.dart 2024-11-30 16:57:13 +05:30
Ashita Prasad
a3536b021b refactor 2024-10-22 07:06:06 +05:30
Ashita Prasad
3e503a06c3 Update main package 2024-10-21 08:30:14 +05:30
Ashita Prasad
f63346ae9a show only in mobile 2024-10-21 05:10:21 +05:30