dashjoin / platform

Dashjoin Is an Open Source & Cloud Native Low Code Development and Integration Platform that helps teams deliver applications faster 🚀 Uses a data-driven approach inspired by Linked Data to make use of your existing assets
https://dashjoin.com
GNU Affero General Public License v3.0
89 stars 7 forks source link

Last visited page should be stored in the context or as variable #358

Closed pgrill79 closed 2 weeks ago

pgrill79 commented 1 month ago

Would be good if the last accessed page can be accessed as variable or in the context.

Background - we have links to special records from different screens, and want to offer the user to go back to the origin screen (without using the back button of the browser).

This can also be used e.g. for the URL after deleting the record see: https://github.com/dashjoin/platform/issues/349

aeberhart commented 2 weeks ago

we could add a client side jsonata function that access browser history

aeberhart commented 2 weeks ago

can be done by adding this property to the page widget:

    "onRender": "$setVariable('referrer', href)",

see #361