Secondary actions in Applaud are the context menu options available on a list item. They let you provide additional functions without replacing the main (primary) action. Secondary actions can:
- Open a platform page or an external link
- Delete a record
- Toggle a boolean property (true/false)
- Reuse an existing menu
This gives users more flexibility while keeping the list view clean and uncluttered.
HR use cases
- Request leave – open a leave request form in a modal.
- Delete employee record – remove a test or duplicate entry from the employee directory.
- Mark as on annual leave – toggle a boolean field that displays as a chip or badge across the platform.
- Open performance notes – link to an employee’s appraisal notes page.
- Send to HR policy – provide a shortcut to an external policy or resource.
Best practices
- Use secondary actions for optional or less frequent tasks to avoid overwhelming the main interface.
- Always label actions clearly and consistently—for example, “Delete record” instead of just “Delete.”
- Only add delete options where necessary, and consider restricting by role to prevent accidental data loss.
- Use toggle actions (like “On leave” or “Active”) to make status updates fast and intuitive.
- Keep the number of secondary actions manageable—too many options can confuse users.