openreplay/frontend
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
..
.storybook remote remove-immutable pull and resolved conflcits 2023-01-03 15:08:32 +01:00
.yarn/releases Events for E2E testing (#3081) 2025-03-03 16:36:42 +01:00
app feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177) 2025-03-19 14:36:56 +01:00
cypress fix ui: fix e2e snapshots (updated to new player ui) 2024-05-24 10:30:46 +02:00
scripts ui: improve metadata display 2025-03-11 10:35:08 +01:00
tests ui: tests for url parser 2024-10-30 15:10:54 +01:00
.browserslistrc getting rid of redux for good (#2556) 2024-10-03 11:38:36 +02:00
.dockerignore
.env.sample ui: update env sample 2025-03-14 15:06:11 +01:00
.gitignore change(ui): ignore logs 2025-03-05 13:57:53 +01:00
.nvmrc ui: update node v to 20.18.0 2024-10-22 11:47:44 +02:00
.prettierrc Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
.unimportedrc.json fix ui: remove dead code 2024-07-01 17:07:39 +02:00
.yarnrc.yml Events for E2E testing (#3081) 2025-03-03 16:36:42 +01:00
babel.config.js ui: fix prismjs loading 2024-12-16 10:39:48 +01:00
build.sh chore(build): Frontend build.sh source lib 2024-04-03 13:16:02 +02:00
cypress.config.ts feat(ui/tracker): create integrated e2e testing for tracker and player 2023-02-03 16:58:08 +01:00
cypress.env.example.json change(ui): squash~ add unit tests and visual testing for replayer and session class 2023-01-20 10:40:17 +01:00
dev-init.sh
development.md
Dockerfile feat(docker): switch to Chainguard nginx image 2025-03-13 17:45:38 +01:00
eslint.config.js Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
frontend.iml change(ui): added utm filters 2024-05-07 13:52:45 +02:00
globals.d.ts feat(ui): ai summary UI (#1868) 2024-02-12 15:34:43 +01:00
jest.config.mjs getting rid of redux for good (#2556) 2024-10-03 11:38:36 +02:00
makefile feat(deploy): add production deployment target 2025-03-05 13:21:18 +01:00
nginx.conf chore(nginx): removing ipv6, as some machines won't have support for 2022-08-01 19:07:33 +02:00
package.json Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
path-alias.js getting rid of redux for good (#2556) 2024-10-03 11:38:36 +02:00
postcss.config.js
README.md change(ui): add small note to readme 2022-10-20 11:32:35 +02:00
tailwind.config.js fixed sessions layout (#3138) 2025-03-12 09:21:16 +01:00
tsconfig.json Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
webpack.config.ts ui: add hash to css filenames 2025-03-12 16:46:07 +01:00
window.d.ts Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
yarn.lock Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00

openreplay-ui

OpenReplay prototype UI

On new icon addition: yarn gen:icons

Documentation

Labels in comments: TEMP = temporary code TODO = things to implement

Contributing notes

Please use dev branch as base and target branch.