We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 17 months ago

#3627 closed Enhancement (wontfix)

Don't display empty widgets

Reported by: ewinslow Owned by:
Priority: normal Milestone: Elgg 1.8.x
Component: UI/UX Version: 1.7
Severity: minor Keywords:
Cc: brett@… Difficulty: easy

Description

Wondering if this would be a good idea. If a widget would have no content, why display it at all? It just looks silly sitting there empty.

Change History (6)

comment:1 Changed 2 years ago by cash

If you know of a widget distributed with Elgg that has no content, we should fix that. They should at least display a "there is no content" kind of message.

And hiding an empty widget is a bad idea. It decreases the predictability of the system.

comment:2 Changed 2 years ago by ewinslow

Why is this unpredictable? Nothing to show? Don't show anything. That seems logical to me.

I'm assuming we always show this to the user who dragged the widget into place, or to all users who can edit the widget. That way they always have the chance to tweak the settings in order to get something to show up.

comment:3 Changed 2 years ago by cash

You forgot to mention that it would always be visible to the person who added it in your original report.

comment:4 Changed 23 months ago by ewinslow

Oops. You're right -- sorry for that.

Any new thoughts in view of that new information?

comment:5 Changed 23 months ago by cash

  • Component changed from Core to UI/UX
  • Difficulty set to easy
  • Milestone changed from Needs Review to Elgg 1.8.x

sgtm

comment:6 Changed 17 months ago by cash

  • Resolution set to wontfix
  • Status changed from new to closed

Tried this but Elgg automatically falls back to object/default if the widget view does not return anything. This is not worth adding an exception to elgg_view_entity().

Note: See TracTickets for help on using tickets.