#4441 (React dynamic display mode (Actor.get_display_mode(ar)))
35 · by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 4 years, 8 months ago by Sharif Mehedi about #4441 (React dynamic display mode (Actor.get_display_mode(ar))) : Trying to work on this further, the display_mode as a dictionary make sense on a data element. But on an Actor it does NOT make much sense, because the Actor already has layout defined on their specific name such as detail_layout, card_layout and such. We need on know what type of element to render ...
- 4 years, 8 months ago by Luc Saffre about #4441 (React dynamic display mode (Actor.get_display_mode(ar))) : The display_mode is stored in the cached JS. So a method get_display_mode() does not make much sense. Let's say that for the application developer, display_mode must be either a string (a name of a DM) or a dict (that maps window_type to display_mode).
- 4 years, 8 months ago by Sharif Mehedi about #4441 (React dynamic display mode (Actor.get_display_mode(ar))) : I should probably have a brainstorming session about this.