Commit Graph
31 Commits
Author SHA1 Message Date
Steven Enamakel 4323c4812c Integrate Redux for state management and refactor authentication flow
- Added Redux Toolkit for managing authentication state, replacing Zustand for token handling.
- Implemented authSlice for token management, including setting and clearing tokens with localStorage synchronization.
- Refactored components (Login, Home, TelegramLoginButton) to utilize Redux for token management, enhancing state consistency.
- Updated App component to include Redux Provider and PersistGate for state persistence.
- Removed Zustand-based authStore and socketStore, streamlining the state management approach.

These changes improve the application's architecture by centralizing state management with Redux, enhancing maintainability and scalability.
2026-01-28 04:29:06 +05:30
Steven Enamakel c58d5fd625 Refactor Login component to handle JWT token from URL and streamline authentication flow
- Replaced phone number input handling with JWT token retrieval from URL query parameters.
- Implemented useEffect to store the token in Zustand auth store and navigate to onboarding after successful login.
- Removed unused phone number input and Telegram authentication logic for a cleaner interface.
- Added loading animation to indicate login processing.

These changes enhance the login experience by simplifying the authentication process and improving user feedback during login.
2026-01-28 04:20:04 +05:30
Steven Enamakel 792da72bbf Implement socket state management with Zustand and enhance connection handling
- Introduced a new Zustand store for managing socket connection status and socket ID, improving state management for real-time communication.
- Updated the ConnectionIndicator component to utilize the socket store for dynamic status updates, allowing for better integration with the socket connection state.
- Enhanced the SocketService class to update the socket connection status during various connection events, ensuring accurate status reporting.
- Refactored the TelegramLoginButton component to clarify JWT token handling in comments, improving code readability.

These changes enhance the application's real-time capabilities and provide a more robust user experience by accurately reflecting connection states.
2026-01-28 04:17:50 +05:30
Steven Enamakel 8c46040e20 Add Socket.IO integration with useSocket hook and socketService
- Introduced a new useSocket hook for managing Socket.IO connections in React components, providing methods for emitting and listening to events.
- Created a socketService class to handle the Socket.IO connection, including automatic reconnection and event management.
- Implemented token-based authentication for socket connections using the Zustand auth store, ensuring secure communication with the server.
- Added event handlers for connection status and error management to enhance reliability.

These changes enable real-time communication capabilities in the application, improving user interaction and responsiveness.
2026-01-28 04:14:27 +05:30
Steven Enamakel 781439842b Implement Zustand for authentication state management and update components
- Introduced Zustand for managing authentication state, including token storage and user session handling.
- Updated TelegramLoginButton and Home components to utilize the new auth store for setting and clearing tokens.
- Enhanced the desktop deep link listener to store session tokens in the Zustand store, ensuring consistent state management.
- Refactored localStorage interactions for session tokens to improve backward compatibility.

These changes streamline the authentication process and improve state management across the application.
2026-01-28 04:14:07 +05:30
Steven Enamakel 0023795e13 Add TelegramLoginButton component and integrate into Welcome page
- Introduced a new TelegramLoginButton component to handle user authentication via Telegram.
- Replaced the previous Telegram login button implementation in the Welcome component with the new TelegramLoginButton for improved modularity and code clarity.
- Updated configuration to include TELEGRAM_BOT_ID for seamless integration with the Telegram authentication flow.

These changes enhance the user experience by providing a dedicated component for Telegram login, streamlining the authentication process.
2026-01-28 04:07:44 +05:30
Steven Enamakel 0fb7c7ea9d Remove unused navigation logic from Welcome component to streamline code. This change simplifies the component by eliminating the useNavigate hook, aligning with recent updates to the authentication flow. 2026-01-28 02:54:33 +05:30
Steven Enamakel db1b37404e Refactor Welcome and Onboarding components to enhance user authentication flow and introduce AnalyticsStep
- Updated the Welcome component to handle Telegram login via a direct URL opening instead of navigation.
- Removed the handleBack function from the Onboarding component to simplify navigation logic.
- Added a new AnalyticsStep component to allow users to choose their data sharing preferences during onboarding.

These changes aim to streamline the authentication process and improve user engagement with privacy options.
2026-01-28 02:50:05 +05:30
Steven Enamakel 8b5cea7164 Merge remote-tracking branch 'origin/feat/login-web-to-desktop' into feat/theme 2026-01-28 02:40:25 +05:30
Steven Enamakel f0d64e8e97 Update ConnectionIndicator description and refactor Home component styles for improved user experience
- Modified the description in the ConnectionIndicator component for clearer messaging.
- Refactored button styles in the Home component to enhance visual consistency and user interaction.
- Removed the AnalyticsStep component to streamline the onboarding process.

These changes aim to improve user clarity and engagement throughout the application.
2026-01-28 02:27:35 +05:30
M3gA-MindandClaude Opus 4.5 4f05041e05 Fix deep link auth flow with Rust token exchange and platform workarounds
Replace browser fetch() with Rust invoke() for token exchange to bypass
CORS restrictions. Fix deep link listener by removing premature __TAURI__
guard (not available at module load), using lazy dynamic import instead.
Add deepLinkHandled localStorage flag to prevent infinite reload loops
from getCurrent() re-delivering the same URL after navigation. Add
backend auth implementation guide and platform-specific deep link docs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 02:25:55 +05:30
Steven Enamakel 334673e59a Add Lottie animations to onboarding steps and integrate LottieAnimation component
- Introduced a new LottieAnimation component to handle Lottie animations in the onboarding flow.
- Updated the Onboarding component to include Lottie animations for each step, enhancing visual engagement.
- Added multiple Lottie animation files to the public/lottie directory for use in onboarding steps.
- Adjusted the ConnectStep and GetStartedStep components to improve messaging and user experience.

These changes aim to create a more dynamic and engaging onboarding experience for users, utilizing animations to illustrate key steps in the process.
2026-01-28 02:24:06 +05:30
Steven Enamakel 1500ca7a28 Add Telegram connection modal and integrate into onboarding flow
- Introduced a new TelegramConnectionModal component to facilitate user login via QR code and two-factor authentication.
- Updated ConnectStep to manage the modal's visibility and handle completion of the Telegram connection process.
- Enhanced user experience by providing clear steps for connecting to Telegram during onboarding.

These changes aim to streamline the onboarding process by offering a seamless connection experience for Telegram users.
2026-01-28 02:09:15 +05:30
Steven Enamakel c3c47a3878 Update ConnectStep styles and messaging for enhanced clarity and user reassurance
- Changed background color and border styles for improved visual consistency.
- Updated messaging to emphasize that all data is stored privately and encrypted, enhancing user trust in the application.

These changes aim to strengthen user confidence during the onboarding process by clearly communicating privacy measures.
2026-01-28 02:03:02 +05:30
Steven Enamakel cb0cf66649 Refactor URL opening logic and update imports for improved modularity
- Moved the openUrl function to a new utility file for better organization and reusability across components.
- Updated import paths in Home and GetStartedStep components to reflect the new location of the openUrl function.
- Simplified error handling in the handleStartCooking function by removing unnecessary try-catch block.

These changes enhance code maintainability and streamline the process of opening URLs in the application.
2026-01-28 01:55:01 +05:30
Steven Enamakel 0929a3681d Update title and add ConnectionIndicator component for enhanced user feedback
- Changed the title in index.html to "AlphaHuman" for better branding.
- Introduced a new ConnectionIndicator component to provide real-time connection status updates in Home and GetStartedStep pages.
- Updated Home and GetStartedStep components to include the ConnectionIndicator, improving user awareness of their connection status and enhancing the onboarding experience.
2026-01-28 01:52:14 +05:30
Steven Enamakel f8f5e314d7 Update Tailwind configuration and enhance onboarding steps for clarity and engagement
- Optimized primary color definitions in tailwind.config.js for better visibility on dark backgrounds.
- Updated text in the Welcome, Connect, Features, Get Started, and Privacy steps to improve clarity and user engagement.
- Adjusted button labels to create a more inviting and action-oriented experience for users.

These changes aim to enhance the overall onboarding experience, ensuring users have a clear understanding of the application while maintaining a visually appealing design.
2026-01-28 01:39:06 +05:30
Steven Enamakel 5350737b3d Refactor onboarding steps and update styles for improved user engagement
- Adjusted button styles and text in the FeaturesStep and PrivacyStep components to enhance clarity and user experience.
- Updated titles and descriptions across onboarding steps to better communicate the features and privacy measures of AlphaHuman.
- Modified button text to create a more engaging call-to-action for users.

These changes aim to streamline the onboarding process, making it more intuitive and appealing while emphasizing the application's key features and privacy commitments.
2026-01-28 01:20:36 +05:30
Steven Enamakel d7989ee6df Update onboarding flow to include new FeaturesStep and adjust step sequence
- Added a new FeaturesStep component to showcase key features of AlphaHuman.
- Updated the Onboarding component to include the new FeaturesStep, increasing total steps from 4 to 5.
- Rearranged the sequence of steps to enhance user engagement and clarity.
- Improved messaging in the ConnectStep and GetStartedStep for better user understanding.

These changes aim to provide a more comprehensive onboarding experience, highlighting the features of the application while ensuring a smooth transition through the steps.
2026-01-28 01:01:46 +05:30
Steven Enamakel f8afb1eeab Enhance ConnectStep component with new connection options and improved user experience
- Introduced new connection options for Google, Notion, Telegram, Web3 Wallet, and Crypto Trading Exchanges.
- Implemented a 'coming soon' feature to disable buttons for options not yet available.
- Updated messaging to clarify the importance of connecting accounts for a personalized experience.
- Added new icons for Binance, Google, Notion, Telegram, and Metamask to enhance visual appeal.

These changes aim to provide users with a clearer and more engaging onboarding experience while connecting their accounts.
2026-01-28 00:58:33 +05:30
Steven Enamakel 8cd1b51174 Update onboarding steps for improved clarity and user engagement
- Modified button styles in the Onboarding component for a cleaner look.
- Changed default selected option in AnalyticsStep from 'maximumPrivacy' to 'shareAnalytics' to better reflect user preferences.
- Updated titles and descriptions in AnalyticsStep and GetStartedStep for clearer messaging and enhanced user understanding.
- Improved overall layout and text for a more cohesive onboarding experience.

These changes aim to streamline the onboarding process, making it more intuitive and engaging for users.
2026-01-28 00:45:28 +05:30
Steven Enamakel 1087ae51ec Refactor PrivacyFeatureCard and Step1Privacy for improved layout and styling
- Adjusted padding and text styles in PrivacyFeatureCard for better readability and alignment.
- Updated privacy feature titles with icons to enhance visual appeal and user engagement.
- Modified layout in Step1Privacy to improve spacing and overall design consistency.
- Streamlined button styles for a more cohesive user experience.

This update enhances the onboarding process by making privacy features more visually engaging and easier to read, aligning with the focus on user security and clarity.
2026-01-28 00:39:18 +05:30
Steven Enamakel 27dc4037c1 Add PrivacyFeatureCard component and integrate into Step1Privacy
- Introduced PrivacyFeatureCard component to display privacy features with titles and descriptions.
- Updated Step1Privacy to utilize PrivacyFeatureCard, showcasing key privacy features in the onboarding process.
- Enhanced layout and messaging for improved user understanding of privacy protections.

This update enriches the onboarding experience by clearly communicating privacy features, aligning with the overall focus on user security and engagement.
2026-01-28 00:28:07 +05:30
Steven Enamakel a08dac2794 Refactor onboarding steps and update components for improved user flow
- Replaced Step1Phone with Step1Privacy, introducing a new privacy-focused onboarding step.
- Added Step2Analytics and Step3Connect components to enhance user engagement and data privacy options.
- Updated routing in App.tsx to reflect new onboarding structure, ensuring a seamless transition between steps.
- Removed Step4Connect and replaced it with Step4GetStarted, which guides users to interact with the Telegram bot.
- Enhanced overall onboarding experience with clearer messaging and streamlined navigation.

This update improves the onboarding process, emphasizing user privacy and engagement while maintaining a cohesive design.
2026-01-28 00:22:26 +05:30
Steven Enamakel f6b7a3d7d5 Add TypewriterGreeting component for animated greetings in Welcome page
- Introduced a new TypewriterGreeting component that displays greetings with typing and deleting animations.
- Updated the Welcome page to utilize the TypewriterGreeting component, enhancing user engagement with dynamic text.
- Modified the greetings array to include additional crypto-themed messages.

This update improves the visual appeal and interactivity of the Welcome page, creating a more engaging user experience.
2026-01-28 00:14:06 +05:30
Steven Enamakel 0fc07e0889 Refactor onboarding and styling for improved user experience
- Updated onboarding steps to remove background patterns and enhance layout consistency.
- Modified text styles for better readability and accessibility, including opacity adjustments.
- Improved button styles for Google and Microsoft account connections.
- Enhanced privacy and security messaging across onboarding steps.
- Streamlined the overall design to align with the dark mode theme and glass morphism aesthetics.

This update enhances the onboarding flow, making it more visually appealing and user-friendly while maintaining a focus on privacy and security.
2026-01-28 00:10:42 +05:30
Steven Enamakel 9ebf724651 Add environment configuration and update styles for dark mode
- Created a new .env file to store the Telegram bot username.
- Added new background images (bg-dark.png, bg.jpg, bg.png) for enhanced visuals.
- Updated App.css and index.css to implement dark mode styles, including color adjustments and background changes.
- Modified Home.tsx to include a button that opens the Telegram bot link.
- Enhanced the configuration file to include the Telegram bot username.

This update improves the user interface with a dark mode theme and integrates Telegram functionality for better user engagement.
2026-01-28 00:02:06 +05:30
M3gA-Mind 098cf17d44 Add deep link functionality and backend integration for authentication
- Introduced @tauri-apps/plugin-deep-link for handling deep link events
- Implemented setup for deep link listener in main application entry
- Enhanced Login page to support Telegram authentication via deep links
- Created utility functions for building and handling deep links
- Added configuration for backend URL management
- Updated Tauri configuration to support deep link plugin

This update enhances the user experience by allowing seamless transitions between web and desktop applications through deep linking.
2026-01-27 22:37:36 +05:30
cyrusandClaude 5aacc7546f Implement complete onboarding flow with welcome, login, privacy, analytics, account connection, and weather home page
- Add React Router setup with comprehensive routing structure
- Create Welcome page with crypto-themed humor and engaging greetings
- Implement Login page with phone number input (formatted) and Telegram authentication options
- Build 3-step onboarding flow: Privacy settings, Analytics preferences, Account connection
- Add Privacy page with Enterprise-Grade Security messaging and certifications (SOC 2, CASA)
- Create Analytics page with privacy controls (Securely Share vs Maximum Privacy)
- Implement Connect Account page with Google/Microsoft integration options
- Add beautiful Home page with weather card design, tropical beach theme, and personalized greeting
- Include dummy data and mobile-first responsive design throughout
- Maintain glass morphism design system consistency across all components

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-27 17:44:36 +05:30
cyrusandClaude 21bc440ed8 Implement comprehensive crypto-focused design system with premium glass morphism UI
Major Features Added:
• Complete glass morphism design with enhanced 16px backdrop blur effects
• Crypto price ticker with animated scrolling and brand colors (BTC/ETH)
• Full navigation system (Dashboard, Portfolio, Chat, Markets) with active states
• Chat interface with sent/received message bubbles and crypto addresses
• All button variants (Primary, Secondary, Success, Danger) with hover animations
• Enhanced form components with focus states and crypto-specific styling
• Status indicators (Online/Offline/Warning) with proper color theming
• Loading states with animated pulse placeholders
• Premium typography system (Inter + JetBrains Mono fonts)
• Sophisticated color palette for crypto/fintech applications
• Custom scrollbar styling and smooth animations throughout
• Mobile-first responsive design with accessibility features
• Complete Tailwind CSS configuration with crypto-optimized utilities

Technical Updates:
• Updated .claude documentation with current implementation status
• Added comprehensive design system documentation
• Configured Tailwind CSS v3 with PostCSS integration
• Enhanced project vision and tech stack documentation
• All builds passing (npm run build + cargo check)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-27 16:18:23 +05:30
M3gA-Mind 577ffcd27c Initialize Tauri application with React and TypeScript setup, including essential configuration files, project structure, and initial assets. Added .gitignore, package.json, and README.md for project documentation and setup instructions. 2026-01-27 03:36:29 +05:30