[PR #104] [MERGED] Custom module improvements #4707

Closed
opened 2026-05-23 00:55:13 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/104
Author: @JakeStanger
Created: 4/9/2023
Status: Merged
Merged: 4/10/2023
Merged by: @JakeStanger

Base: masterHead: feat/custom-widgets


📝 Commits (7)

  • 2ab06f0 refactor(custom): split into enum with separate file per widget
  • e928b30 docs(custom): rewrite widget options to be clearer
  • dfe1964 feat(custom): slider widget
  • 9109453 fix(dynamic string): parser issue related to incorrectly matching braces
  • 72b14b6 feat(custom): progress bar widget.
  • a9d1233 feat(custom): support dynamic strings on buttons
  • 3613aef refactor(custom): reduce a lot of repeated code

📊 Changes

19 files changed (+861 additions, -423 deletions)

View changed files

📝 docs/modules/Custom.md (+161 -39)
📝 src/bar.rs (+2 -2)
📝 src/dynamic_string.rs (+70 -42)
📝 src/modules/clipboard.rs (+1 -1)
📝 src/modules/clock.rs (+1 -1)
src/modules/custom.rs (+0 -309)
src/modules/custom/box.rs (+35 -0)
src/modules/custom/button.rs (+52 -0)
src/modules/custom/image.rs (+34 -0)
src/modules/custom/label.rs (+33 -0)
src/modules/custom/mod.rs (+233 -0)
src/modules/custom/progress.rs (+80 -0)
src/modules/custom/slider.rs (+119 -0)
📝 src/modules/launcher/item.rs (+1 -1)
📝 src/modules/mod.rs (+3 -3)
📝 src/modules/music/mod.rs (+1 -1)
📝 src/modules/script.rs (+1 -1)
📝 src/popup.rs (+19 -16)
📝 src/script.rs (+15 -7)

📄 Description

Resolves #68

  • Refactor of existing code
  • Slider widget
  • Progress bar widget
  • Docs improvement

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/104 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 4/9/2023 **Status:** ✅ Merged **Merged:** 4/10/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/custom-widgets` --- ### 📝 Commits (7) - [`2ab06f0`](https://github.com/JakeStanger/ironbar/commit/2ab06f044ec300628d6648852d395889b6752b76) refactor(custom): split into enum with separate file per widget - [`e928b30`](https://github.com/JakeStanger/ironbar/commit/e928b30f9927aa7c895c0d9855ee3ef09e559dc7) docs(custom): rewrite widget options to be clearer - [`dfe1964`](https://github.com/JakeStanger/ironbar/commit/dfe1964abf9ca54beb38cad0bcf02bd9fb0b5c4d) feat(custom): slider widget - [`9109453`](https://github.com/JakeStanger/ironbar/commit/910945306c3261190a16300da2ed28efb945a6ac) fix(dynamic string): parser issue related to incorrectly matching braces - [`72b14b6`](https://github.com/JakeStanger/ironbar/commit/72b14b6c4ed3dccfe7b4b23b220ab0a87ec79aa2) feat(custom): progress bar widget. - [`a9d1233`](https://github.com/JakeStanger/ironbar/commit/a9d12339097cbe0fef1628460ef538319a048223) feat(custom): support dynamic strings on buttons - [`3613aef`](https://github.com/JakeStanger/ironbar/commit/3613aef5c5a4051b5a44e33342c0eaaab3d4a690) refactor(custom): reduce a lot of repeated code ### 📊 Changes **19 files changed** (+861 additions, -423 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/Custom.md` (+161 -39) 📝 `src/bar.rs` (+2 -2) 📝 `src/dynamic_string.rs` (+70 -42) 📝 `src/modules/clipboard.rs` (+1 -1) 📝 `src/modules/clock.rs` (+1 -1) ➖ `src/modules/custom.rs` (+0 -309) ➕ `src/modules/custom/box.rs` (+35 -0) ➕ `src/modules/custom/button.rs` (+52 -0) ➕ `src/modules/custom/image.rs` (+34 -0) ➕ `src/modules/custom/label.rs` (+33 -0) ➕ `src/modules/custom/mod.rs` (+233 -0) ➕ `src/modules/custom/progress.rs` (+80 -0) ➕ `src/modules/custom/slider.rs` (+119 -0) 📝 `src/modules/launcher/item.rs` (+1 -1) 📝 `src/modules/mod.rs` (+3 -3) 📝 `src/modules/music/mod.rs` (+1 -1) 📝 `src/modules/script.rs` (+1 -1) 📝 `src/popup.rs` (+19 -16) 📝 `src/script.rs` (+15 -7) </details> ### 📄 Description Resolves #68 - Refactor of existing code - Slider widget - Progress bar widget - Docs improvement --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 00:55:13 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#4707
No description provided.