User Bookmarks Feature

Created on 16 June 2025, 21 days ago

Problem/Motivation

Currently, Open Intranet users have no way to save and organize important pages (News, Events, Knowledge Base articles) for quick access later. Users often need to bookmark internal content that is relevant to their work or interests, but must rely on browser bookmarks or manually saving URLs, which is inefficient and doesn't integrate with the intranet's user experience.

This feature would improve user engagement and productivity by allowing employees to create their personal collection of important intranet pages and easily access them through a dedicated interface.

Proposed Implementation Approach

1. Flag Module Configuration

Create a new Flag called "bookmark" with the following settings:

  • Flag name: bookmark
  • Flag labels:
    • Flag this item: "Add to Bookmarks"
    • Unflag this item: "Remove from Bookmarks"
    • Flag confirmation message: "Page bookmarked successfully"
    • Unflag confirmation message: "Bookmark removed"
  • Applicable content types: News, Event, Knowledge Page
  • Access permissions: Authenticated users only

2. Main Bookmarks Page View (/bookmarks)

Create a Views page displaying user's bookmarked content:

  • View type: Page
  • Path: /bookmarks
  • Access: User role - authenticated users
  • Contextual filter: Current user's flagged content only
  • Display format: Table
  • Table columns:
    • Content Title (linked to original content)
    • Content Type
    • Date Created
    • Actions: "Remove from Bookmarks" (unflag link)
  • Exposed filters:
    • Content Title (text field with "Search by title" placeholder)
    • Content Type (dropdown with "All content types" default option)
  • Sort criteria: Flagged date (newest first)
  • Empty behavior: "No bookmarks yet. Start exploring content to save your favorites!"

3. Homepage Sidebar Block View

Create a Views block for quick access on homepage:

  • View type: Block
  • Block title: "My Last Bookmarks"
  • Access: User role - authenticated users
  • Contextual filter: Current user's flagged content only
  • Display format: Unformatted list
  • Fields: Content Title (linked to original content)
  • Items to display: 5
  • Sort criteria: Flagged date (newest first)
  • Block placement: Left sidebar, between "Highlighted Links" and "Your Last Pages"
  • Footer: Link "All my bookmarks" pointing to /bookmarks
  • Empty behavior: "No bookmarks yet" with link to explore content

4. Content Pages Integration

  • Add Flag links to content templates for News, Event, and Knowledge Page content types
  • Display bookmark status with visual indicator (bookmark icon)
  • Use AJAX flagging for smooth user experience

5. Navigation Integration

  • Add "My Bookmarks" link to user dropdown menu in top-right corner (alongside user profile and logout options)
  • Link should point to /bookmarks page
  • Position the link between user profile and logout options
📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇵🇱Poland grzegorz.bartman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024