Skip to content

SuperNanno 0.1.23

Latest

Choose a tag to compare

@hbisneto hbisneto released this 13 Jul 21:36
f059aab

What's New On SuperNanno 0.1.23?

NannoKit.Dialogs

NannoKit.Dialogs is a modern, lightweight set of file and message dialogs built for Textual applications.

It provides a clean and high-level APIs for common user interactions:

  • OpenFile — select one or multiple files
  • OpenFolder — browse and select a folder
  • SaveFile — choose a location and filename with optional overwrite confirmation
  • messagebox — flexible notification and confirmation dialogs

Directory/File Dialog

MessageBox
  • Modern native dialogs: We now use nannokit-dialogs for elegant and intuitive confirmations when saving, opening files, and handling unsaved changes.
  • Line numbers support via command line:
    supernanno -l file.py or supernanno --no-linenumbers — full priority over configuration.
  • Visual Open File dialog: Ctrl+O now opens a nice file picker instead of just a text field.
  • Improved dirty state handling: Clearer and friendlier confirmations before discarding changes, opening new files, or exiting.

Tip

Designed to integrate seamlessly into SuperNanno and work standalone in any Textual app.

Note

Read more about NannoKit.Dialogs

Improvements

  • Much more polished user experience with consistent dialogs (MessageBox with YES/NO/CANCEL buttons).
  • More robust and user-friendly error handling with a "Try Again" option.
  • Enhanced set_language with better detection and preservation of visual settings (including line numbers).
  • Expanded and more resilient CLI parser.
  • linenumbers configuration now supported in .supernannorc.
  • Tooltips on keyboard shortcuts.
  • Textual updated to the latest version.

Bug Fixes

  • Unsaved changes confirmation flow now uses dialogs instead of requiring another key press.
  • Correct priority between CLI args, config file, and defaults.
  • Several small robustness improvements in load/save/open flows.
  • Cleanup of legacy manual confirmation code.

Technical Notes

  • Internal version: 0.1.23
  • New dependency: nannokit-dialogs
  • Textual updated to 8.2.8

How to Update

pipx install supernanno==0.1.23
# or
bash dev.sh

Heitor Bisneto(@BisnetoDev)