Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/dashboard/widgets/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ mod recent_commands;
mod recent_notes;
mod recycle_bin;
mod snippets_favorites;
mod scratchpad;
mod stopwatch;
mod system_actions;
mod system_controls;
Expand Down Expand Up @@ -61,6 +62,7 @@ pub use recent_commands::RecentCommandsWidget;
pub use recent_notes::RecentNotesWidget;
pub use recycle_bin::RecycleBinWidget;
pub use snippets_favorites::SnippetsFavoritesWidget;
pub use scratchpad::ScratchpadWidget;
pub use stopwatch::StopwatchWidget;
pub use system_actions::SystemWidget;
pub use system_controls::SystemControlsWidget;
Expand Down Expand Up @@ -318,6 +320,11 @@ impl WidgetRegistry {
WidgetFactory::new(SnippetsFavoritesWidget::new)
.with_settings_ui(SnippetsFavoritesWidget::settings_ui),
);
reg.register(
"scratchpad",
WidgetFactory::new(ScratchpadWidget::new)
.with_settings_ui(ScratchpadWidget::settings_ui),
);
reg.register(
"notes_recent",
WidgetFactory::new(NotesRecentWidget::new)
Expand Down
Loading