Commit graph

2612 commits

Author SHA1 Message Date
PiRDub
b407433a09 fix(GraphQL): remove unused useTranslation hook (#3200) 2025-03-24 17:38:02 +01:00
nick-delirium
c77b0cc4de ui: fixes for onboarding ui 2025-03-24 14:30:22 +01:00
nick-delirium
de344e62ef ui: onboarding fixes 2025-03-24 14:30:22 +01:00
Shekar Siri
0724cf05f0
fix(auth): remove unnecessary captcha token validation (#3188)
The token validation checks were redundant as the validation is already
handled by the captcha wrapper component. This change simplifies the
password reset flow while maintaining security.
2025-03-21 10:55:39 +01:00
nick-delirium
4c159b2d26 ui: fix table column export 2025-03-20 16:08:58 +01:00
Shekar Siri
8eec6e983b
feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177)
* feat(auth): implement withCaptcha HOC for consistent reCAPTCHA

This commit refactors the reCAPTCHA implementation across the application
by introducing a Higher Order Component (withCaptcha) that encapsulates
captcha verification logic. The changes:

- Create a reusable withCaptcha HOC in withRecaptcha.tsx
- Refactor Login, ResetPasswordRequest, and CreatePassword components
- Extract SSOLogin into a separate component
- Improve error handling and user feedback
- Standardize loading and verification states across forms
- Make captcha implementation more maintainable and consistent

* feat(auth): support msaas edition for enterprise features

Add msaas to the isEnterprise check alongside ee edition to properly
display enterprise features. Use userStore.isEnterprise in SSOLogin
component instead of directly checking authDetails.edition for
consistent
enterprise status detection.
2025-03-19 14:36:56 +01:00
nick-delirium
b94fcb11e5
ui: fix pageselect for insights 2025-03-14 17:35:54 +01:00
nick-delirium
f93ee6fb8f
ui: fix filekey on prefetched sessions 2025-03-14 17:30:00 +01:00
nick-delirium
4169ab87c6
ui: fix comparison reset 2025-03-14 13:19:00 +01:00
nick-delirium
1cca40d4c5
ui: fix calendar self-close 2025-03-13 13:08:44 +01:00
nick-delirium
221bee70f5
ui: add hash to css filenames 2025-03-13 11:45:22 +01:00
Andrey Babushkin
19b350761c
add few locales (#3151) 2025-03-13 10:08:08 +01:00
Shekar Siri
038bfee383 change(ui): tabl loader 2025-03-12 14:41:33 +01:00
nick-delirium
136a5b2bfb
ui: wrap title with i18n 2025-03-12 13:21:51 +01:00
Andrey Babushkin
5df934c9ce
fixed sessions layout (#3138) 2025-03-12 09:21:16 +01:00
nick-delirium
c7f3c78740
ui: fix heatmap scaling (use true document height) 2025-03-11 17:00:46 +01:00
nick-delirium
0107c9c523
ui: fix in-session clickmap refresh 2025-03-11 16:24:26 +01:00
nick-delirium
05f4054b31
ui: fix sank tooltip spacing 2025-03-11 16:20:15 +01:00
nick-delirium
cdbbb482ce ui: translate more lines 2025-03-11 10:35:08 +01:00
nick-delirium
ccd8d76e98 ui: improve metadata display 2025-03-11 10:35:08 +01:00
Andrey Babushkin
17a5089c24
updated locales (#3129) 2025-03-10 23:19:54 +01:00
nick-delirium
743625f66b
ui: fixes for metadata list in sessions 2025-03-10 18:00:05 +01:00
Andrey Babushkin
ffd134c204
Fix localisation (#3128)
* fix localised errors

* fix locales

* fix locales

* fix highlight badges

* fix errors
2025-03-10 17:46:36 +01:00
Andrey Babushkin
75ca0267ae
Fix localisation (#3126)
* fix localised errors

* fix locales

* fix locales

* fix highlight badges
2025-03-10 16:50:10 +01:00
Andrey Babushkin
6ab3c80985
Fix localisation (#3125)
* fix localised errors

* fix locales

* fix locales
2025-03-10 16:43:53 +01:00
Andrey Babushkin
eab2d3a2cf
Fix localisation (#3123)
* fix localised errors

* fix locales
2025-03-10 15:51:21 +01:00
Shekar Siri
c6cbc4eba8 fix(ui): align session date range text properly
Add text-start class to the date range container to ensure proper
left alignment of text in the SessionDateRange component.
2025-03-10 15:24:17 +01:00
Shekar Siri
687ab05f22 feat(metrics): implement server-side pagination and sorting
Refactors metrics list view to use server-side pagination and sorting
instead of client-side implementation. This improves performance for
large datasets by reducing client workload and network payload size.

Key changes:
- Add pagination API endpoint in MetricService
- Update MetricStore to handle server pagination
- Refactor ListView component to use server-side sorting
- Remove client-side sorting and pagination logic
2025-03-10 14:58:30 +01:00
nick-delirium
9d7c54554e
ui: fix live tag 2025-03-10 09:49:33 +01:00
Sudheer Salavadi
adf302bc34
Improved project tags message. (#3115) 2025-03-07 19:09:51 +01:00
Andrey Babushkin
6852d63cdb
fix localised errors (#3117) 2025-03-07 17:58:00 +01:00
nick-delirium
90bc6bc83e
ui: restrict meta list to 1 2025-03-07 17:12:45 +01:00
nick-delirium
b0e0321224
ui: fix ui crash 2025-03-07 16:09:51 +01:00
Andrey Babushkin
a693a36a6c
Add lokalisation (#3107)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales

* fix erorrs

* fix errors

* fix errors

* fix error

* add locales

* fix locales
2025-03-07 11:59:37 +01:00
Andrey Babushkin
ad9883ceb2
Add lokalisation (#3105)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales

* fix erorrs

* fix errors

* fix errors

* fix error
2025-03-07 11:18:12 +01:00
Andrey Babushkin
5c9a29570c
Add lokalisation (#3104)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales

* fix erorrs

* fix errors
2025-03-07 10:43:08 +01:00
Andrey Babushkin
9f9990d737
Add lokalisation (#3103)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales

* fix erorrs
2025-03-06 18:17:38 +01:00
Andrey Babushkin
fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00
nick-delirium
95455f761b
ui: checkbox spacing 2025-03-05 17:10:21 +01:00
Shekar Siri
c025b2f1a5 fix(ui): disable table sorter tooltips and fix indentation
Removes the default tooltips that appear when hovering over sortable
column headers by setting showSorterTooltip={false} on Table components.
Also fixes indentation in text components and function parameters for
better code readability.

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-05 14:53:13 +01:00
nick-delirium
047a5f52e7
ui: fix preset comparison check 2025-03-05 13:47:37 +01:00
Shekar Siri
927f96cb79 fix(ui): update icon in health modal refresh button
Replace the string-based icon reference 'arrow-repeat' with the React
component <RefreshCcw size={18} /> from lucide-react. Also fix indentation
in the category mapping section for better code organization.

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-05 11:26:40 +01:00
Shekar Siri
e174a11466 fix(ui): update spots list header title for consistency
Change header title from "Spot List" to "Spots" to improve UI consistency
and make the heading more concise.

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-05 11:22:26 +01:00
Shekar Siri
ee4c5cf45d feat(ui): improve session search and count functionality
- Replace latestList with latestSessionCount to better track new sessions
- Move debouncing logic to PrivateRoutes for improved consistency
- Fix session count checking with proper API integration
- Clean up code formatting and remove unnecessary function calls

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 19:37:20 +01:00
Shekar Siri
66edf44f8b fix(ui): resolve tooltip conditional rendering
- Replace separate delay and disabled props with conditional title
- Ensure tooltip only shows content when not disabled
- Maintain consistent tooltip behavior across the application
- Prevent potential rendering errors on disabled tooltips
- Improve code maintainability for tooltip components

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 16:39:25 +01:00
Shekar Siri
0af941e543 refactor(SessionList): optimize component performance
- Fix TypeScript error with SessionItem JSX component
- Convert SessionItem to use modern React hooks and patterns
- Implement useCallback and useMemo for better rendering performance
- Properly handle optional chaining for conditional properties
- Remove console.log statements from search store
- Fix useEffect dependencies to prevent unnecessary rerenders
- Cleanup unused imports and commented code

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 16:33:01 +01:00
Shekar Siri
fd64d721c6 fix(ui): resolve SessionItem JSX rendering error
- Fix TypeScript error with SessionItem component by providing proper props
- Remove unused isSessionsRoute variable
- Remove commented out code for better clarity
- Fix formatting and indentation throughout the file
- Update setTimeout formatting to match project style

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 16:07:35 +01:00
Shekar Siri
f965c69a26 refactor(Copyright): modernize component and add dynamic year
- Convert from function to React.memo for better performance
- Replace hardcoded year with dynamic current year calculation
- Update styling classes to use Tailwind format
- Add hover states to improve UX
- Add rel="noopener noreferrer" for security best practices
- Change container from div to semantic footer element

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 15:47:01 +01:00
nick-delirium
5e10e168c6
ui: fix timetable crash on empty record 2025-03-04 13:41:52 +01:00
Shekar Siri
4ef61f6fb5 change(ui): sessions list header y padding 2025-03-03 18:39:58 +01:00