mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-26 19:05:52 +03:00
[PR #381] Added Tab widget, demo, and tests #372
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#372
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/381
Author: @keithknott26
Created: 9/18/2024
Status: 🔄 Open
Base:
devel← Head:tab📝 Commits (3)
c0857cdAdded Tab widget, demo, and tests2e09f14Optimized code and addressed linting errors and added comments:e00b62cAdded 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.