Closed andreamancuso closed 1 month ago
This pull request introduces several significant changes, including the addition of new submodules to the .gitmodules
file, updates to the .gitignore
file, and the creation of new CMake configuration files for the reactDearImgui
project. It also enhances various components, such as ImGuiRenderer
, Image
, and InputText
, with new methods and improved error handling. Additionally, new React components are added for a trading GUI demo, and modifications are made to existing components to streamline import paths and enhance functionality. Overall, these changes expand the project's capabilities and improve its structure.
File Path | Change Summary |
---|---|
.gitmodules |
Added submodules: implot , json , OpenGL-Registry , stb , EGL-Registry , imgui , glfw . |
packages/dear-imgui/cpp/.gitignore |
Updated to ignore reactDearImgui.lib , glfw3.dll , and glfw3dll.lib . |
packages/dear-imgui/cpp/app/CMakeLists.txt |
New CMake configuration for reactDearImgui , specifying dependencies and build settings. |
packages/dear-imgui/cpp/app/include/imgui_renderer.h |
Modified ImGuiRenderer class: increased default window size, changed member variable accessibility, added m_clearColor , and made SetCurrentContext virtual. |
packages/dear-imgui/cpp/app/include/widget/button.h |
Updated makeWidget method to return a unique pointer and added debug statements in Measure . |
packages/dear-imgui/cpp/app/include/widget/image.h |
Added methods for handling image fetching success and failure, with conditional compilation for Emscripten. |
packages/dear-imgui/cpp/app/include/widget/input_text.h |
Introduced a new makeWidget method for JSON handling and updated Measure method for context checks. |
packages/dear-imgui/cpp/app/src/element/element.cpp |
Enhanced error handling in Render , GetElementType , HasStyle , and GetElementStyleParts methods. |
packages/dear-imgui/cpp/app/src/imgui_renderer.cpp |
Added error handling for WebGPU and GLFW, modified font loading to use m_imGuiCtx . |
packages/dear-imgui/cpp/app/src/reactimgui.cpp |
Updated Init , PrepareForRender , and Render methods for improved context handling and error management. |
packages/dear-imgui/cpp/app/src/widget/image.cpp |
Simplified texture view checks and added methods for handling image fetch operations. |
packages/dear-imgui/cpp/app/vcpkg.json |
New JSON configuration for reactdearimgui , specifying dependencies. |
packages/dear-imgui/cpp/node/.gitignore |
New .gitignore file added to ignore various build artifacts and logs. |
packages/dear-imgui/cpp/node/CMakeLists.txt |
New CMake configuration for node-imgui , defining project settings and dependencies. |
packages/dear-imgui/cpp/node/LICENSE |
Added MIT License text. |
packages/dear-imgui/cpp/node/README.md |
New section added for building GLFW3 on Windows. |
packages/dear-imgui/cpp/node/build_glfw3.bat |
New batch script for automating GLFW library build. |
packages/dear-imgui/cpp/node/hello.cc |
Introduced WasmRunner class for managing UI logic with N-API integration. |
packages/dear-imgui/cpp/node/hello.js |
New script for initializing and managing the node-based interface. |
packages/dear-imgui/cpp/node/node-imgui.js |
New file exporting the native module for use in JavaScript. |
packages/dear-imgui/cpp/node/package.json |
New package configuration for node-imgui , defining dependencies and scripts. |
packages/dear-imgui/cpp/wasm/vcpkg.json |
Renamed package from reactdearimgui to reactdearimguiwasm . |
packages/dear-imgui/ts/node-imgui/App.tsx |
New React component App created for rendering a trading GUI demo. |
packages/dear-imgui/ts/node-imgui/ReactImgui.tsx |
New structure for integrating Dear ImGui with React Native. |
packages/dear-imgui/ts/node-imgui/TradingGuiDemo/... |
Multiple new components added for cryptocurrency trading GUI, including CryptoAssetPanels , CryptoAssetsList , and others. |
packages/dear-imgui/ts/src/lib/... |
Various import path updates for ReactImgui component across multiple files. |
.gitmodules
file and addition of several submodules, potentially related to the styling and state management enhancements introduced in this PR.🐰 In the meadow, where the code does flow,
New submodules join the show!
With buttons, images, and a trading spree,
React and ImGui dance with glee.
So hop along, let’s build and play,
In this vibrant code, we’ll find our way! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Failed conditions
7.7% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
React ImGui can now run within a native node module - for a truly native desktop experience.
Theming and fonts loading will be added as part of a separate MR
Summary by CodeRabbit
New Features
implot
,json
,OpenGL-Registry
,stb
,EGL-Registry
,imgui
, andglfw
.vcpkg.json
configuration file for dependency management.CryptoAssetPanels
,CryptoAssetsList
, and various plot components.DataService
class for managing cryptocurrency data reactively.Bug Fixes
Documentation
node-imgui
project.Chores
.gitignore
files to streamline version control.