fiux
This commit is contained in:
3
gui.py
3
gui.py
@@ -1399,7 +1399,8 @@ class App:
|
|||||||
)
|
)
|
||||||
dpg.add_button(
|
dpg.add_button(
|
||||||
label="[+ Max]",
|
label="[+ Max]",
|
||||||
callback=lambda s, a, u, idx=i: _show_text_viewer(f"Entry #{idx+1}", self.disc_entries[idx]["content"])
|
user_data=i,
|
||||||
|
callback=lambda s, a, u: _show_text_viewer(f"Entry #{u+1}", self.disc_entries[u]["content"])
|
||||||
)
|
)
|
||||||
dpg.add_button(
|
dpg.add_button(
|
||||||
label="Del",
|
label="Del",
|
||||||
|
|||||||
@@ -112,8 +112,8 @@ history = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[discussion.discussions."Misc UX improvements"]
|
[discussion.discussions."Misc UX improvements"]
|
||||||
git_commit = "5f9b270841fa1b3e34af1c56cbc75041c95b265a"
|
git_commit = "3d3c4e80ae13174e0df2ae784da802e169520727"
|
||||||
last_updated = "2026-02-21T23:46:45"
|
last_updated = "2026-02-22T00:00:01"
|
||||||
history = [
|
history = [
|
||||||
"@2026-02-21T23:03:51\nUser:\nMake the namespace for the generated markdown file the projet name instead of that specific namespace in the config panel.\nThe ouptut dir can be in the project panel spec (that way we can just remove config panel entirely).",
|
"@2026-02-21T23:03:51\nUser:\nMake the namespace for the generated markdown file the projet name instead of that specific namespace in the config panel.\nThe ouptut dir can be in the project panel spec (that way we can just remove config panel entirely).",
|
||||||
"@2026-02-21T23:04:55\nAI:\nI have applied the changes to streamline the project settings and remove the old Config panel completely:\n\n1. **GUI Layout Changes (`gui.py`)**:\n - The `Config` panel has been completely removed.\n - The **Output Dir** field has been moved into the **Projects** panel (right above the Project Files list).\n - The **Auto-add history** checkbox has been moved to the top of the **Discussion History** panel (directly under the entry toolbar buttons).\n - The **Files** panel was shifted upward to reclaim the space left behind by the old Config panel.\n\n2. **Namespace Management (`aggregate.py` & `project_manager.py`)**:\n - The explicitly defined `namespace` field is gone.\n - Instead, `aggregate.py` now directly infers the output markdown file namespace from the active project's `name` property. (e.g., saving under the `manual_slop` project will just prefix the markdown with `manual_slop_001.md`).\n - `project_manager.py` was updated to no longer scaffold out `namespace` strings into new `.toml` files, and `flat_config` now injects the core `project` dictionary segment so the generators can access the internal name.\n\n3. **`MainContext.md` Updated**:\n - I have updated the markdown file with the latest layout structures and explained that `namespace` is no longer a configurable setting but dynamically determined by the project profile.\n\nYou'll need to restart the application for the GUI layout and DearPyGUI state changes to take effect! Let me know how it looks.",
|
"@2026-02-21T23:04:55\nAI:\nI have applied the changes to streamline the project settings and remove the old Config panel completely:\n\n1. **GUI Layout Changes (`gui.py`)**:\n - The `Config` panel has been completely removed.\n - The **Output Dir** field has been moved into the **Projects** panel (right above the Project Files list).\n - The **Auto-add history** checkbox has been moved to the top of the **Discussion History** panel (directly under the entry toolbar buttons).\n - The **Files** panel was shifted upward to reclaim the space left behind by the old Config panel.\n\n2. **Namespace Management (`aggregate.py` & `project_manager.py`)**:\n - The explicitly defined `namespace` field is gone.\n - Instead, `aggregate.py` now directly infers the output markdown file namespace from the active project's `name` property. (e.g., saving under the `manual_slop` project will just prefix the markdown with `manual_slop_001.md`).\n - `project_manager.py` was updated to no longer scaffold out `namespace` strings into new `.toml` files, and `flat_config` now injects the core `project` dictionary segment so the generators can access the internal name.\n\n3. **`MainContext.md` Updated**:\n - I have updated the markdown file with the latest layout structures and explained that `namespace` is no longer a configurable setting but dynamically determined by the project profile.\n\nYou'll need to restart the application for the GUI layout and DearPyGUI state changes to take effect! Let me know how it looks.",
|
||||||
@@ -127,4 +127,5 @@ history = [
|
|||||||
"@2026-02-21T23:33:39\nVendor API:\n[GEMINI QUOTA EXHAUSTED]\n\n429 RESOURCE_EXHAUSTED. {'error': {'code': 429, 'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_paid_tier_input_token_count, limit: 1000000, model: gemini-3.1-pro\\nPlease retry in 19.265357775s.', 'status': 'RESOURCE_EXHAUSTED', 'details': [{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Learn more about Gemini API quotas', 'url': 'https://ai.google.dev/gemini-api/docs/rate-limits'}]}, {'@type': 'type.googleapis.com/google.rpc.QuotaFailure', 'violations': [{'quotaMetric': 'generativelanguage.googleapis.com/generate_content_paid_tier_input_token_count', 'quotaId': 'GenerateContentPaidTierInputTokensPerModelPerMinute', 'quotaDimensions': {'location': 'global', 'model': 'gemini-3.1-pro'}, 'quotaValue': '1000000'}]}, {'@type': 'type.googleapis.com/google.rpc.RetryInfo', 'retryDelay': '19s'}]}}",
|
"@2026-02-21T23:33:39\nVendor API:\n[GEMINI QUOTA EXHAUSTED]\n\n429 RESOURCE_EXHAUSTED. {'error': {'code': 429, 'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_paid_tier_input_token_count, limit: 1000000, model: gemini-3.1-pro\\nPlease retry in 19.265357775s.', 'status': 'RESOURCE_EXHAUSTED', 'details': [{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Learn more about Gemini API quotas', 'url': 'https://ai.google.dev/gemini-api/docs/rate-limits'}]}, {'@type': 'type.googleapis.com/google.rpc.QuotaFailure', 'violations': [{'quotaMetric': 'generativelanguage.googleapis.com/generate_content_paid_tier_input_token_count', 'quotaId': 'GenerateContentPaidTierInputTokensPerModelPerMinute', 'quotaDimensions': {'location': 'global', 'model': 'gemini-3.1-pro'}, 'quotaValue': '1000000'}]}, {'@type': 'type.googleapis.com/google.rpc.RetryInfo', 'retryDelay': '19s'}]}}",
|
||||||
"@2026-02-21T23:34:40\nUser:\nFinish up if there is anything left todo! I switched to gemini 2.5 pro",
|
"@2026-02-21T23:34:40\nUser:\nFinish up if there is anything left todo! I switched to gemini 2.5 pro",
|
||||||
"@2026-02-21T23:36:29\nAI:\nOf course. It looks like the previous session was interrupted. I will now implement the two pending features: adding a global word-wrap toggle to the project settings and making the discussion entry text boxes maximizable.\n\nFirst, I'll add the `word_wrap` setting to the default project configuration so that all new projects have this option available.\nI will start by adding the `word_wrap` setting to the project configuration. I'll edit `project_manager.py` to include `word_wrap = True` in the `default_project` function. This ensures that all newly created projects will have this setting enabled by default.\n\nExcellent. Now I will modify `gui.py` to add the user interface elements and logic for both the word-wrap toggle and the maximizable discussion entries.\n\nThis involves several targeted changes:\n1. **App State**: I'll add a list to the `App` class to keep track of all text widgets that need to have their wrapping toggled.\n2. **UI Construction (`_build_ui`)**: A new checkbox for \"Word-Wrap\" will be added to the \"Projects\" panel.\n3. **Callback Logic (`cb_word_wrap_toggled`)**: This new function will iterate through the tracked widgets and apply the word-wrap setting. I will also make sure that dynamically created text elements (like in the tool and comms logs) respect this setting upon being rendered.\n4. **Discussion History (`_rebuild_disc_list`)**: I'll add a `[+ Max]` button next to each discussion entry's text box, hooking it up to the existing text viewer popup.\n\nI will write a Python script to perform these modifications.\n\nThe previous attempt to modify `gui.py` failed due to a syntax error in the helper script. PowerShell misinterpreted a backslash in a regular expression. I will correct this by writing a new, more robust Python script to perform the necessary edits.\n\nThis new script will:\n1. Add a `[+ Max]` button to each discussion history entry, allowing its content to be opened in the global text viewer.\n2. Add the \"Word-Wrap\" checkbox to the project settings panel.\n3. Implement the logic for the word-wrap toggle, ensuring it correctly shows/hides wrapped and non-wrapped text panels and redraws dynamic content like the comms and tool logs.\n4. Update the text viewer popup so that its own wrapping behaviour is also controlled by the new project setting.\n\nI will now execute this corrected script.\n\nExcellent. The script has successfully modified `gui.py` to implement the requested features.\n\nHere is a summary of the final changes:\n\n1. **Global Word-Wrap Toggle (`gui.py`, `project_manager.py`)**:\n * A new setting, `word_wrap`, has been added to the project configuration (`.toml` files) and defaults to `true`.\n * A checkbox labeled \"Word-Wrap (Read-only panels)\" is now present in the **Projects** panel.\n * Toggling this checkbox will dynamically change the wrapping behavior for most multi-line text displays in the interface, including the main AI response, script outputs, the global text viewer, and the comms log.\n\n2. **Maximizable Discussion Entries (`gui.py`)**:\n * Each entry in the **Discussion History** panel now has a `[+ Max]` button.\n * Clicking this button will open the full content of that specific entry in the large **Text Viewer** popup, making it much easier to read and review long conversation segments.\n\nI have completed all the requested tasks. I will now update `MainContext.md` to document these new UI enhancements.\n\nI have now implemented all the requested features and updated the documentation.\n\n1. **Word-Wrap Feature**: A \"Word-Wrap\" checkbox is now available in the **Projects** panel. This setting is saved with your project and controls the text wrapping for most read-only text panels throughout the application, allowing you to toggle between wrapped text for readability and non-wrapped text for viewing code.\n\n2. **Maximizable Discussion Entries**: Every entry in the **Discussion History** now has a `[+ Max]` button, enabling you to open its contents in the large text viewer for easier reading and copying.\n\n3. **Documentation Updated**: `MainContext.md` has been updated to include details about these new quality-of-life features.\n\nAll tasks are complete. You will need to restart the application to see and use the new features. Let me know if you have any other requests",
|
"@2026-02-21T23:36:29\nAI:\nOf course. It looks like the previous session was interrupted. I will now implement the two pending features: adding a global word-wrap toggle to the project settings and making the discussion entry text boxes maximizable.\n\nFirst, I'll add the `word_wrap` setting to the default project configuration so that all new projects have this option available.\nI will start by adding the `word_wrap` setting to the project configuration. I'll edit `project_manager.py` to include `word_wrap = True` in the `default_project` function. This ensures that all newly created projects will have this setting enabled by default.\n\nExcellent. Now I will modify `gui.py` to add the user interface elements and logic for both the word-wrap toggle and the maximizable discussion entries.\n\nThis involves several targeted changes:\n1. **App State**: I'll add a list to the `App` class to keep track of all text widgets that need to have their wrapping toggled.\n2. **UI Construction (`_build_ui`)**: A new checkbox for \"Word-Wrap\" will be added to the \"Projects\" panel.\n3. **Callback Logic (`cb_word_wrap_toggled`)**: This new function will iterate through the tracked widgets and apply the word-wrap setting. I will also make sure that dynamically created text elements (like in the tool and comms logs) respect this setting upon being rendered.\n4. **Discussion History (`_rebuild_disc_list`)**: I'll add a `[+ Max]` button next to each discussion entry's text box, hooking it up to the existing text viewer popup.\n\nI will write a Python script to perform these modifications.\n\nThe previous attempt to modify `gui.py` failed due to a syntax error in the helper script. PowerShell misinterpreted a backslash in a regular expression. I will correct this by writing a new, more robust Python script to perform the necessary edits.\n\nThis new script will:\n1. Add a `[+ Max]` button to each discussion history entry, allowing its content to be opened in the global text viewer.\n2. Add the \"Word-Wrap\" checkbox to the project settings panel.\n3. Implement the logic for the word-wrap toggle, ensuring it correctly shows/hides wrapped and non-wrapped text panels and redraws dynamic content like the comms and tool logs.\n4. Update the text viewer popup so that its own wrapping behaviour is also controlled by the new project setting.\n\nI will now execute this corrected script.\n\nExcellent. The script has successfully modified `gui.py` to implement the requested features.\n\nHere is a summary of the final changes:\n\n1. **Global Word-Wrap Toggle (`gui.py`, `project_manager.py`)**:\n * A new setting, `word_wrap`, has been added to the project configuration (`.toml` files) and defaults to `true`.\n * A checkbox labeled \"Word-Wrap (Read-only panels)\" is now present in the **Projects** panel.\n * Toggling this checkbox will dynamically change the wrapping behavior for most multi-line text displays in the interface, including the main AI response, script outputs, the global text viewer, and the comms log.\n\n2. **Maximizable Discussion Entries (`gui.py`)**:\n * Each entry in the **Discussion History** panel now has a `[+ Max]` button.\n * Clicking this button will open the full content of that specific entry in the large **Text Viewer** popup, making it much easier to read and review long conversation segments.\n\nI have completed all the requested tasks. I will now update `MainContext.md` to document these new UI enhancements.\n\nI have now implemented all the requested features and updated the documentation.\n\n1. **Word-Wrap Feature**: A \"Word-Wrap\" checkbox is now available in the **Projects** panel. This setting is saved with your project and controls the text wrapping for most read-only text panels throughout the application, allowing you to toggle between wrapped text for readability and non-wrapped text for viewing code.\n\n2. **Maximizable Discussion Entries**: Every entry in the **Discussion History** now has a `[+ Max]` button, enabling you to open its contents in the large text viewer for easier reading and copying.\n\n3. **Documentation Updated**: `MainContext.md` has been updated to include details about these new quality-of-life features.\n\nAll tasks are complete. You will need to restart the application to see and use the new features. Let me know if you have any other requests",
|
||||||
|
"@2026-02-21T23:57:46\nUser:\nCan we add support for proper viewport based dear imgui? \nWhere we don't have a main window enforcing the rendering? \nInstead we can have each of these dockable panels outside of the main window and even disolve it so that this program beahves as an axuillary tool we utilize as we use vscode and other tools?\nWe can have a taskbar icon or something to open the windows back fter closing them, etc.",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user