Commit Graph
40 Commits
Author SHA1 Message Date
MaXFeeD 313f00e5d3 Removed prompt tests (unnecessary) 2025-04-22 14:19:29 +03:00
MaXFeeD 235998fa58 Rewritten both startup and new project creation to reviews, removed tests
- Improved template handling, writing a reason why this template is broken right on selector screen with scheduled updates.
2025-04-22 14:08:42 +03:00
MaXFeeD 20f3cbe42e Increased available feedback handlers count, requiring them
- Feedback.on_pre_request as reused application pre_run, Select.on_focus and implemented preventable acceptor.
- Bells on decline for both inputs and selectors.
- Review.on_receive_feedback, preventable Review.on_request_feedback (can be used to skip anything with fallbacks).
- Review.require_feedback to request specific feedback controls.
2025-04-22 14:06:44 +03:00
MaXFeeD cf8dc1665f request/clear_application + InteractiveSession, displays components in global application + example
- InteractiveSession can be run inside of another session, application will exit only when all components are cleared.
2025-04-19 19:16:55 +03:00
MaXFeeD 8dbf6b3ffe Dynamic explanation in components 2025-04-19 10:32:43 +03:00
MaXFeeD e43183f5c0 Added intermediate to progress with unicode fallbacks and example 2025-04-18 19:02:32 +03:00
MaXFeeD 3278abfd20 Requesting review from valuable guests with example, fallbacks, hotfixes 2025-04-18 16:58:29 +03:00
MaXFeeD fb017da746 Select returns_what support, fallbacks, prompt standartization 2025-04-18 13:01:23 +03:00
MaXFeeD a030b42c25 Rewritten prompt functions to Feedback: Input, Confirm and Select, parts of future Review 2025-04-15 20:52:23 +03:00
MaXFeeD 50930ace98 Removed questionary tasks with questionary itself, renamed tests to match real tasks 2025-04-11 14:38:32 +03:00
MaXFeeD 3f11247c3c pretty_print_success/attention/failure/yield, universal unicode fallbacks 2025-04-11 14:18:17 +03:00
MaXFeeD e7681c6e4c Ability to hide progress component states, passing percentage to constructor 2025-04-11 14:10:42 +03:00
MaXFeeD ee2ba1cc63 startup_stepwise (testSetup3) 2025-04-10 20:50:00 +03:00
MaXFeeD 7f0edfdf79 new_project_stepwise (testCreate3) 2025-04-10 19:45:38 +03:00
MaXFeeD 07c0e95cb9 Passing key_bindings to interactables, select_prompt_internal(selected_variant), input_prompt, confirm_prompt 2025-04-10 19:45:19 +03:00
MaXFeeD b7df677df1 Transferring max available height and tag to debugger, typos 2025-04-10 15:55:49 +03:00
MaXFeeD 36e72f2b98 Added 4 test tasks with new_project_questionary and startup_questionary, questionary itself of course 2025-04-07 20:55:19 +03:00
MaXFeeD 82a5fcb858 Tinting secondhand information, like description or hints 2025-04-07 17:38:07 +03:00
MaXFeeD ec7a2735e3 Rewritten setup task, components temporary cannot be installed/updated completely 2025-04-07 17:15:23 +03:00
MaXFeeD 22f8e0c139 Removed new project title, displaying directory right to create button instead of input 2025-04-07 13:49:44 +03:00
MaXFeeD 791c738f35 Rewritten new project task, added value getters for components, always_indent, project selection display fixes 2025-04-07 12:39:02 +03:00
MaXFeeD 0b69d89de0 Unwrapped shell from pushing, device connection, native installation (removing incapsulation) 2025-04-06 20:53:15 +03:00
MaXFeeD 87ecd871d7 Rewritten interaction to prompt-toolkit, things that uses shell directly (pushing, project creation and component installation) needs to be updated
- Project uses pretty_print widely to always write above interactable things (and support styling without colorama, so yeah, colorama removed too).
- Rewritten project selection, as a whole selection too, added text transformer to prompts.
- Added style and tags (to mark things/identifying stuff) to components directly, moved interactables to shell.
2025-04-06 20:28:49 +03:00
MaXFeeD 1966ee02f7 run_in_terminal replaced with print_formatted_text, outputs same with built-in function 2025-04-06 14:54:19 +03:00
MaXFeeD 1e5db34267 (run_)in_terminal tests, now migration begins 2025-04-06 12:56:47 +03:00
MaXFeeD ff4e8d4feb Separating style from application 2025-04-06 12:14:40 +03:00
MaXFeeD 53409336ec Defining progress text or update it later with percentage
- Styling for checkboxes, editables, progresses and more, dim cannot be used actually, so use bright colors instead everywhere.
2025-04-06 11:24:09 +03:00
MaXFeeD 3a1a6ed26a Rewritten Interactable, Selectable, Editable, Progress and Debugger to prompt-toolkit
- Everything has pretty similiar behavior to our custom shell, same visuals, same interactions.
- All components except Debugger can implement interactions out-of-box, focusable is optional, styling highly customizable.
- Combined with windows to minimum containerify things when implementing application logic.
2025-04-06 02:24:54 +03:00
MaXFeeD f9eeeaf1c4 AbstractInteractable based on FormattedTextControl + Window
- Replaced Label with AbstractInteractable in tests, added focusable for example.
2025-04-03 20:55:08 +03:00
MaXFeeD 39d8550af7 Added Button, CheckboxList, HorizontalLine and ProgressBar for tests 2025-04-03 18:58:43 +03:00
MaXFeeD f34c3ba727 prompt_toolkit tests 2025-04-03 18:14:23 +03:00
MaXFeeD 49f4f6032c Workspace task asserts 2025-04-03 17:32:06 +03:00
MaXFeeD 39b0857de4 Changed maintainers to actual information 2025-04-02 10:15:15 +03:00
MaXFeeD a5a1463adf Added prompt-toolkit, for now targeting slightly dropped 3.7 version (support ended in 2023, so libraries started dropping it, newest version works on 3.8) 2025-04-02 02:02:47 +03:00
MaXFeeD 8eb25ff1d2 PEP-561 2025-04-02 02:02:38 +03:00
MaXFeeD e14a41fcf7 Removed update components function 2025-03-31 20:45:49 +03:00
MaXFeeD 4e9571d5d1 Moving build files to project root, removed update function 2025-03-31 02:00:58 +03:00
MaXFeeD bcae7df76d Added contributing guide 2025-03-31 01:51:56 +03:00
MaXFeeD 43d901c90e Moving __main__ functions to cli for being able to do few sequences in one launch 2025-03-31 01:51:34 +03:00
MaXFeeD 10292c36ed Initial commit 2025-03-30 20:57:45 +03:00