orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
515 stars 220 forks source link

Landing page: show forms/templates as cards #6527

Open ebruchez opened 1 day ago

ebruchez commented 1 day ago

Now that we have the ability to associate a screenshot with a form, this becomes even more interesting. We could show:

The question, of course, is how to configure this. Right now, we have:

<property
    as="xs:string"
    name="oxf.fr.landing.cards"
    value="quick-links published-forms form-builder-forms demo-forms"/>

Could we, as a start, allow passing form triplets? For example, for published forms:

quick-links
published-forms
form-builder-forms
acme/sales/3
orbeon/contact/1

Ideally, of course, we'd like a way in the UI to do this. For example, now we have a checkbox that says "Allow use as form template". We could have other options in Form Builder to determine the Landing page behavior. Later, it would be even better to be able to do this directly from the landing page, if the user has sufficient rights for global settings.

This would have a global effect, not a per-user effect. But we don't have yet the notion of user profile/user settings anway.

ebruchez commented 8 hours ago

Did a proof of concept. It's easy to load form information including screenshot. Issues to solve: