#6865 (The Open Help Window button doesn't work in Jane)
31 · by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
When I click on the Help button in the detail of a ticket in Jane, it says "OpenHelpWindow has no run_from_ui() method".
Concepts sous-jacents
Commentaires
- 4 mois ago by 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 mois ago by 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 mois, 1 semaine ago by Luc Saffre in reply to 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 mois, 1 semaine ago by Luc Saffre about #6865 (The Open Help Window button doesn't work in Jane) (1 reply) : 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 mois, 2 semaines ago by 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 mois, 2 semaines ago by 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).