Skip to content

Controls for shortcuts on the frontpage

This issue builds upon https://salsa.debian.org/freedombox-team/plinth/issues/1391 and conversations in progress calls. Core issue is the need to expose and control application links on the one hand, but not misapply plinths card interface on the other hand. I'm going to present a proposal that aims to satisfy both needs.

for reference: by "exposed links" I mean third party links to interfaces not belonging to plinth.


step 0: remove the "Home" page

image

step 1: create a system module called "landing page"

  • it is only for admins
  • it lists all available exposed links
  • it allows to enable/disable each link separately
  • it features a general toggle of a landing page
    • OFF: visiting the main domain shows normal plinth only
    • ON: the main domain shows a landing page with enabled exposed links

image

step 2: create a landing page

  • it only shows up on main domain if "landing page" module is enabled
  • it features only enabled exposed links
  • no cards, no plinth menus items, no plinth
  • it has only one "administer" link pointing back to plinth

image

step 3: add links to cards

  • they should always be attached to the respective card at the same position

image

concerning permissions

The landing page should of course only show exposed links according to the permissions a user has. This can mean a logged in user sees a different landing page than an anonymous or admin user.

concerning defaults

By default the landing page module would be toggled OFF, no application links would be exposed. Logged in users have direct access to exposed links via cards. Exposing links to the outside by default might not be in the interest of our users.

What are your thoughts on this approach?

Edited by Sunil Mohan Adapa