Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: documented some design

...

Got mockups / screenshots?

Gallery

 

Design

Where are favorites stored?

Favorites are stored in a DLM fragment of type="favorites".  Since it's a goofy non-regular type, it won't be rendered in traditional spots in the layout (it's not a tab).

Viewing

Edit UI lists favorites.

Editing

Edit UI lists all favorites, collections first then portlets.

Items with deleteAllowed=true (DLM) are hyperlinks to ActionUrls deleting the node.  Trash glyph.

Items with deleteAllowed=false (DLM) are not hyperlinks and have tool tips explaining they are not deleteable.  Lock glyph.

Edit controller checks if signaled nodeId is deletable.  Adds errorMessage render parameter if needed.  Adds successMessage render parameter if success.