[GH-ISSUE #4510] Rename ContextWrapper to AuthProvider for clarity in AuthContext.jsx #2870

Closed
opened 2026-02-22 18:31:36 -05:00 by yindo · 2 comments
Owner

Originally created by @angelplusultra on GitHub (Oct 7, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4510

Originally assigned to: @Guru6163 on GitHub.

How are you running AnythingLLM?

All versions

What happened?

The Auth context provider is exported as ContextWrapper, which is not a clear or descriptive name. It should be exported as AuthProvider.

Relevant code references:
https://github.com/Mintplex-Labs/anything-llm/blob/89a01492b51a23150b59732166b90ebdd1843c50/frontend/src/AuthContext.jsx#L5-L32

https://github.com/Mintplex-Labs/anything-llm/blob/89a01492b51a23150b59732166b90ebdd1843c50/frontend/src/App.jsx#L100-L101

Are there known steps to reproduce?

  1. Open frontend/src/AuthContext.jsx.
  2. See that the provider is exported as ContextWrapper.
Originally created by @angelplusultra on GitHub (Oct 7, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4510 Originally assigned to: @Guru6163 on GitHub. ### How are you running AnythingLLM? All versions ### What happened? The Auth context provider is exported as `ContextWrapper`, which is not a clear or descriptive name. It should be exported as `AuthProvider`. **Relevant code references:** https://github.com/Mintplex-Labs/anything-llm/blob/89a01492b51a23150b59732166b90ebdd1843c50/frontend/src/AuthContext.jsx#L5-L32 https://github.com/Mintplex-Labs/anything-llm/blob/89a01492b51a23150b59732166b90ebdd1843c50/frontend/src/App.jsx#L100-L101 ### Are there known steps to reproduce? 1. Open `frontend/src/AuthContext.jsx`. 2. See that the provider is exported as `ContextWrapper`.
yindo added the enhancementgood first issue labels 2026-02-22 18:31:36 -05:00
yindo closed this issue 2026-02-22 18:31:36 -05:00
Author
Owner

@Guru6163 commented on GitHub (Oct 8, 2025):

Let me work on this @angelplusultra

@Guru6163 commented on GitHub (Oct 8, 2025): Let me work on this @angelplusultra
Author
Owner

@angelplusultra commented on GitHub (Oct 8, 2025):

@Guru6163 assigned you

@angelplusultra commented on GitHub (Oct 8, 2025): @Guru6163 assigned you
yindo changed title from Rename ContextWrapper to AuthProvider for clarity in AuthContext.jsx to [GH-ISSUE #4510] Rename ContextWrapper to AuthProvider for clarity in AuthContext.jsx 2026-06-05 14:48:59 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2870