#4441 (React dynamic display mode (Actor.get_display_mode(ar)))

35 · by Sharif Mehedi · in Developers · assigned to Sharif Mehedi

Kurzbeschreibung

Kinder

Kommentare

  • 4 Jahre, 8 Monate ago von 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 Jahre, 8 Monate ago von 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 Jahre, 8 Monate ago von Sharif Mehedi about #4441 (React dynamic display mode (Actor.get_display_mode(ar))) : I should probably have a brainstorming session about this.