Create administrative dashboard for HR with recent activity Views

Created on 12 June 2025, 25 days ago

Problem/Motivation

The Open Intranet needs an administrative dashboard for HR personnel to monitor key activities and manage internal communications effectively. Currently, HR staff and content editors lack a centralized view of recent activities, user engagement, and content management needs within the intranet system.

This feature will provide HR departments with essential oversight capabilities to:

  • Monitor recent content publications and updates
  • Track user engagement through comments and social interactions
  • Oversee user account management and login activity
  • Maintain awareness of new employee onboarding through account creation tracking

Proposed resolution

Create a dedicated administrative dashboard at admin/openintranet using the Dashboard module to display four essential Views-based blocks in a 2x2 grid layout (50% width each):

Dashboard Layout:

  • Recent Content - Overview of latest posts/news articles (all node types)
  • Recent Comments - Monitor social interactions and engagement
  • Recent Logins - Track user activity and system usage
  • New User Accounts - Monitor new employee onboarding

Technical Implementation:

  • Each block will be powered by custom Views displaying 10 items per block
  • Tables will have 2-3 columns (optimized for readability and available space)
  • Mini pager implementation for navigation through additional records
  • Responsive design ensuring usability across desktop and mobile devices

Remaining tasks

  • Create four custom Views for dashboard data sources
  • Configure Dashboard module for admin/openintranet path
  • Design and implement responsive 2x2 grid layout
  • Set up appropriate access permissions for HR roles
  • Configure mini pagers for each dashboard block
  • Test responsiveness and usability across devices

User interface changes

New administrative dashboard page at admin/openintranet featuring:

  • Four dashboard blocks arranged in 2x2 grid layout
  • Each block displaying tabular data with 2-3 columns
  • Mini pagination controls under each block
  • Responsive design adapting to different screen sizes
  • Consistent styling with Open Intranet admin theme

API changes

No API changes required. This feature utilizes existing Drupal Views and Dashboard module APIs.

Data model changes

No database schema changes required. The dashboard will display existing data from:

  • Node table (for recent content)
  • Comment table (for recent comments)
  • Users table and user login tracking (for login activity)
  • Users table with creation dates (for new accounts)

πŸ“Œ 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