Overview
Your user profile in Hive contains your personal information, contact details, and settings. Keeping your profile up-to-date helps your team recognize and contact you easily.Viewing Your Profile
Access your profile by:- Clicking your avatar or name in the top navigation bar
- Selecting Profile from the dropdown menu
- Profile photo or auto-generated initials avatar
- Full name and username
- Job title and ID number
- Email address
- User role
- Last access timestamp
Profile Fields
User Information
Your profile contains the following fields from theusuarios table:
| Field | Description | Editable |
|---|---|---|
nombre_usuario | Your unique username for login | ✓ |
nombre_completo | Your full name (shown to team members) | ✓ |
cedula | ID number or employee ID | ✓ |
puesto | Job title or position | ✓ |
correo | Email address for notifications | ✓ |
rol | User role (administrador, usuario, etc.) | Admin only |
foto_url | Profile photo storage path | ✓ |
Your username must be unique across the organization. The system will notify you if you try to use a username that’s already taken.
Editing Your Profile
Update Basic Information
Modify fields
Update any of the editable fields:
- Full Name (
nombre_completo) - Username (
nombre_usuario) - Job Title (
puesto) - ID Number (
cedula) - Email (
correo)
Field Validation
Hive validates profile fields before saving:- Email: Must be a valid email format and unique in the system
- Username: Must be unique and contain only alphanumeric characters
- Cedula: Must be unique if provided (some organizations require this)
Profile Photos
Avatar System
Hive uses an intelligent avatar system:- Custom Photo - If you upload a photo, it’s displayed from Supabase Storage
- Initials Avatar - If no photo exists, an auto-generated SVG avatar with your initials is shown
- Use the first letters of your
nombre_completo - Have a color generated from your name (consistent across sessions)
- Are created locally (no network requests, zero bandwidth cost)
Uploading a Profile Photo
Upload Implementation
Profile photos are handled by theuploadProfileImage.js utility:
Photo Storage
Profile photos are stored in Supabase Storage:- Bucket:
profile-pics - Path format:
{user_id}/{user_id}-Profile.{extension} - Access: Public URLs for team visibility
- Size limit: 3 MB per file
- Upsert behavior: Uploading a new photo replaces the old one
The system stores the relative path (e.g.,
abc123/abc123-Profile.jpg) in your foto_url field. The full public URL is generated on-demand by getUserAvatarUrl().Removing Your Photo
To remove your profile photo:- Clear the
foto_urlfield or set it to"Foto por defecto" - Save your profile
- The system will automatically display your initials avatar instead
Updating Password and Email
Change Your Password
To change your password:- Contact your system administrator for a password reset link
- Or use the “Forgot Password” feature if email is configured
- Follow the secure link sent to your email
- Set your new password
Update Your Email
Changing your email address affects both:- Login credentials (if you log in with email)
- Notification delivery (where system alerts are sent)
Profile Visibility Settings
Team Visibility
All team members can see:- Your name and username
- Your profile photo or initials
- Your job title
- Your online/offline status (if presence tracking is enabled)
- Your email address (unless shared with team)
- Your ID number (cedula)
- Your role and permissions
Presence Status
Your profile includes apresence_state field that shows:
- Online - Currently active in the app
- Offline - Not currently using the app
- Last seen - Timestamp of your last activity
ultimo_acceso timestamps and real-time presence updates.
Presence is updated via the Supabase Realtime system and background ping operations. No action is required on your part.
Admin Profile Management
If you’re an administrator, you can:- Edit other users’ profiles
- Change user roles (
rolfield) - Deactivate/activate accounts
- Reset passwords
- Upload photos on behalf of users
Syncing Profile Changes
Real-time Updates
When you update your profile:- Changes are saved to the
usuariostable in Supabase - Your local cache (
localStorage.fullUser) is updated - The UI refreshes automatically:
- Sidebar displays updated name
- Navigation bar shows new photo
- Task assignments reflect new information
Cross-session Sync
If you’re logged in on multiple devices or tabs:- Profile changes may take a few moments to sync
- Refresh the page to see the latest changes immediately
- Real-time subscriptions will push updates automatically
Troubleshooting
Profile photo not updating
Clear browser cache
Clear browser cache
Your browser may be caching the old image. Hard refresh (Ctrl+F5 or Cmd+Shift+R) to clear it.
Check file size and format
Check file size and format
Ensure your image is under 3 MB and in a supported format (JPEG, PNG, WebP, SVG).
Verify upload success
Verify upload success
Check the browser console for errors. The upload function should log success messages.
Changes not saving
- Check permissions: Ensure you have edit access to your profile
- Validate fields: Look for red error messages indicating validation failures
- Network issues: Check your internet connection
- Session expired: Log out and back in to refresh your session
Duplicate username error
If you see “Este nombre de usuario ya existe”:- Try a different username
- Contact your admin if you believe there’s an error
- Check for typos or special characters
Usernames are case-sensitive and must be unique across the entire organization.
API Reference
Update User Profile
Upload Profile Image
Related Topics
Authentication
Learn about login, sessions, and security
Notifications
Configure how you receive alerts and updates
Team Management
View and manage team members
User Roles
Understand roles and permissions
