Improve Teams integration and registration UX#49
Improve Teams integration and registration UX#49somethingwentwell wants to merge 1 commit intodataelement:mainfrom
Conversation
…iendly error messages - Register endpoint auto-creates default tenant if startup seed failed - Each seed step in main.py has independent error handling - Frontend hides empty company selector (from PR #49) - Friendlier error messages for 5xx / network errors on login page - Idempotent Alembic migration for thinking column (from PR #49)
|
Hi @somethingwentwell, thanks for the contribution! What we adopted from this PR:
What we addressed differently: The root problem — users failing to register because the default tenant wasn't seeded — went deeper than just hiding the UI selector. In our codebase, all startup seed steps (tenant, tools, skills, agents) were wrapped in a single We fixed this with two changes:
We also added friendlier frontend error messages for 5xx/network errors on the login page (e.g., "Service is starting up, please try again" instead of raw error text). Regarding the Teams card in AgentCreate.tsx: We didn't merge this part because the labels are hardcoded in English without going through our i18n system ( Since the key improvements from this PR are already in |
Summary
This PR makes the Microsoft Teams Alembic migration idempotent to avoid duplicate-column failures, hides the company selector on first-time registration when there are no tenants, and surfaces Microsoft Teams as an available channel in the New Digital Employee wizard (with full configuration in the agent settings page).
Checklist