Commit Graph
59 Commits
Author SHA1 Message Date
MaXFeeD e5dfe104cd Presenting AbstractMakeConfig
- Each config provides its own data, different project type support, etc. in one convinient format.
- MakeModData, MakePackData, MakeScriptData, MakeJavaData, MakeNativeData, MakeSharedObjectData, MakeResourceData, MakeAssetData.
2025-05-10 15:12:54 +03:00
MaXFeeD 4ec40c3b7b Added tsconfig-only mode, includes got ignored and not overwrites original tsconfig.json
- Using .toolchain.tsconfig.json otherwise in that case, please add it to your gitignore.
- Parsing includes data via configs, should be improved in future.
2025-05-09 20:45:53 +03:00
MaXFeeD 8edecc8c19 Migrating to FileConfig, ToolchainConfig is no longer exists, GLOBALS.is_project_available 2025-05-09 18:34:06 +03:00
MaXFeeD 4028b8b040 Replaced ToolchainConfig.get_paths with expand_paths 2025-05-09 17:42:02 +03:00
MaXFeeD 4cff548641 Using FileConfig instead of ToolchainConfig, unique_folder_name separation 2025-05-09 17:06:03 +03:00
MaXFeeD 8b50098638 Moved adb resolve to .device 2025-05-09 14:36:06 +03:00
MaXFeeD aaa10f10b4 Config.merge_config(*, exclusive_lists)
- Filtering obtained config lists, instead of wholesome get_filtered_list stuff.
2025-05-09 12:19:25 +03:00
MaXFeeD ecc22ac34a Config.obtain which requires type and optionally constructor
- Config.obtain_config based on Config.obtain without implacing, added Config.obtain_list.
- Config.get_value supports callable as fallback.
- Rewritten some of existing accessors to Config.obtain's.
2025-05-09 11:12:08 +03:00
MaXFeeD eeb6b6297b Rewritten things to Config and FileConfig, lists kept for now 2025-05-06 20:52:12 +03:00
MaXFeeD dee5614140 Added FileConfig.get_path_to_config 2025-05-06 19:08:42 +03:00
MaXFeeD 5a86d22a1c Added Config.obtain_config, FileConfig.read_from_file raises error by default if file is non-existing 2025-05-06 19:06:24 +03:00
MaXFeeD 76960205b6 Config.replace_value to directly change passed values types, FileConfig.get(_relative)_path 2025-05-05 20:59:07 +03:00
MaXFeeD df0988101f Rewritten BaseConfig to Config and FileConfig to replace cringe types 2025-04-28 21:01:12 +03:00
MaXFeeD 98cc1bc7ed Rewritten pinging, pushing and native installation progresses to new toolkit
- Replaced whole GCC download with new queue_download_request, universal way to cache and redownload broken stuff.
2025-04-23 20:35:17 +03:00
MaXFeeD 158f51e7b3 Properly rerun application in InteractiveSession if needed 2025-04-23 18:21:25 +03:00
MaXFeeD f4f52ae041 Added choose_hint to select prompts, component installation, better styling, Y/N multiselection 2025-04-23 14:47:21 +03:00
MaXFeeD 2f344e5bc9 Rewritten progresses in fetch to session, now they uses 1.0 dimensions instead of 100.0, updated tests 2025-04-22 20:55:30 +03:00
MaXFeeD aaf23791a2 Checkbox is essential part of any review, use it honorably
- Select became more abstract, everything is ruled via create_choice_content, selection highlight fixes.
- Checkboxes have all select parameters, but also: selected_variants instead of single one, allow_to_choose_nothing to ensure in selection and on_checked with preventable event.
2025-04-22 20:22:19 +03:00
MaXFeeD d29fd8c2a7 Added on_checked implementation for Selectable, interact_on_enter for components 2025-04-22 20:06:01 +03:00
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