#6865 (The Open Help Window button doesn't work in Jane)
31 · by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
When I click on the Help button in the detail of a ticket in Jane, it says "OpenHelpWindow has no run_from_ui() method".
Kinder
Kommentare
- 4 Monate ago von Sharif Mehedi about #6865 (The Open Help Window button doesn't work in Jane) : I wrote js_handler on OpenHelpWindow and adapted react to better handle the js_handler(s).
- 4 Monate ago von Sharif Mehedi about #6865 (The Open Help Window button doesn't work in Jane) : Let's say we put the result from Action.get_action_url into the actor data. But we still need some way to tell the frontend to not run this action in the usual way and render the action in an achor ("a") tag with href containing the url. We may also give it the "target" value whether "blank" or not ...
- 4 Monate, 1 Woche ago von Luc Saffre Antwort auf Luc Saffre about #6865 (The Open Help Window button doesn't work in Jane) : The React renderer must create an action request for each actor, with the user being a dyunamically createed AnonymousUser() of the given user type. Similar to what the memo plugin does in lino.modlib.memo.models.post_site_startup().
- 4 Monate, 1 Woche ago von Luc Saffre about #6865 (The Open Help Window button doesn't work in Jane) (1 Antwort) : It's because react ignored that ar2button() calls ba.action.get_action_url() and the stores the URL into the cached json. ar2button() is used quite often in application code. It is used when we create an action request programmatically just to generate a button from it.
- 4 Monate, 2 Wochen ago von Sharif Mehedi about #6865 (The Open Help Window button doesn't work in Jane) : That's because the action really does not have a run_from_ui method.
- 4 Monate, 2 Wochen ago von Luc Saffre about #6865 (The Open Help Window button doesn't work in Jane) : Created new Ticket #6865 (The Open Help Window button doesn't work in Jane).