Commit 62c951c
New version #minor
* improve the import/export bookmarks UI
* change the import/export icons
* feat: Add auth modal ui and show it next to onboarding.
* feat: Add google auth.
* feat: Show user info in setting.
* feat: Fix imports.
* feat: Add github auth
* feat: Add logout and observe current user.
* feat: Moved firebase config variable to .env file.
* feat: Create CurrentUser type.
* feat: Create useAuth hook.
* feat: Add profile button to header and create profile page.
* feat: Separate useAuth and AuthStore.
* feat: Move auth modal state handle to AuthStore.
* feat: Create AuthModalStore without persist.
* feat: Rebame config file to firebase config.
* fix: Code reviews.
* fix modal not showing in other pages
* feat: Create separated file for authModalStore.
* fix: Code reviews.
* feat: New AuthModal ui.
* feat: Add authorization token to request interceptor
* feat: Add user connection and disconnection tracking to analytics
* refactor the button component
* refactor: Simplify signIn function by removing providerName parameter
* style: Adjust button padding for small and medium sizes
* style: Update button component in AuthModal for consistent size and styling
* refactor the Modal component and improve Auth Modal
* style: Adjust authModal width for responsive design
* refactor: Remove bookmark import/export functionality from ProfileSettings component
* feat: Add CircleButton component with customizable sizes and variants
* refactor: Replace button elements with CircleButton and Button components in Header and BookmarkSettings
* refactor: Simplify Button usage in BookmarkSettings component
* refactor: Update button styles and layout in App.css for improved flexibility and alignment
* refactor: Rename round-icon-button class to circle-button for consistency and clarity
* fix: Add validation for Firebase configuration to prevent initialization errors
* refactor: Move input styles to App.css and replace button with Button component in ShareModal
* feat: Add profile image container with streak indicator in Header component
* feat: Implement hit tracking and update user streak in AuthStore
* feat: Remove unused idToken and email
* feat: Remove Profile page + Moved userInfo to General settings.
* feat: Replace button elements with Button component for consistency
* feat: Update logout button size and adjust user info layout for better responsiveness
* refactor: Simplify Header component by removing back navigation for home
* feat: Update user info display to show provider name instead of provider ID
* feat: Adjust user image size and enhance layout for user information in General Settings
* feat: Show auth provider icon in user info.
* feat: Create ConfirmModal component.
* feat: Add logout confirm modal.
* feat: Logout firebase user.
* fix: Merge conflicts.
* feat: Implement logout functionality using Firebase signOut
* feat: Enhance user settings UI with improved logout button and layout adjustments
* refactor: Remove unused searchEngine prop from GeneralSettings component
* feat: Add user streak display to GeneralSettings component
* feat: Refactor streak display in GeneralSettings component for improved styling and structure
* feat: Update manifest files to version 3 and adjust permissions
* feat: Add message listener for token reception in auth.js
* refactor: Clean up background.js by removing commented-out code
* feat: Add content script to handle token reception and messaging
* refactor: Update return types for environment utility functions
* feat: Simplify Firebase configuration by removing unused keys and adding build target
* feat: Add host permission checks for Firefox sign-in functionality
* feat: Refactor auth modal store to include error handling and simplify usage in hooks
* feat: Add dangerToast style for error notifications and adjust modal overflow behavior
* feat: Wrap AppLayout component with AuthProvider for improved authentication context
* feat: Implement getOauthLink API and custom hook for OAuth authentication
* feat: Enhance AuthModal with OAuth link handling and error management
* feat: Add AuthProvider component for handling user authentication via OAuth tokens
* feat: Add error styling to AuthModal for improved user feedback
* feat: Change script injection to document.documentElement for improved compatibility
* feat: Remove unused GitHub and Google auth providers from Firebase setup
* feat: Add Spinner component for loading indicators with customizable sizes
* feat: Add loading state to Button component with spinner indicator
* feat: Add CSS styles for Spinner component with customizable sizes
* feat: Update AuthModal to include Google and GitHub auth providers with dynamic links
* feat: Add success toast notification for user login with dynamic welcome message
* refactor: replace react-device-detect with responsive breakpoints and update media queries
* feat: Refactor OAuth link retrieval to accept dynamic provider strings
* feat: Update API endpoint for OAuth link retrieval
* feat: Simplify content script matches in base manifest
* feat: Refactor isConnected function to use direct user check
* feat: Update isConnected check to use direct reference
* feat: Add pluralization utility and update streak display in user info
* Add ad verification
* rename vite config to mjs
* chore: update dependencies and set Node.js engine version
* fix: update request interceptor to use InternalAxiosRequestConfig
* chore: update Node.js version in GitHub Actions workflow to 18
* fix: add unique keys to list items in UserInfo component
* fix: update logout modal title and description for clarity
* fix: improve auth error handling and update modal styles for better user experience
* fix: restrict content script matches to production URL only
* feat: enhance streak display with new icon and styling adjustments
* fix: update background style for content section with gradient
* fix: update content background color and adjust border styling for consistency
* feat: add new avatar icon and define accent color variables for styling
* fix: correct capitalization of terms in AuthModal component
* feat: refactor user information display into separate UserInfo component
* feat: add user ID to User type and initialize user state in AuthProvider
* feat: implement account deletion functionality and integrate into GeneralSettings
* fix: improve error message for account connection in AuthProvider
* feat: enhance UserInfo component with account connection prompt and styling adjustments
* fix: remove redundant text from UserInfo component
* feat: add avatar placeholder styling and improve layout in GeneralSettings
* feat: add loading state to profile image button and apply overflow hidden styling
* feat: add user delete tracking to analytics and update DeleteAccount component
* improve the displaying when the button is disabled
* add isConnecting status to Auth
* chore: update GitHub Actions to use latest versions of checkout, cache, and setup-node
* feat: add Firebase API key to deployment workflows
* fix: update chrome runtime message listener to handle optional chaining correctly
* chore: update dependencies to latest versions in package.json
* refactor: migrate to React 18's createRoot for rendering
* fix: remove console log for user not logged in in getUserToken function
* refactor: update SVG imports to use new syntax for React components
* fix: ensure chrome runtime message listener is added and removed safely
* fix: disable CSS code splitting in Vite configuration
---------
Co-authored-by: zouhir <rajdaouizouhir.pro@gmail.com>1 parent 61b17e5 commit 62c951c
File tree
74 files changed
+2939
-589
lines changed- .github/workflows
- public
- src
- assets
- icons
- components
- Elements
- Button
- Card
- Modal
- Spinner
- Layout
- SettingsContentLayout
- config
- features
- MarketingBanner/components
- adv/utils
- auth
- api
- components
- hooks
- stores
- types
- utils
- hits
- api
- types
- settings
- components
- BookmarkSettings
- GeneralSettings
- UserSettings
- lib
- interceptors
- providers
- stores
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
74 files changed
+2939
-589
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | | - | |
23 | | - | |
| 21 | + | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | | - | |
74 | | - | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | | - | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
95 | | - | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
8 | 3 | | |
9 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments