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

KON-684 Add Asci Tree for declaration errors and SnippetTest #1521

Merged
merged 19 commits into from
Nov 22, 2024

Conversation

nataliapeterwas
Copy link
Collaborator

@nataliapeterwas nataliapeterwas commented Nov 5, 2024

API - Enhanced Declaration Error Display

  • ASCII tree: Added an ASCII tree structure to display declaration errors, making error messages more organized and visually clear.

Before:
image

After:
image

  • Hyperlinks in assert architecture error message: Enhanced the existing ASCII tree structure by adding hyperlinks, allowing direct navigation to the file or import, improving developer efficiency.

Before:
image

After:
image

Core (maintenance) - Improved SnippetTest Validation

  • Issue: SnippetTest previously validated snippets by name, which could lead to inaccuracies due to duplicate names in different locations, and error messages displayed paths as plain text, making navigation slower.
  • Resolution: Updated the test to verify snippets by their file paths, ensuring unique identification and more reliable test outcomes. Additionally, introduced an ASCII tree structure and clickable hyperlinks in error messages, providing a clearer view and faster navigation for error resolution.

Before:
image

After:
image

@nataliapeterwas nataliapeterwas added the improvement nhancements to existing features or code label Nov 5, 2024
Copy link

@nataliapeterwas nataliapeterwas marked this pull request as ready for review November 5, 2024 22:08
@nataliapeterwas nataliapeterwas marked this pull request as draft November 22, 2024 10:43
@nataliapeterwas nataliapeterwas marked this pull request as ready for review November 22, 2024 10:55
@igorwojda igorwojda merged commit 133da13 into develop Nov 22, 2024
33 checks passed
@igorwojda igorwojda deleted the KON-684-add-asci-tree-for-declaration-errors branch November 22, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement nhancements to existing features or code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants