-
Notifications
You must be signed in to change notification settings - Fork 0
I somehow lost a lot of code. #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Merge main back to my branch
|
Caution Review failedThe pull request is closed. WalkthroughAdds a ThemeManager for centralized theming, makes editors and canvas render using theme colors, enables runtime theme switching, implements dynamic plugin discovery/loading from ./etc/plugins/*.jar, introduces several Swing settings dialogs and forms, and adds a PiccodePlugin dependency plus a .gitignore entry for *.jar. Changes
Sequence Diagram(s)sequenceDiagram
participant App as Application
participant EW as EditorWindow
participant TM as ThemeManager
participant CE as CodeEditor*
participant PP as Plugin*
App->>EW: start(dark=true)
EW->>TM: setFlatLaf(dark)
EW->>TM: updateThemes(dark)
TM->>CE: setThemeMode(dark) (broadcast)
TM->>PP: setThemeMode(dark) (broadcast)
sequenceDiagram
participant PPnl as PluginsPanel
participant FS as FileSystem
participant L as URLClassLoader
participant Cls as CandidateClass
participant TM as ThemeManager
participant EW as EditorWindow
PPnl->>FS: list ./etc/plugins/*.jar
loop each jar
PPnl->>L: create loader(jar, parent=system)
PPnl->>L: enumerate classes
loop each class
PPnl->>Cls: try load class
alt implements PiccodePluginPanel
PPnl->>Cls: instantiate + init
PPnl->>TM: registerPlugin(plugin)
PPnl->>EW: dock plugin panel
PPnl->>TM: updateThemes(EditorWindow.dark)
end
end
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40 minutes Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (13)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Merge pull request #41 from Glimmr-Lang/Sibusiso
I woke up to a code reset. I really do not know what happened. It seems last night when I was committing only 2 file got committed and they are not even part of the project. At the same time I lost all important code.
Summary by CodeRabbit
New Features
Chores