mirror of
https://github.com/usebruno/bruno.git
synced 2026-03-27 10:21:44 +00:00
* fix: specify OpenAPI 3.x in error messages for file uploads and URL validation Updated error messages in ConnectSpecForm and ConnectionSettingsModal to clarify that only OpenAPI 3.x specifications are valid. Enhanced useOpenAPISync hook to reflect the same specificity in error handling for invalid URLs. * feat(OpenAPISpecTab): add pretty-printing for JSON content in API spec viewer Implemented a new function to pretty-print JSON content for improved readability in the OpenAPISpecTab component. This enhancement ensures that JSON specifications are displayed in a more user-friendly format while leaving YAML content unchanged. * feat(OpenAPISyncHeader): resolve and display absolute file paths for local sources Added functionality to resolve relative file paths to absolute paths for better user experience in the OpenAPISyncHeader component. Implemented state management and side effects to handle path resolution based on the source URL, enhancing the display of local file paths. * feat(OpenAPISyncTab): enhance collection status display and add endpoint counting utility Refactored the CollectionStatusSection to streamline the display of collection drift status, integrating loading states and improved messaging for initial sync scenarios. Introduced a new utility function to count HTTP endpoints in OpenAPI specifications, enhancing the overall functionality of the OpenAPISyncTab. Additionally, updated the OpenAPISyncHeader and OverviewSection to utilize stored specification metadata for better user experience. * refactor: improve OpenAPI Sync endpoint handling - Enhanced the logic for adding new requests by ensuring existing files are verified before removal to prevent accidental deletions. - Streamlined the process of adding new endpoints, including checks for existing files and merging requests to maintain user customizations. - Added comments for clarity on the purpose of changes, particularly regarding filename collision prevention and file content verification. * style(OpenAPISyncTab): update styles for improved visual feedback - Changed background color for the 'type-spec-modified' class to a warning color for better distinction. - Updated text color and background for the SyncReviewPage to enhance readability and visual hierarchy. - Adjusted default expanded states for endpoint sections to improve user experience during sync reviews. * chore: update .gitignore and enhance OpenAPISyncTab components - Added new entries to .gitignore for agent-related files and skills-lock.json. - Modified StyledWrapper to improve overflow handling and added sticky headers for better visibility. - Introduced loading state in SpecDiffModal with a spinner for improved user feedback during rendering. * feat(OpenAPISpecTab): integrate fast-json-format for improved JSON rendering - Replaced the JSON parsing and stringifying logic with fast-json-format for better performance in pretty-printing API specifications. - Updated StyledWrapper in OpenAPISyncTab to change background and text colors for enhanced visual consistency. - Modified DisconnectSyncModal button to include a secondary color for improved visibility during user interactions. * fix(OpenAPISyncTab): correct punctuation in status messages and subtitles - Removed unnecessary trailing periods in messages related to syncing and restoring specifications across CollectionStatusSection and OverviewSection components. - Updated SyncReviewPage to correct grammatical error in the description of spec updates. * fix(OpenAPISyncTab): update URL validation to use isHttpUrl - Replaced isValidUrl with isHttpUrl in ConnectSpecForm and ConnectionSettingsModal components to ensure only valid HTTP URLs are accepted. - Updated the logic for enabling the save button based on the new URL validation method. * fix(OpenAPISyncTab): normalize source URL before validation - Trimmed the source URL in ConnectionSettingsModal to ensure consistent validation with isHttpUrl. - Updated state initialization for URL and filePath to use the normalized source URL, improving handling of user input.
71 lines
892 B
Plaintext
71 lines
892 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
bun.lockb
|
|
node_modules
|
|
yarn.lock
|
|
pnpm-lock.yaml
|
|
.pnp
|
|
.pnp.js
|
|
bun.lockb
|
|
bun.lock
|
|
|
|
# testing
|
|
coverage
|
|
|
|
# production
|
|
build
|
|
chrome-extension
|
|
chrome-extension.pem
|
|
chrome-extension.crx
|
|
bruno.zip
|
|
*.zip
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# local env files
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
# next.js
|
|
/renderer
|
|
/renderer/.next/
|
|
/renderer/out/
|
|
/test-results/
|
|
/playwright-report/
|
|
/playwright/.cache/
|
|
|
|
#dev editor
|
|
bruno.iml
|
|
.idea
|
|
.vscode
|
|
.cursor
|
|
.claude
|
|
.codex
|
|
.agents
|
|
.agent
|
|
skills-lock.json
|
|
|
|
# Playwright
|
|
/blob-report/
|
|
|
|
# Development plan files
|
|
CLAUDE.md
|
|
AGENTS.md
|
|
*.plan.md
|
|
|
|
# packages dist
|
|
packages/bruno-filestore/dist
|
|
packages/bruno-requests/dist
|
|
packages/bruno-schema-types/dist
|
|
packages/bruno-converters/dist
|