Skip to content

Commit b962ee4

Browse files
committed
Remove unwanted Thunder references
1 parent b3df011 commit b962ee4

20 files changed

Lines changed: 121 additions & 121 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Thunder is a lightweight user and identity management product. Go backend + Reac
66
- For build and running - [Makefile](Makefile) and [README.md](README.md)
77
- Documentation at [docs/content](docs/content)
88

9-
Thunder's login gate leverages v2 of the [Asgardeo JavaScript SDK](https://github.com/asgardeo/javascript), consumed via its published package in typical setups.
10-
Clone the SDK repository only if you are developing or debugging the SDK itself, or testing Thunder against unreleased SDK changes.
9+
Login Gate leverages v2 of the [Asgardeo JavaScript SDK](https://github.com/asgardeo/javascript), consumed via its published package in typical setups.
10+
Clone the SDK repository only if you are developing or debugging the SDK itself, or testing the product against unreleased SDK changes.
1111

1212
## General Rules
1313

@@ -38,7 +38,7 @@ Clone the SDK repository only if you are developing or debugging the SDK itself,
3838

3939
## Agent Skills
4040

41-
- [Thunder Console Navigator](.agent/skills/console/SKILL.md) — Browse and interact with the Thunder Console UI using `playwright-cli`. Use when asked to navigate the console, test UI changes, or create/edit resources through the browser.
41+
- [Console Navigator](.agent/skills/console/SKILL.md) — Browse and interact with the Console UI using `playwright-cli`. Use when asked to navigate the console, test UI changes, or create/edit resources through the browser.
4242

4343
## Contributing Guidelines
4444

backend/internal/oauth/oauth2/tokenservice/validator_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (suite *TokenValidatorTestSuite) TestValidateSubjectToken_Success_BasicToke
119119
claims := map[string]interface{}{
120120
"sub": "user123",
121121
"iss": "https://thunder.io",
122-
"aud": defaultAudience, // Use default audience for Thunder issuer
122+
"aud": defaultAudience, // Use default audience for the issuer
123123
"exp": float64(now + 3600),
124124
"nbf": float64(now - 60),
125125
"scope": "read write",
@@ -171,7 +171,7 @@ func (suite *TokenValidatorTestSuite) TestValidateSubjectToken_Success_WithoutNb
171171
claims := map[string]interface{}{
172172
"sub": "user123",
173173
"iss": "https://thunder.io",
174-
"aud": defaultAudience, // Use default audience for Thunder issuer
174+
"aud": defaultAudience, // Use default audience for the issuer
175175
"exp": float64(now + 3600),
176176
}
177177
token := suite.createTestJWT(claims)
@@ -192,7 +192,7 @@ func (suite *TokenValidatorTestSuite) TestValidateSubjectToken_Success_WithEmpty
192192
claims := map[string]interface{}{
193193
"sub": "user123",
194194
"iss": "https://thunder.io",
195-
"aud": defaultAudience, // Use default audience for Thunder issuer
195+
"aud": defaultAudience, // Use default audience for the issuer
196196
"exp": float64(now + 3600),
197197
// No scope claim
198198
}
@@ -459,7 +459,7 @@ func (suite *TokenValidatorTestSuite) TestFederationScenario_DecodeBeforeVerify(
459459
claims := map[string]interface{}{
460460
"sub": "user123",
461461
"iss": "https://thunder.io",
462-
"aud": defaultAudience, // Use default audience for Thunder issuer
462+
"aud": defaultAudience, // Use default audience for the issuer
463463
"exp": float64(now + 3600),
464464
}
465465
token := suite.createTestJWT(claims)
@@ -593,7 +593,7 @@ func (suite *TokenValidatorTestSuite) TestValidateSubjectToken_EdgeCase_VeryLong
593593
largeClaims := map[string]interface{}{
594594
"sub": "user123",
595595
"iss": "https://thunder.io",
596-
"aud": defaultAudience, // Use default audience for Thunder issuer
596+
"aud": defaultAudience, // Use default audience for the issuer
597597
"exp": float64(now + 3600),
598598
"large": string(make([]byte, 10000)), // 10KB of data
599599
}

frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Thunder Frontend ⚡
22

33
Frontend workspace for **Thunder ⚡** - a modern identity management suite. This workspace is built with
4-
[Nx](https://nx.dev) and contains React applications and shared packages for the Thunder platform.
4+
[Nx](https://nx.dev) and contains React applications and shared packages for the platform.

frontend/packages/thunder-design/src/components/flow/__tests__/AuthCardLayout.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('AuthCardLayout', () => {
3737
});
3838

3939
describe('variant prop', () => {
40-
it('applies Thunder CSS root class when variant is provided', () => {
40+
it('applies product prefix CSS root class when variant is provided', () => {
4141
const {container} = renderWithProviders(
4242
<AuthCardLayout variant="SignInBox">
4343
<span>Content</span>
@@ -46,7 +46,7 @@ describe('AuthCardLayout', () => {
4646
expect(container.querySelector(`.${TEST_CN_PREFIX}SignInBox--root`)).toBeTruthy();
4747
});
4848

49-
it('applies Thunder CSS paper class when variant is provided', () => {
49+
it('applies product prefix CSS paper class when variant is provided', () => {
5050
const {container} = renderWithProviders(
5151
<AuthCardLayout variant="SignInBox">
5252
<span>Content</span>
@@ -55,7 +55,7 @@ describe('AuthCardLayout', () => {
5555
expect(container.querySelector(`.${TEST_CN_PREFIX}SignInBox--paper`)).toBeTruthy();
5656
});
5757

58-
it('does not apply Thunder CSS classes when variant is not provided', () => {
58+
it('does not apply product prefix CSS classes when variant is not provided', () => {
5959
const {container} = renderWithProviders(
6060
<AuthCardLayout>
6161
<span>Content</span>
@@ -80,7 +80,7 @@ describe('AuthCardLayout', () => {
8080
expect(img).toBeTruthy();
8181
});
8282

83-
it('applies Thunder CSS logo class when variant and logo are provided', () => {
83+
it('applies product prefix CSS logo class when variant and logo are provided', () => {
8484
const logo = {
8585
src: {light: '/logo-light.svg', dark: '/logo-dark.svg'},
8686
};

frontend/packages/thunder-design/src/components/flow/__tests__/AuthPageLayout.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('AuthPageLayout', () => {
7676
expect(main.classList.contains('ThunderSignIn--root')).toBe(true);
7777
});
7878

79-
it('does not apply Thunder CSS class when variant is not provided', () => {
79+
it('does not apply product prefix CSS class when variant is not provided', () => {
8080
renderWithProviders(
8181
<AuthPageLayout isLoading={false}>
8282
<span>Content</span>

frontend/packages/thunder-design/src/components/flow/adapters/__tests__/DividerAdapter.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('DividerAdapter', () => {
3838
expect(screen.getByText('OR')).toBeTruthy();
3939
});
4040

41-
it('applies Thunder CSS class names', () => {
41+
it('applies product prefix CSS class names', () => {
4242
const component: FlowComponent = {id: 'div-1', type: 'DIVIDER'};
4343
renderWithProviders(<DividerAdapter component={component} resolve={(s) => s} />);
4444
const divider = document.querySelector(`.${TEST_CN_PREFIX}Divider--root`);

frontend/packages/thunder-design/src/components/flow/adapters/__tests__/TextAdapter.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe('TextAdapter', () => {
4545
expect(screen.getByText('Resolved Text')).toBeTruthy();
4646
});
4747

48-
it('applies Thunder CSS class names', () => {
48+
it('applies product prefix CSS class names', () => {
4949
renderWithProviders(<TextAdapter component={baseComponent} resolve={(s) => s} />);
5050
const el = screen.getByText('Hello World');
5151
expect(el.className).toContain('ThunderFlow--text');

frontend/packages/thunder-design/src/components/flow/adapters/__tests__/TextInputAdapter.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('TextInputAdapter', () => {
5555
expect(input?.getAttribute('type')).toBe('email');
5656
});
5757

58-
it('applies Thunder CSS class names', () => {
58+
it('applies product prefix CSS class names', () => {
5959
renderWithProviders(<TextInputAdapter {...baseProps} />);
6060
const formControl = document.querySelector(`.${TEST_CN_PREFIX}Flow--textInput`);
6161
expect(formControl).toBeTruthy();

frontend/packages/thunder-eslint-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default [
3838

3939
#### `recommended`
4040

41-
General rules for all Thunder frontend projects:
41+
General rules for all frontend projects:
4242

4343
- `@thunder/copyright-header`: Enforces WSO2 Apache 2.0 copyright headers
4444
- `@thunder/no-internal-imports`: Prevents importing from internal paths

frontend/packages/thunder-eslint-plugin/src/configs/javascript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const javascriptConfig: Linter.Config[] = [
2626
{
2727
name: 'thunder/javascript-overrides',
2828
rules: {
29-
// Disallow the use of console in-favor of the Thunder Logger.
29+
// Disallow the use of console in-favor of the Logger.
3030
// https://eslint.org/docs/latest/rules/no-console
3131
'no-console': 'error',
3232
// Disallow new operators outside of assignments or comparisons

0 commit comments

Comments
 (0)