modcomms/frontend/components
michael 8f2f561c71 Fix stale UserContext after agency/role changes and remove hardcoded values in CreateProjectModal
UserManagement now calls refresh() on the global UserContext when the
current user's agency or role is changed, so downstream consumers
(e.g. CreateCampaignModal) immediately reflect the update.

CreateProjectModal now reads the Agency and Agency Lead fields from
the current user's profile instead of hardcoding "OLIVER Agency" and
"Steve O'Donoghue".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 14:44:55 -06:00
..
icons Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
AgencyFilterBar.tsx Add frontend RBAC: UserContext, role-based sidebar, agency filter, user management 2026-02-19 08:36:38 -06:00
Analytics.tsx Add per-agency analytics breakdown table for admin users 2026-02-22 14:33:48 -06:00
AssetPreview.tsx Replace 'asset' with 'proof' in user-facing UI text 2026-01-27 15:45:48 -06:00
Auditing.tsx Fix Resolutions tab Proof Name to use blue link styling 2026-02-12 14:09:19 -06:00
Campaigns.tsx Add Brand column to campaigns list table 2026-02-25 12:29:24 -06:00
ChecksOverview.tsx Update frontend UI text to use British English spelling 2026-02-23 19:11:10 -06:00
CopyGenAI.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
CreateCampaignModal.tsx Use current user's agency in Create Campaign modal 2026-02-22 08:57:13 -06:00
CreateProjectModal.tsx Fix stale UserContext after agency/role changes and remove hardcoded values in CreateProjectModal 2026-02-27 14:44:55 -06:00
FeedbackReport.tsx Render Recommendation as same-level bullet grouped with its Issue 2026-02-25 13:30:04 -06:00
Header.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
Hero.tsx Remove 'View Documentation' button from Hero section 2026-02-12 11:33:15 -06:00
KnowledgeBase.tsx Show partial parse status in UI when some pages fail 2026-02-12 17:51:52 -06:00
LoadingVisual.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
Login.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
PDFReport.tsx Standardise Issue/Recommendation formatting across all agents 2026-02-19 10:17:08 -06:00
Profile.tsx Update Profile page layout: reorder fields and add separate Agency field 2026-02-22 09:25:25 -06:00
Projects.tsx Update frontend UI text to use British English spelling 2026-02-23 19:11:10 -06:00
ProofPreview.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
ProofTypeManager.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
ProofUpload.tsx Replace 'asset' with 'proof' in user-facing UI text 2026-01-27 15:45:48 -06:00
Settings.tsx Add frontend RBAC: UserContext, role-based sidebar, agency filter, user management 2026-02-19 08:36:38 -06:00
Sidebar.tsx Grant oversight_admin read-only access to User Management 2026-02-24 13:35:07 -06:00
StatusDashboard.tsx Update frontend UI text to use British English spelling 2026-02-23 19:11:10 -06:00
ToggleSwitch.tsx Complete UI design system migration to Barclays brand colors 2026-01-27 14:00:13 -06:00
UserManagement.tsx Fix stale UserContext after agency/role changes and remove hardcoded values in CreateProjectModal 2026-02-27 14:44:55 -06:00
WIPReviewer.tsx Update frontend UI text to use British English spelling 2026-02-23 19:11:10 -06:00