Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(translation-feedback): console log incomplete postman import translations with stats and details #2301

Closed
wants to merge 3 commits into from

Conversation

bpoulaindev
Copy link
Contributor

Description

Provide useful logs while importing a Postman collection in Bruno.
Logs will display the number of collections concerned, the number of lines to change, and a translationLog of such type :

interface TranslationLog {
  [collectionName: string]: {
    "script"?: number[], 
    "test"?: number[]
  }
}

Next step : I would like to display some information about the translation failing or not in the UI, in the import location dialog. @helloanoop could I display data in the UI instead/in addition to that ?

image

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

@bpoulaindev
Copy link
Contributor Author

bpoulaindev commented May 13, 2024

Changes are available on my branch feat/ui-feedback
Proposition for some UI feedback to display (and copy) the errors :
**Default : **
image
**Opened : **
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant