cuba-platform / documentation

CUBA Platform Documentation
https://www.cuba-platform.com
Creative Commons Attribution 4.0 International
26 stars 45 forks source link

Warning note on every "GUI Legacy API" page #616

Closed alexbudarov closed 4 years ago

alexbudarov commented 4 years ago

Description of the bug or enhancement

forum: https://www.cuba-platform.com/discuss/t/version-7-0-jpql-session-parameter/8943/5?u=alexbudarov

Many people including me get tricked when using the search in the documentation and jumping into the page inside the "legacy API" chapter. The content on the page does not highlight at all that information presented is mostly useless for new projects.

Can we put some warning block or image to every sub-page inside legacy chapter, for all time as long as legacy API is supported?

image

knstvk commented 4 years ago

Let's add this at the top of each section where there is no such admonition yet:

[WARNING]
====
This is a legacy API. For the new API available since v.7.0, see <<gui_framework>>.
====