Skip to content

Conversation

Sudo-Ivan
Copy link
Owner

  • Implement MicronParser class with inline formatting support
  • Support for headings, dividers, colors, and ASCII art
  • Add monospace font for proper text rendering
  • Enable text selection and scrolling in rendered content

- Implement MicronParser class with inline formatting support
- Support for headings, dividers, colors, and ASCII art
- Add monospace font for proper text rendering
- Enable text selection and scrolling in rendered content
@Sudo-Ivan Sudo-Ivan changed the title AddMicron renderer Add Micron renderer Sep 28, 2025
@deepsource-io
Copy link

deepsource-io bot commented Sep 28, 2025

Here's the code health analysis summary for commits c0f60d5..b41c966. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@Sudo-Ivan Sudo-Ivan self-assigned this Sep 28, 2025
- Introduced ascii_art_scale parameter to adjust font size for ASCII art.
- Enhanced text rendering logic to detect and scale ASCII art appropriately.
- Updated _color_to_flet method to be static for better accessibility.
- Updated test cases to reflect the new functionality of the Micron renderer, ensuring it returns a Column containing styled Text controls.
- Improved assertions to check for proper formatting, scroll behavior, and control properties.
- Adjusted test descriptions for clarity and accuracy.
@Sudo-Ivan
Copy link
Owner Author

image

- Add docstrings,
- Add section/header indentation
- Add color validation regex.
…cess

- Updated the text extraction logic to use public attributes instead of private ones, enhancing readability and maintainability.
- Adjusted corresponding unit tests to reflect the changes in attribute access.
- Updated dark and light theme styles for headings to include bold formatting.
- Improved handling of backticks for text formatting, allowing for better toggling of styles.
- Refactored text accumulation logic to streamline character processing and ensure proper formatting.
@Sudo-Ivan
Copy link
Owner Author

Current Issues:

  • Text alignment
  • Certain characters being stripped from words (regex)

@Sudo-Ivan Sudo-Ivan closed this Sep 29, 2025
@Sudo-Ivan Sudo-Ivan deleted the micron-renderer branch September 29, 2025 02:54
@Sudo-Ivan Sudo-Ivan restored the micron-renderer branch September 30, 2025 07:14
@Sudo-Ivan Sudo-Ivan reopened this Sep 30, 2025
@Sudo-Ivan Sudo-Ivan changed the base branch from main to master September 30, 2025 08:54
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.

1 participant