Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Customizable Alert Messages for Non-Authenticated Asset Scans #1591

Open
carlosvirreira opened this issue Jan 20, 2025 · 1 comment

Comments

@carlosvirreira
Copy link
Contributor

Contact Details

No response

Is your feature request related to a problem? Please describe?

Overview

Add functionality for workspace administrators to set custom alert messages that appear when their assets are scanned by non-authenticated users.

Current Behavior

When a non-authenticated user scans an asset's QR code, they see our default layout with standard messaging:

  • "Thank you for scanning"
  • "Log in if you own this item. Contact the owner to report if it's lost."

Proposed Behavior

Add a new customizable alert banner above the existing layout that can be configured at the workspace level:

  • Workspace admins can set a custom message (e.g. "Property of ResQ, please ring [phone]")
  • Message appears prominently at the top of the screen when non-authenticated users scan assets
  • Message is consistent across all assets in the workspace
  • Message can include basic text formatting and contact information

Technical Requirements

  • Add new field in workspace settings for custom message configuration
  • Create new UI component for alert banner
  • Ensure message renders properly on mobile devices
  • Character limit of 150 characters for message
  • Basic text sanitization for security

UI/UX Considerations

  • Alert banner should be visually distinct but not overwhelming
  • Message should be immediately visible without scrolling
  • Consider accessibility (contrast, text size)
  • Maintain professional appearance of existing layout

Questions to Resolve

  • Should we allow HTML/markdown formatting?
  • Should we include templating variables (e.g. {workspace_name})?
  • Should message be configurable per asset category?

Priority: Medium
Labels: feature, ux/ui, enhancement
Assignee: Carlos

Describe the solution you'd like

Add a new customizable alert banner above the existing layout that can be configured at the workspace level:

  • Workspace admins can set a custom message (e.g. "Property of ResQ, please ring [phone]")
  • Message appears prominently at the top of the screen when non-authenticated users scan assets
  • Message is consistent across all assets in the workspace
  • Message can include basic text formatting and contact information

Describe alternatives you've considered

No response

Additional context

No response

@DonKoko
Copy link
Contributor

DonKoko commented Feb 13, 2025

hey @carlosvirreira. I remember you showed me the designs of this feature. Can you update your issue to include them there so i can do 1 more review of them and we can then plan this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants