Download
(36Kb)
Download
Updated: 10-31-23 04:27 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:10-31-23 04:27 PM
Created:12-13-08 08:08 AM
Downloads:35,611
Favorites:330
MD5:

NinjaPanel  Popular! (More than 5000 hits)

Version: v1.2.0-release
by: Cladhaire [More]

NinjaPanel... so sneaky you'll hardly know it's there

What is NinjaPanel?

NinjaPanel is a simple, easy-to-configure display for LDB data objects. If you're not familiar with LDB, it's a simple standard that addon authors can use to provide information to other addons without needing to write any code specifically for them. This is helping to break the fubar/titan stronghold by providing a standard flexible enough to let any addon display the information.

Okay, so what does it do?

NinjaPanel will display any LDB plugins you have installed. Currently it displays all of them, although options are forthcoming to disable the display for certain plugins. It also can provide you quick access to addon options and other configurations via "launchers", simple icons that sit on the panel. Most addons that provide minimap icons (which we all hate) also provide launchers. All plugins can be dragged around the panel to re-order them, so they're displayed exactly as you'd like them to be.

Where are the options?

There aren't currently many configuration options for this addon other than the ability to enable or disable specific plugins, but I wanted to get a release out to get some feedback from the community. You can expect the following options to be implemented at some point:
  • Display the panel on the top, bottom, left or right of the screen
  • Change the height/width of the panel
  • Customize data objects to hide the icon, text, etc.

So where do I get plugins?


You may be surprised at how many addons already provide some sort of LDB data object, but if you're looking for new ones to try out you can check the category listings at your favorite addon site:How did you manage to get TomTom Crazy Arrow in the panel

NinjaPanel introduces support for icon colors and coordinates using the following fields in the LDB data object:

iconR - The red component value of the color
iconG - The green component value of the color
iconB - The blue component value of the color
iconCoords - A table containing the texCoords to be set on the icon

I will soon expand iconCoords to support the 8-value version, as well as iconRotate to support arbitrary rotations using the new API.

These features are used in the latest version of TomTom to allow you to display the crazy arrow in NinjaPanel.

Anything else?

Please feed free to leave any suggestions or feedback! I'm interested to see what the community would like to see in a panel addon that I can easily provide.

Thanks for using my addons!

Donations:
Some people have asked, so here is a way to send me donations:

NinjaPanel
v1.2.0-release (2023-10-31)
Full Changelog Previous Releases
  • Add a simple gold tracking plugin
  • Remove stray print from debugging
  • Add support for plugin DBs
  • Fix that stupid bug
  • Attempt to fix an issue with init of CombatStats
  • Fix an issue with calling OnEnter for some tooltips
  • Fix for 10.1.0 PTR with removal of GetAddOnMetadata
  • Update TOC for 10.0.2
  • Don't require OnLeave to pick up OnEnter
  • Properly respond to inventory updates and register the new events
  • Some bug fixes for CombatStats
    - Re-compute the preferred stats when something major changes
    - Select the preferred stats using the raw values, not percentages
  • Fix some small issues with combat stats
  • Add a CombatStats plugin
  • Don't do split packaging when only one version
  • Update curseforge project id
  • Fix config registration on retail
  • Prepare for packing
  • Add and configure Luacheck
  • Create README.md
  • Re-add config to enable/disable plugins
  • Update for 1.0x (ish)
  • Update TOC for 6.1.x
  • Update LibJostle
  • Update TOC for 4.3
  • Update .TOC
  • Update to LibJostle-3.0-v40000
  • Convert svn:ignore properties to .gitignore.
  • Updated LibJostle to be compatible with 3.3.5
  • Hide the tooltip when a plugin is clicked
  • Fix a bug when an icon is set to nil, or set to a texture from nil
  • Updating TOC for 3.3
  • Update LibJostle to fix the buff movement
  • Interface version update
  • Show which feeds are launchers in the configuration UI
  • Actually display disabled plugins in the configuration dialog
  • Show tooltips for plugins that don't define any
  • Setting eol-style, bumping .TOC and providing support for data feeds that dynamically change their type
  • Updated version of LibJostle-3.0
  • Added a nil bailout in UpdatePlugin (bad mikma)
  • * Fix for moving the panel to the bottom instead of the top.. kind of
  • Fixed detach bug when disabling a new plugin
  • Fixed an error caused by custom Data Objects
  • Fixed the bad SV bug
  • Fixed tooltip bug with bad type lookup for disabled plugins
  • Fixed a bug with scrolling offset on the config screen
  • Undoing bad development branch code to start with a clean slate
  • * Commiting some broken code that I plan to back out
  • * Ensure that the scroll bar works on longer addon lists
  • * Fixed the issues with scrolling on enable/disable window
  • * Added basic configuration panel that allows you disable/enable plugins. Requires reload and may not work properly.
    * Added support for AddonLoader delayed loading
  • * Make sure to call using NinjaPanel instead of self in the context of the panel
  • * Act properly with regards to tooltip metadata, refactored handling code a bit
  • Added a development mode to assist in getting multiple bars working correctly
  • * Don't error if jostle can't be loaded
  • * Add support for the tooltip attribute
  • * Add checks for self.db.plugins[name].disabled
  • * Initialize db.plugins and sb.panels
  • * Added cases for the On<X> handlers in UpdatePlugin, so we can set them whenever they are changed
  • * Set wowi:dirname property so addon is properly packaged
  • * Fix an issue when reporting an unknown data object type
  • * Setting eol-style to native
  • Initial import from git repository
  • Creating inital directory structure
Beta Files (1)
File Name
Version
Hits
Size
Author
Date
r26
1,788
30kB
Cladhaire
04-17-09 09:08 AM


Archived Files (8)
File Name
Version
Size
Author
Date
v1.1.7-release
35kB
Cladhaire
05-20-23 03:30 AM
v1.1.6-release
35kB
Cladhaire
04-01-23 04:57 AM
v1.1.5-release
35kB
Cladhaire
01-12-23 02:13 PM
v1.1.4-release
35kB
Cladhaire
10-29-22 02:27 AM
v1.1.3-release
35kB
Cladhaire
10-29-22 02:23 AM
v1.1.2-release
34kB
Cladhaire
10-28-22 02:02 PM
v1.1.1-release
34kB
Cladhaire
10-28-22 06:38 AM
v1.1.0-release
29kB
Cladhaire
10-27-22 08:30 AM


Post A Reply Comment Options
Unread 12-17-08, 09:58 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Skylinee
Will the next version have an option for 2 panels? If so i can hardly wait.
Top and bottom, already available on SVN trunk, feel free to check it out. The option isn't a GUI.. but you could add it by calling NinjaPanel:SpawnPanel("BOTTOM"), although you won't be able to move plugins to it until i get that coded.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-17-08, 06:56 PM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 24
File comments: 98
Uploads: 0
Originally posted by Cladhaire
Top and bottom, already available on SVN trunk, feel free to check it out. The option isn't a GUI.. but you could add it by calling NinjaPanel:SpawnPanel("BOTTOM"), although you won't be able to move plugins to it until i get that coded.
Where abouts could i get the svn version?

Edit: nvm didn't realize there was a wowi svn :S
__________________
Last edited by ffcloud2000 : 12-17-08 at 11:31 PM.
Report comment to moderator  
Reply With Quote
Unread 12-18-08, 12:11 AM  
BW~Merlin
A Defias Bandit

Forum posts: 2
File comments: 41
Uploads: 0
Originally posted by Cladhaire
Those are not error messages, they are telling you that there is a problem with those plugins, specifically that they don't specify their type. This is required by the LDB specification. The next version will continue to warn you once per reload but will attempt to display the plugins as well.
What information would I need to submit/tell to the addon authors to get them to make their addon's to behave properly?
Report comment to moderator  
Reply With Quote
Unread 12-18-08, 02:07 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by BW~Merlin
What information would I need to submit/tell to the addon authors to get them to make their addon's to behave properly?
They need to include the 'type' attribute in their data object, and follow the set data specifications or provide their own:

http://github.com/tekkub/libdatabrok...specifications
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-19-08, 05:48 PM  
Alkar
A Chromatic Dragonspawn
 
Alkar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 195
File comments: 94
Uploads: 4
Ok love this... Got rid of titan/fubar yay!!! but i have a question is there away to make it not have a background and also to put the addon stuff in the middle and not off to the right or left ??
__________________
Report comment to moderator  
Reply With Quote
Unread 12-19-08, 07:18 PM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 24
File comments: 98
Uploads: 0
Possible to increase the font size?
__________________
Report comment to moderator  
Reply With Quote
Unread 12-20-08, 03:43 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Alkar
Ok love this... Got rid of titan/fubar yay!!! but i have a question is there away to make it not have a background and also to put the addon stuff in the middle and not off to the right or left ??
Options for this will exist, whenever I get an opportunity to write the options for it.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-20-08, 09:36 AM  
Alkar
A Chromatic Dragonspawn
 
Alkar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 195
File comments: 94
Uploads: 4
Originally posted by Cladhaire
Options for this will exist, whenever I get an opportunity to write the options for it.
NP was just wondering if it may have been in the lua or not
__________________
Report comment to moderator  
Reply With Quote
Unread 12-20-08, 01:54 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Originally posted by BW~Merlin
What information would I need to submit/tell to the addon authors to get them to make their addon's to behave properly?
The plugins you listed are actually FuBar plugins, and are being "translated" into DataBroker plugins with the addon FuBar2Broker, which only sets the type field if it thinks it's creating a "launcher" plugin. You need to figure out who its author is (I think it's Nevcairiel) and ask them to set the type field for "data source" plugins too.
Report comment to moderator  
Reply With Quote
Unread 12-21-08, 12:52 PM  
Hellfire_
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Originally posted by Cladhaire
Options for this will exist, whenever I get an opportunity to write the options for it.
Awesome. Proper left/right/center functionality is the only thing keeping me on FuBar right now. That and a goofy race condition with RepairBroker that I haven't worked around quite yet. Anywho, great work. Your stuff is always solid and useful.
Last edited by Hellfire_ : 12-21-08 at 12:53 PM.
Report comment to moderator  
Reply With Quote
Unread 12-21-08, 12:57 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Hellfire_
Awesome. Proper left/right/center functionality is the only thing keeping me on FuBar right now. That and a goofy race condition with RepairBroker that I haven't worked around quite yet. Anywho, great work. Your stuff is always solid and useful.
Left and Right already exist.. unless I am smoking crack?
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-22-08, 10:26 AM  
doxxx
A Kobold Labourer
 
doxxx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 160
Uploads: 1
When dragging a plugin into position, it's very hard to predict where it will be inserted in a group of plugins. It seems to be consistently "off-by-one" of where I expect to be when I let go of the button.
Report comment to moderator  
Reply With Quote
Unread 12-22-08, 11:48 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by doxxx
When dragging a plugin into position, it's very hard to predict where it will be inserted in a group of plugins. It seems to be consistently "off-by-one" of where I expect to be when I let go of the button.
I can't be positive how it works in the version you are using, but in the version on trunk (probably will push this tonight) here are the rules:

When you are dragging Plugin A to the right and stop, it finds the rightmost Plugin B, such that the left edge of Plugin A is to the right of Plugin B.

When you are dragging Plugin A to the left and stop, it finds the leftmost Plugin B, such that the right edge of Plugin A is to the left of Plugin B.

I'll do what I can to highlight the destination position in a future version.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-22-08, 04:17 PM  
Muurder
A Kobold Labourer

Forum posts: 1
File comments: 15
Uploads: 0
why another panel addon? we already have titan panel and fubar, both in extremely good shape.
Report comment to moderator  
Reply With Quote
Unread 12-22-08, 04:39 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Muurder
why another panel addon? we already have titan panel and fubar, both in extremely good shape.
That's your opinion, I happen to disagree wholeheartedly. I developed NinjaPanel for the following reasons:

FuBar (like many addons) tries to do too much. As a matter of fact it tries to do everything. I wanted a very simple panel addon that displayed LDB plugins and "just worked". NinjaPanel does this, and does it in an EXTREMELY lightweight manner.

TitanPanel hasn't (and I'm not sure ever will) get over the problems that it's had since it came out. It's always been plagued with performance issues and very odd code that just adds to the overall cruftiness of the addon. Sure, it works and it does a really good job with the default plugins.. but those default plugins are extremely heavy and impact the performance of the system.

LDB plugins can be written in the space of a macro and NinjaPanel can display them without any mess or fuss. Sure it doesn't have as many configuration options as FuBar or Titan (and never will), but if you're looking for a simple panel that doesn't come with 10,000 different libraries.. you are welcome to use NinjaPanel.

I don't want to compete with any other addon, so you will never see me touting my addon over FuBar, TitanPanel, ButtonBin or anything else. I don't care if everyone uses my addon, or if I'm the only one using it. The fact of the matter is I wrote this addon (like all of my addons) for myself or for my own purposes, and I'll continue to develop and support so long as that is the case.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: