Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDot for status indicator #831

Open
belisoful opened this issue Dec 17, 2022 · 2 comments
Open

TDot for status indicator #831

belisoful opened this issue Dec 17, 2022 · 2 comments

Comments

@belisoful
Copy link
Member

I know what you may be thinking... a Dot? Why do we need a dot? A colored circle is enough, no? Red, yellow, green. sometime blue and grey. simple. DIY graphics. maybe too simple for a WebControl... not so fast.

This isn't any dot, it's a sophisticated 3d looking status indicator, SVG. Few things are "pretty" out of the PRADO box, it's the technical feat that is so impressive. So this is something that people can use out of the box that is pretty and gives the platform a nudge in that direction.

It's more usable and friendly than each developer writing their own indicator status WebControl/graphics. Here is a sample of the dot and how it looks in various sizes.

TDot examples

dot size sample

@belisoful
Copy link
Member Author

The TDot should publish dynamically generated SVGs without tmp files... requiring this: #835

@belisoful
Copy link
Member Author

The TDot is one file that is separate from the TAssetManager (and its changes needed to support this dynamically generated asset). I'm going to include this TDot in the update to TAssetManager as an example of using the new TAssetManager and its IAsset interface due to this being a the first generated virtual asset in Prado and it's separateness from the TAssetManager.

The best way to demonstrate how to use the new TAssetManager::publish(IAsset $asset, ...) is to provide a live example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant