[PR #381] Added Tab widget, demo, and tests #372

Open
opened 2026-03-03 16:24:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/381
Author: @keithknott26
Created: 9/18/2024
Status: 🔄 Open

Base: develHead: tab


📝 Commits (3)

  • c0857cd Added Tab widget, demo, and tests
  • 2e09f14 Optimized code and addressed linting errors and added comments:
  • e00b62c Added animated gif and updated README

📊 Changes

9 files changed (+1631 additions, -1 deletions)

View changed files

📝 README.md (+23 -1)
doc/images/tabdemo.gif (+0 -0)
widgets/tab/options.go (+113 -0)
widgets/tab/tab_content.go (+27 -0)
widgets/tab/tab_event_handler.go (+228 -0)
widgets/tab/tab_header.go (+149 -0)
widgets/tab/tab_manager.go (+172 -0)
widgets/tab/tab_test.go (+371 -0)
widgets/tab/tabdemo/tabdemo.go (+548 -0)

📄 Description

Hello Jakub,

I've added Tab support via the Tab widget. It includes a demo of the features including FollowNotifications which switches the active tab automatically whenever there's a notification alarm. I've also added tests and comments.

I'll try to update the README in main in the next few days.

Thanks,
Keith Knott


🔄 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/mum4k/termdash/pull/381 **Author:** [@keithknott26](https://github.com/keithknott26) **Created:** 9/18/2024 **Status:** 🔄 Open **Base:** `devel` ← **Head:** `tab` --- ### 📝 Commits (3) - [`c0857cd`](https://github.com/mum4k/termdash/commit/c0857cdbec313b41b4eb5204e3b6b17892e338ff) Added Tab widget, demo, and tests - [`2e09f14`](https://github.com/mum4k/termdash/commit/2e09f14825552a15e24bcfabbedf0c529d23af28) Optimized code and addressed linting errors and added comments: - [`e00b62c`](https://github.com/mum4k/termdash/commit/e00b62cba5db701ea54ba3dedd0c988abffe4225) Added animated gif and updated README ### 📊 Changes **9 files changed** (+1631 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+23 -1) ➕ `doc/images/tabdemo.gif` (+0 -0) ➕ `widgets/tab/options.go` (+113 -0) ➕ `widgets/tab/tab_content.go` (+27 -0) ➕ `widgets/tab/tab_event_handler.go` (+228 -0) ➕ `widgets/tab/tab_header.go` (+149 -0) ➕ `widgets/tab/tab_manager.go` (+172 -0) ➕ `widgets/tab/tab_test.go` (+371 -0) ➕ `widgets/tab/tabdemo/tabdemo.go` (+548 -0) </details> ### 📄 Description Hello Jakub, I've added Tab support via the Tab widget. It includes a demo of the features including FollowNotifications which switches the active tab automatically whenever there's a notification alarm. I've also added tests and comments. I'll try to update the README in main in the next few days. Thanks, Keith Knott --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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
starred/termdash#372
No description provided.