#5534 ("My settings" quicklink is broken in ExtJS)
50 · by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
Children
Comments
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : The OP is fixed, and I checked that customer production sites aren't affected.
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : I pushed my changes. TODO: Documentation and test coverage...
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : Wondering why we have the Actor.default_list_action_name attribute...
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : React does not yet use that new feature, it still needs the User.my_settings = MySettings() action.
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : Also Actor now has a default_record_id attribute. And users.Me is a first usage example. SiteConfig is another candidate and user planes as well (these are special "tables" with only one row, which is always shown in detail view mode and without navigation. Such a table must define a custom get_row_...
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : Seems that I got it working under ExtJS without the additional MySettings action. It required a new action attribute default_record_id (which is -99999 for ShowInsert and 'myself' for the detail action of users.Me). And the users.Me.get_default_action() method is ugly.
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : I do not yet have a full solution even for Extjs. And in React we are going to have fun because there is much redundant manual code in AppInlineProfile.jsx
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : Manual patch on welcht: lino/modlib/users/ui.py lino/modlib/users/__init__.py lino/core/views.py
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : I found a fix for the urgent issue (users.Me had no get_default_action() method). But I don't understand e.g. why the issue was only under extjs and not under react.
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : @8lurry do you have a chance to get this quickly done? (Otherwise give it back to me)
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : Also, the "My settings" item of the user menu opens the table of all users. This makes the ticket urgent.
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : The JS console says Uncaught TypeError: comp.store is undefined.
- 2 years, 6 months ago by Luc Saffre about #5534 ("My settings" quicklink is broken in ExtJS) : Created new Ticket #5534 ("My settings" quicklink is broken in ExtJS).