* ui: kai ui thing
ui: fixes for picking existing chat, feedback and retry buttons
ui: connect finding, creating threads
ui: more ui tuning for chat window, socket manager
ui: get/delete chats logic, create testing socket
ui: testing
ui: use on click query
ui: minor fixed for chat display, rebase
ui: start kai thing
* ui: add logs, add threadid
* ui: feedback methods and ui
* ui: store, replacing messages and giving feedback
* ui: move retry btn to right corner
* ui: move kai service out for ease of code splitting
* ui: add thread id to socket connection
* ui: support state messages
* ui: cancel response generation method
* ui: fix toast str
* ui: add gfm plugin
* ui: ensure md table has max sizes to prevent overflow
* ui: revert tailwind styles on markdown block layer
* ui: export as pdf, copy text contents of a message
* ui: try to save text with formatting in secure contexts
* ui: fix types
* ui: fixup dark mode colors
* ui: add duration for msgs
* ui: take out custom jwt
* ui: removing hardcode...
* ui: change endpoints to prod
* ui: swap socket path
* ui: flip vis toggle
* ui: lock file regenerate
- Added `checkFilterValue` function to validate and update filter values
in `SearchStoreLive`.
- Updated `FilterItem` to handle undefined `value` gracefully by providing
a default empty array.
These changes improve robustness in filter value processing.
- Introduced `roundToNextMinutes` utility function to round timestamps
to the next specified minute interval.
- Updated `Search` class to use the rounding function for non-custom
date ranges.
- Modified `getRange` in `period.js` to align LAST_24_HOURS with
15-minute intervals.
- Added `roundToNextMinutes` implementation in `utils/index.ts`.
Add dedicated isSSOSupported property to correctly identify when SSO
authentication is available, properly handling the 'msaas' edition
case separately from enterprise edition checks. This fixes SSO
visibility in the login interface.
Replace complex error parsing with direct error message display.
This improves code maintainability while still providing useful
feedback to users when saving their account data fails.
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.
* refactor(searchStore): reformat filterMap function parameters (#3166)
- Reformat the parameters of the filterMap function for better readability.
- Comment out the fetchSessions call in clearSearch method to avoid unnecessary session fetch.
* Increment frontend chart version (#3167)
Co-authored-by: GitHub Action <action@github.com>
* refactor(chalice): cleaned code
fix(chalice): fixed session-search-pg sortKey issue
fix(chalice): fixed CH-query-formatter to handle special chars
fix(chalice): fixed /ids response
* 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
---------
Co-authored-by: Mehdi Osman <estradino@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Taha Yassine Kraiem <tahayk2@gmail.com>
- Reformat the parameters of the filterMap function for better readability.
- Comment out the fetchSessions call in clearSearch method to avoid unnecessary session fetch.
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
- 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>
- 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>