Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.32k stars 535 forks source link

Docs: Components which require a Blazorise license #5797

Closed XanderStoffels closed 4 weeks ago

XanderStoffels commented 1 month ago

Is your feature request related to a problem? Please describe. I was wondering why my LineChart was not showing all the data I provided. I tried debugging, checking what goes over the wire, reading the documentation, but nothing seemed to work. After looking at the Blazorise source code, it seems that the amount of data you provide to charts (and some other components) get limited based on your license. Our license is in the process of being renewed, so our data got cut off.

   internal const int DEFAULT_UNLICENSED_LIMIT_DATAGRID_MAX_ROWS = 1000;
   internal const int DEFAULT_UNLICENSED_LIMIT_AUTOCOMPLETE_MAX_ROWS = 1000;
   internal const int DEFAULT_UNLICENSED_LIMIT_CHARTS_MAX_ROWS = 10;
   internal const int DEFAULT_UNLICENSED_LIMIT_LISTVIEW_MAX_ROWS = 1000;
   internal const int DEFAULT_UNLICENSED_LIMIT_TREEVIEW_MAX_ROWS = 100;

Describe the solution you'd like Write clearly at the top of the component's documentation what its limitations are if you do not have a license. This would have saved us some time figuring out the issue.

Additional context

Add any other context or screenshots about the feature request here. Image

David-Moreira commented 1 month ago

Hello @XanderStoffels

Please find the information you're looking for on the pricing page:

Image https://blazorise.com/pricing

XanderStoffels commented 1 month ago

Thanks for the link. However, I think in order not to confuse developers, the component documentation page should mention the limitations as well. I would have never guessed to check the pricing page. Also, the data in the screenshot you shared does not seem to be correct. It seems the listed limitations are 10x the actual limitation.

stsrki commented 1 month ago

It makes sense to add the mentions to the dedicated pages where needed. It never occurred to me before, but it is a valid point.

stsrki commented 1 month ago

@tesar-tech

Some references on how we could add a note to the docs


We can add a simple Alert at the beginning of the page that says that the component has some limitations in the non-licensed version. Then, add a link to the pricing page.

or

We can explicitly say what is the limit of the data. And also, add a link to the pricing page.

XanderStoffels commented 1 month ago

I think the second option requires the least amount of effort from the people reading the documentation, so my vote is on option 2.