Skip to content

462 window extend window and windowmanager components#463

Merged
rzaharia merged 7 commits into
mainfrom
462-window-extend-window-and-windowmanager-components
Apr 24, 2025
Merged

462 window extend window and windowmanager components#463
rzaharia merged 7 commits into
mainfrom
462-window-extend-window-and-windowmanager-components

Conversation

@rzaharia

Copy link
Copy Markdown
Collaborator

No description provided.

@rzaharia rzaharia linked an issue Apr 24, 2025 that may be closed by this pull request
6 tasks
@rzaharia rzaharia self-assigned this Apr 24, 2025
@rzaharia rzaharia added the enhancement New feature or request label Apr 24, 2025
@github-project-automation github-project-automation Bot moved this to In progress in AppCUI Kanban Apr 24, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends window functionality and the window manager components by adding note management features and tracking window creation details. Key changes include:

  • Adding note management commands (copy, edit, delete) and related UI elements in the internal window manager.
  • Enhancing the Window and Application APIs to support creation process details and notes.
  • Updating the examples and API headers to reflect these feature additions.

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Examples/WindowManager/main.cpp Adds example code for creating multiple windows with notes functionality.
AppCUI/src/Dialogs/WindowManager.cpp Extends the internal window manager with new commands and UI elements for note management.
AppCUI/src/Controls/Window.cpp Implements new methods to manage creation process details and window notes.
AppCUI/src/ControlContext.hpp Introduces new members to store creation process and notes.
AppCUI/src/Application/Application.cpp Updates window creation functions to capture creation process details.
AppCUI/include/AppCUI.hpp Updates API declarations to support the new features.
Files not reviewed (2)
  • CMakeLists.txt: Language not supported
  • Examples/WindowManager/CMakeLists.txt: Language not supported
Comments suppressed due to low confidence (1)

AppCUI/src/Dialogs/WindowManager.cpp:35

  • The variable name 'btnCloseDescendands' appears to be misspelled. It should likely be 'btnCloseDescendants' to reflect its purpose.
Reference<Button> btnGoTo, btnClose, btnCloseAll, btnCloseDescendands, btnCancel;

Comment thread Examples/WindowManager/main.cpp
@rzaharia rzaharia requested a review from Copilot April 24, 2025 15:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends the window and WindowManager components by introducing note operations (copy, edit, delete) along with propagating window creation process details. Key changes include updates to window note handling via new APIs in Window and Application modules, UI layout adjustments in the WindowManager dialog, and corresponding updates to Control Context and header API signatures.

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Examples/WindowManager/main.cpp Implements a new MyWin class with support for adding notes and demonstration of window creation.
AppCUI/src/Dialogs/WindowManager.cpp Adds note operation functions and UI changes (splitter panels, updated TreeView) in the dialog.
AppCUI/src/Controls/Window.cpp Introduces methods for creation process details and note management functions.
AppCUI/src/ControlContext.hpp Extends the window control context with creation process and notes fields.
AppCUI/src/Application/Application.cpp Updates AddWindow and GetCurrentWindow to incorporate the new creation process parameter.
AppCUI/include/AppCUI.hpp Updates API signatures for AddWindow and exposes GetCurrentWindow.
Files not reviewed (2)
  • CMakeLists.txt: Language not supported
  • Examples/WindowManager/CMakeLists.txt: Language not supported
Comments suppressed due to low confidence (1)

AppCUI/src/Dialogs/WindowManager.cpp:329

  • The variable 'btnCloseDescendands' is misspelled; consider renaming it to 'btnCloseDescendants' for clarity and consistency.
CHECK((btnCloseDescendands = Factory::Button::Create(this, "Close &desc", "l:29,b:0,w:13", BUTTON_ID_CLOSE_DESC))

@github-project-automation github-project-automation Bot moved this from In progress to Reviewer approved in AppCUI Kanban Apr 24, 2025
@rzaharia rzaharia force-pushed the 462-window-extend-window-and-windowmanager-components branch from 116a496 to 4c7ebdb Compare April 24, 2025 19:04
@rzaharia rzaharia merged commit d4cf49b into main Apr 24, 2025
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in AppCUI Kanban Apr 24, 2025
@rzaharia rzaharia deleted the 462-window-extend-window-and-windowmanager-components branch April 24, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Window] Extend Window and WindowManager components

3 participants