refactor: move privacy consent from ChatBox to Login/SignUp (#1239)

Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
This commit is contained in:
Dream 2026-03-07 05:55:48 -05:00 committed by GitHub
parent caa5742d92
commit 2e44ae0f0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 277 additions and 1030 deletions

View file

@ -104,8 +104,8 @@ describe('useInstallationSetup Hook', () => {
});
it('should set initState to carousel if tool is not installed', async () => {
// Set initial state to permissions (as would happen on fresh startup)
mockAuthStore.initState = 'permissions';
// Set initial state to carousel (as would happen on fresh startup)
mockAuthStore.initState = 'carousel';
// Mock tool not installed
window.ipcRenderer.invoke = vi.fn().mockResolvedValue({
@ -235,8 +235,8 @@ describe('useInstallationSetup Hook', () => {
it('should handle fresh installation scenario', async () => {
TestScenarios.freshInstall(electronAPI);
// Set initial state to permissions (as would happen on fresh startup)
mockAuthStore.initState = 'permissions';
// Set initial state to carousel (as would happen on fresh startup)
mockAuthStore.initState = 'carousel';
// Mock tool not installed
window.ipcRenderer.invoke = vi.fn().mockResolvedValue({