app-tutor-ai-consumer 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@ jobs:
25
25
  deploy-production:
26
26
  if: startsWith(github.ref, 'refs/tags/release/v')
27
27
  name: Prod Deployment
28
- runs-on: [content-high-iac]
28
+ runs-on: [content-high]
29
29
  steps:
30
30
  - name: Checkout
31
31
  uses: actions/checkout@v4
@@ -97,7 +97,7 @@ jobs:
97
97
 
98
98
  production-release-notification:
99
99
  name: 'Production Release Notification'
100
- runs-on: [content-iac]
100
+ runs-on: [content]
101
101
  needs: ['deploy-production']
102
102
  steps:
103
103
  - name: Checkout
@@ -71,7 +71,7 @@ jobs:
71
71
  production-rollback:
72
72
  if: ${{ github.event.inputs.rollbackEnv == 'production' }}
73
73
  name: Production Rollback
74
- runs-on: [content-iac]
74
+ runs-on: [content]
75
75
  env:
76
76
  BUCKET_NAME: app-club-microfrontends-prod
77
77
  CLOUDFRONT_ACCOUNT_ID: '357420915163'
@@ -93,7 +93,7 @@ jobs:
93
93
 
94
94
  new-relic-notification-production:
95
95
  name: New Relic Application Deployment Notification
96
- runs-on: [content-iac]
96
+ runs-on: [content]
97
97
  needs: ['production-rollback']
98
98
  steps:
99
99
  - name: Display rollback tag version
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # [1.26.0](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.25.1...v1.26.0) (2025-08-12)
2
+
3
+ ### Features
4
+
5
+ - changing GA to new runner ([d73b362](https://github.com/Hotmart-Org/app-tutor-ai-consumer/commit/d73b362674dc5fa746ed5b482eba28b12b9c8ad2))
6
+
7
+ ## [1.25.1](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.25.0...v1.25.1) (2025-08-12)
8
+
9
+ ### Bug Fixes
10
+
11
+ - qa issues part 2 ([203cb3c](https://github.com/Hotmart-Org/app-tutor-ai-consumer/commit/203cb3c87d0abbdc6024e53c27ff3f91294a0bdb))
12
+
1
13
  # [1.25.0](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.24.3...v1.25.0) (2025-08-12)
2
14
 
3
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "app-tutor-ai-consumer",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "dev": "rspack serve --env=development --config config/rspack/rspack.config.js",
@@ -21,12 +21,6 @@ describe('ChatInput', () => {
21
21
  ])
22
22
  })
23
23
 
24
- it('should call focus when rendering the input', () => {
25
- renderComponent()
26
-
27
- expect(ref.current).toHaveFocus()
28
- })
29
-
30
24
  it('should call setValue when ref change event is called', () => {
31
25
  renderComponent()
32
26
 
@@ -1,4 +1,4 @@
1
- import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef } from 'react'
1
+ import { forwardRef, useImperativeHandle, useRef } from 'react'
2
2
  import clsx from 'clsx'
3
3
  import type { ChangeEvent, KeyboardEvent } from 'react'
4
4
  import { useTranslation } from 'react-i18next'
@@ -40,25 +40,6 @@ const ChatInput = forwardRef<HTMLTextAreaElement, ChatInputProps>(
40
40
  }
41
41
  }
42
42
 
43
- const setInputFocus = useCallback(() => {
44
- if (inputDisabled) return
45
-
46
- const input = ref?.current
47
-
48
- if (input === document.activeElement) return
49
-
50
- if (input) {
51
- input.focus()
52
-
53
- const position = input.textLength ?? 0
54
- input.setSelectionRange(position, position)
55
- }
56
- }, [inputDisabled])
57
-
58
- useEffect(() => {
59
- setInputFocus()
60
- }, [setInputFocus])
61
-
62
43
  return (
63
44
  <div
64
45
  className={clsx(