Overview
The Credenciales tab (๐ฎ) is where you manage game account credentials for each company. Each game entry includes:- Game name
- Username/login
- Link to the game platform
- Active/inactive toggle
- Last modification date
Viewing Credentials (Read Mode)
When edit mode is off, the credentials tab displays game cards in a grid layout.Game Card Components
Each game card shows:Copy Username
Click the ๐ button next to any username to copy it to clipboard. A toast notification confirms the copy action.operapedia/app.js
Open Game Link
Click ๐ Abrir to open the game platform in a new tab.Active/Inactive Status
The toggle indicator shows the gameโs current status:- Green toggle: Game is active
- Gray toggle: Game is inactive
Managing Credentials (Edit Mode)
Editing credentials requires supervisor role and edit mode enabled.
Editing Existing Games
Select Company and Credentials Tab
Choose a company from the sidebar and ensure the ๐ฎ Credenciales tab is active.
Modify Game Details
In edit mode, each game card becomes editable with input fields:
- Name: Text input (can select from catalog or type custom)
- Username: Text input with copy button
- Link: URL input
- Active: Toggle switch
Adding New Games
When in edit mode, a special + Add Game card appears at the top.Click Add Game Card
The add card includes:
- Game selector: Dropdown with master catalog games
- Custom option: Select โโ๏ธ Otroโ to enter a custom name
- Username field
- Link field (auto-populated if from catalog)
Select from Catalog or Enter Custom
From Catalog:
- Select a game from the dropdown
- Link auto-fills from the master catalog
- Enter username manually
- Select โโ๏ธ Otroโ from dropdown
- Enter game name manually
- Enter username and link manually
Importing Games from Another Company
You can clone game credentials from another company within the same partner.Select Source Company
A modal shows companies filtered by the current partner. For example, if youโre editing a Dragon company, only other Dragon companies appear.
operapedia/app.js
Active/Inactive Toggle Sync
The toggle state is synced between two Firebase locations:- Company-specific:
companies/{companyId}/games/{gameId}/active - Global toggles:
gamesConfig/{companyId}_{gameId}/active
operapedia/app.js
Master Game Catalog
The game catalog is a centralized list of available games with their official links.How the Catalog Works
- Location:
gameCatalog/in Firebase - Structure:
{id, name, link}for each game - Independence: Modifying the catalog does NOT affect existing company games
- Usage: Provides dropdown options when adding games + auto-fills links
See the Game Catalog guide for detailed catalog management instructions.
Search Functionality
Local Search (Within Company)
The game search input (#gameSearch) filters the displayed game cards by:
- Game name
- Username
Global Search (All Companies)
The global omnibar (#globalSearch) in the navbar can search across all companiesโ credentials.
Filters include:
- Partner filter: Only search specific partner companies
- Category filter: Select โCredencialesโ to search only game credentials
- Company name
- Matching games with usernames
- Functional copy and open buttons
Firebase Data Model
Game credentials are stored at:Best Practices
Username Formats
Username Formats
- Use consistent username formats across companies
- Include region/server if applicable (e.g., โuser@BRโ)
- Avoid special characters that may cause copy issues
- Document password separately in a secure system
Link Management
Link Management
- Always use complete URLs with
https:// - Test links after adding to ensure they work
- Use the catalogโs official links when available
- Update links if platforms change domains
Active Status
Active Status
- Mark games inactive if credentials are expired
- Keep active games at the top for easier access
- Document reason for deactivation in Notes tab
Import Strategy
Import Strategy
- Import from companies with similar offerings
- Review imported data before saving
- Update usernames after import (donโt reuse credentials)
- Delete irrelevant games after bulk import
Troubleshooting
Cannot Edit Game Credentials
Cannot Edit Game Credentials
Editing requires:
- Supervisor role (Analista and Chats cannot edit)
- Edit mode enabled (button in navbar)
- Admin password authentication
- A company must be selected
Copy Button Not Working
Copy Button Not Working
Game Not in Dropdown
Game Not in Dropdown
If a game doesnโt appear in the add game dropdown:
- It hasnโt been added to the master catalog yet
- Select โโ๏ธ Otroโ to add it as a custom entry
- Ask a supervisor to add it to the catalog for future use
Changes Not Saving
Changes Not Saving
If changes arenโt persisting:
- Check for Firebase connection errors in browser console
- Ensure you clicked Guardar on the specific game card
- Verify edit mode is still active (doesnโt timeout)
- Check Firebase database rules allow write access