Skip to content

Cloud 1924 #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,030 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1030 commits
Select commit Hold shift + click to select a range
935276d
fix: Removed en translation to test
Aldemylla Oct 11, 2024
6423650
Merge pull request #151 from weni-ai/feature/crowdin
Aldemylla Oct 11, 2024
3f1bbb2
fix: Uncommented preview audio logic
Aldemylla Oct 14, 2024
a716424
fix: Update Unnnic version
Aldemylla Oct 15, 2024
afd35ca
fix: ModalAddSite valid url regex accept hyphen
Aldemylla Oct 15, 2024
715c906
fix: Failed unnnic form components at tests
Aldemylla Oct 15, 2024
e4bf0ec
fix: Preview send audio on discard button
Aldemylla Oct 15, 2024
4b288d5
feat: Enable content AI creation for specific orgs
Aldemylla Oct 16, 2024
61cc375
fix: Create content intelligence request
Aldemylla Oct 17, 2024
f9de600
fix: Org can create content ai validation
Aldemylla Oct 17, 2024
914d082
feat: Orgs can create content ai var env
Aldemylla Oct 17, 2024
55c314e
fix: Create content IA org uuid
Aldemylla Oct 17, 2024
f8c3b5e
fix: Create classifier IA form button validation
Aldemylla Oct 17, 2024
32a7fb2
Merge pull request #154 from weni-ai/fix/modal-add-site-regex
Aldemylla Oct 17, 2024
a39339b
Merge pull request #155 from weni-ai/feature/orgs-can-create-content-ai
Aldemylla Oct 17, 2024
48bd127
Merge pull request #153 from weni-ai/fix/preview-audio
Aldemylla Oct 17, 2024
827c180
feat: Created monitoring brain route
Aldemylla Oct 21, 2024
6fac9eb
feat: Monitoring route performance section structure
Aldemylla Oct 21, 2024
9be229c
feat: Router monitoring received messages filters elements
Aldemylla Oct 21, 2024
9326b03
feat: Removed blocking of only one stream per action
Aldemylla Oct 21, 2024
3532fd8
feat: Added name and count of actions already used in each selectable…
Aldemylla Oct 22, 2024
2fe1d45
fix: Store update of actions by flow
Aldemylla Oct 22, 2024
3b8256a
feat: Added tests to SelectFlow actions count and tooltip
Aldemylla Oct 22, 2024
f4a2904
fix: Remove spaces at site on ModalAddSite
Aldemylla Oct 22, 2024
a1b6689
feat: Tests to remove spaces at site on ModalAddSite
Aldemylla Oct 22, 2024
39630b2
feat: Messages table at router monitoring
Aldemylla Oct 23, 2024
297c088
fix: Router monitoring messages crash
Aldemylla Oct 23, 2024
0212b4a
fix: Router monitoring received messages pagination
Aldemylla Oct 24, 2024
6eac253
feat: Added monitoring request data and date filter
Aldemylla Oct 24, 2024
dc6bcb8
fix: Flow assigned actions translation es.json
Aldemylla Oct 24, 2024
7a7adf3
New Crowdin translations by GitHub Action
crowdin-bot Oct 24, 2024
788642f
Merge pull request #152 from weni-ai/crowdin_translations
Aldemylla Oct 24, 2024
f704432
Merge pull request #156 from weni-ai/fix/modal-add-site-spaces
Aldemylla Oct 24, 2024
84f2398
Merge pull request #157 from weni-ai/feature/multiple-actions-per-flow
Aldemylla Oct 24, 2024
edaa7ff
fix: Edit action flow name
Aldemylla Oct 28, 2024
a12164d
Merge pull request #158 from weni-ai/fix/multiple-flows-per-action
Aldemylla Oct 28, 2024
52ba9bd
fix: Design and bug fixes in the monitoring tab
Aldemylla Oct 28, 2024
a0a32d9
fix: Changed the way the monitoring tab is released
Aldemylla Oct 28, 2024
02df1b9
Merge branch 'main' of https://github.com/weni-ai/intelligence-webapp…
Aldemylla Oct 29, 2024
0870df6
Merge branch 'main' into nexus-1953-architecture-improvements-brain-c…
cristiantela Oct 29, 2024
5f00448
Merge pull request #124 from weni-ai/nexus-1953-architecture-improvem…
cristiantela Oct 29, 2024
dfb7970
Merge branch 'main' into nexus-1954-separates-buttons-between-pages
cristiantela Oct 29, 2024
37441e7
Fixes contentText bind
cristiantela Oct 29, 2024
2cc837c
Merge pull request #125 from weni-ai/nexus-1954-separates-buttons-bet…
cristiantela Oct 29, 2024
c84d252
Merge branch 'main' into nexus-1786-cypress-configuration
cristiantela Oct 29, 2024
c0e48e7
Merge pull request #129 from weni-ai/nexus-1786-cypress-configuration
cristiantela Oct 29, 2024
ae2d994
fix: Monitoring tab design review
Aldemylla Oct 29, 2024
73a1276
Merge branch 'main' of https://github.com/weni-ai/intelligence-webapp…
Aldemylla Oct 29, 2024
28a55e1
feat: RouterMonitoring performance session tests
Aldemylla Oct 29, 2024
3080344
feat: RouterMonitoring received messages tests
Aldemylla Oct 29, 2024
3d9b5ab
feat: Added Monitoring store tests
Aldemylla Oct 29, 2024
f3622b6
feat: Monitoring API unit tests
Aldemylla Oct 29, 2024
29fc150
feat: Replace v8 to istanbul at coverage tests
Aldemylla Oct 31, 2024
4f99d1c
fix: Adjusted uuid passed to the api when trying to save an action
Aldemylla Oct 31, 2024
5041417
fix: Brain header filter date width
Aldemylla Oct 31, 2024
8119c06
fix: Table of monitoring received messages spacings
Aldemylla Oct 31, 2024
a021c1f
fix: ModalChangeAction tests
Aldemylla Oct 31, 2024
b71ee69
Merge pull request #162 from weni-ai/hotfix/modal-change-actions-save
Aldemylla Oct 31, 2024
458262f
Merge branch 'main' of https://github.com/weni-ai/intelligence-webapp…
Aldemylla Oct 31, 2024
3022c58
fix: Format monitoring performance values
Aldemylla Oct 31, 2024
11bc10f
feat: Monitoring received messages action names at tags
Aldemylla Oct 31, 2024
fd404fb
fix: Update Unnnic version
Aldemylla Oct 31, 2024
a0ed87b
Merge branch 'feature/experience-manager-home' of https://github.com/…
Aldemylla Oct 31, 2024
c00f39e
fix: Router monitoring performance tests
Aldemylla Oct 31, 2024
0386188
Merge branch 'feature/experience-manager-home-tests' of https://githu…
Aldemylla Oct 31, 2024
462d9ca
fix: Removed unnecessary comments
Aldemylla Oct 31, 2024
b37338a
Merge pull request #161 from weni-ai/feature/istanbul-coverage
Aldemylla Oct 31, 2024
2e4d97c
Merge pull request #160 from weni-ai/feature/experience-manager-home-…
Aldemylla Oct 31, 2024
e66d770
Merge pull request #159 from weni-ai/feature/experience-manager-home
Aldemylla Oct 31, 2024
52bd8fe
Merge branch 'main' into fix/changes-history-tests
Aldemylla Oct 31, 2024
792d1e8
wip: Monitoring messages history
Aldemylla Nov 8, 2024
a6ade26
fix: Views headers description translations
Aldemylla Nov 11, 2024
383e13a
fix: IA repository card more actions button
Aldemylla Nov 12, 2024
53f68fb
wip: Monitoring received messages history
Aldemylla Nov 12, 2024
599bc29
fix: Close monitoring messages history when table is loading
Aldemylla Nov 12, 2024
c22ee1e
fix: Monitoring received messages history container height and borders
Aldemylla Nov 12, 2024
bc8a876
feat: Monitoring messages history action started variation
Aldemylla Nov 13, 2024
6625552
feat: Monitoring messages history error handling
Aldemylla Nov 13, 2024
4f554a7
feat: Added monitoring messages history contact urn loading
Aldemylla Nov 13, 2024
b7633eb
Merge pull request #145 from weni-ai/fix/changes-history-tests
Aldemylla Nov 13, 2024
d0afd71
feat: Added monitoring messages history tests
Aldemylla Nov 18, 2024
395d159
feat: Updated monitoring tests
Aldemylla Nov 18, 2024
dacafac
wip: DrawerInspectResponse
Aldemylla Nov 18, 2024
d8bbb60
Merge pull request #165 from weni-ai/fix/ia-card-more-actions
Aldemylla Nov 18, 2024
83615e3
fix: Adjusted content files to have 50 mb as size limit
Aldemylla Nov 18, 2024
90cbc94
Merge pull request #167 from weni-ai/fix/limit-size-contents
Aldemylla Nov 18, 2024
c94150e
Merge pull request #163 from weni-ai/fix/header-description-dynamic-t…
Aldemylla Nov 18, 2024
2ee8dc8
Merge branch 'main' of https://github.com/weni-ai/intelligence-webapp…
Aldemylla Nov 18, 2024
e2a5f70
fix: Design review
Aldemylla Nov 18, 2024
d9730d2
Merge branch 'feature/monitoring-messages-history' of https://github.…
Aldemylla Nov 18, 2024
e9d2508
Merge branch 'feature/monitoring-messages-history-tests' of https://g…
Aldemylla Nov 19, 2024
7904d78
feat: Added monitoring inspect response agent sentences highlights
Aldemylla Nov 19, 2024
b3661ad
feat: Monitoring inspect message rate answer
Aldemylla Nov 22, 2024
0cf7912
feat: Monitoring inspect response groundedness
Aldemylla Nov 22, 2024
457262d
feat: Monitoring inspect action response
Aldemylla Nov 22, 2024
3da804d
fix: Monitoring action started design
Aldemylla Nov 22, 2024
b41e7f7
fix: Monitoring question and answer markdown
Aldemylla Nov 22, 2024
45da798
feat: Refactor monitoring inspect response
Aldemylla Nov 22, 2024
4d0deef
fix: Monitoring messages history QuestionAndAnswer component test
Aldemylla Nov 22, 2024
d7dbbaa
feat: Monitoring response evaluator tests
Aldemylla Nov 25, 2024
e8e9e76
feat: Monitoring action details tests
Aldemylla Nov 25, 2024
009ad21
feat: Monitoring agent response tests
Aldemylla Nov 25, 2024
77b729c
feat: Monitoring contact message tests
Aldemylla Nov 25, 2024
a72b688
feat: Monitoring drawer inspect response tests
Aldemylla Nov 25, 2024
ee0c7ca
feat: Monitoring grounededness sources tests
Aldemylla Nov 25, 2024
08342a0
feat: Monitoring text sentences tests
Aldemylla Nov 25, 2024
acc05f4
feat: Monitoring response success groundedness tests
Aldemylla Nov 25, 2024
25444bd
fix: Monitoring DrawerInspectResponse refact and tests
Aldemylla Nov 25, 2024
04519ed
feat: Created improve response component to action type
Aldemylla Nov 25, 2024
4384a50
feat: Monitoring improve response to failed type
Aldemylla Nov 25, 2024
1524643
feat: Created ModalAddContent component
Aldemylla Nov 26, 2024
6660e6c
fix: Monitoring ModalAddContent structure
Aldemylla Nov 26, 2024
854a0c9
feat: Added input sites at AddSitesContent
Aldemylla Nov 26, 2024
52874b7
feat: Finish ModalAddContent
Aldemylla Nov 26, 2024
52f947b
feat: Update Unnnic version
Aldemylla Nov 26, 2024
f175981
Merge branch 'feature/monitoring-messages-history' into feature/monit…
Aldemylla Nov 26, 2024
36f022c
Merge branch 'feature/monitoring-messages-history-tests' into feature…
Aldemylla Nov 26, 2024
5aee7df
Merge branch 'feature/monitoring-inspect-answers' into feature/monito…
Aldemylla Nov 26, 2024
5380a07
Merge branch 'feature/monitoring-inspect-answers-tests' into feature/…
Aldemylla Nov 26, 2024
7beb3ad
feat: Added monitoring improve response add new action
Aldemylla Nov 26, 2024
849ed90
feat: Monitoring edit action modal
Aldemylla Nov 26, 2024
9561fe1
fix: ModalActions action to edit crash
Aldemylla Nov 26, 2024
229e4aa
wip: Websocket config
Aldemylla Nov 27, 2024
7cc113e
fix: CSP websocket config
Aldemylla Nov 27, 2024
b2a6392
fix: Monitoring websocket event listeners
Aldemylla Nov 27, 2024
d6aa084
feat: Monitoring load new messages button
Aldemylla Nov 27, 2024
be6d6da
wip: Monitoring load message context
Aldemylla Nov 27, 2024
614b339
Merge branch 'feature/monitoring-inspect-answers' of https://github.c…
Aldemylla Nov 27, 2024
c7b98b7
Merge branch 'feature/monitoring-inspect-answers' into feature/monito…
Aldemylla Nov 27, 2024
e02d0a8
Merge branch 'feature/monitoring-inspect-answers-tests' of https://gi…
Aldemylla Nov 27, 2024
7f9db21
fix: Monitoring received messages tests
Aldemylla Nov 27, 2024
d6bc991
Merge branch 'feature/monitoring-improve-response' of https://github.…
Aldemylla Nov 27, 2024
222ce00
Merge branch 'feature/monitoring-improve-response' of https://github.…
Aldemylla Nov 27, 2024
733a7b2
Merge branch 'feature/monitoring-improve-response-action' of https://…
Aldemylla Nov 27, 2024
7ef9cff
fix: Monitoring message context treatment
Aldemylla Nov 28, 2024
e408c69
fix: Monitoring improve response edit action
Aldemylla Nov 28, 2024
e1c1072
feat: Monitoring improve response tests
Aldemylla Dec 2, 2024
c111c75
feat: Some ModalAddContent tests
Aldemylla Dec 2, 2024
30904c2
Merge branch 'feature/monitoring-improve-response' into feature/monit…
Aldemylla Dec 2, 2024
67437a4
feat: ModalAddContent AddFilesContent tests
Aldemylla Dec 2, 2024
56ece3d
Merge branch 'feature/monitoring-improve-response' of https://github.…
Aldemylla Dec 2, 2024
67ba845
fix: Monitoring ImproveResponse tests
Aldemylla Dec 2, 2024
0f79a2f
Merge branch 'feature/monitoring-improve-response' into feature/monit…
Aldemylla Dec 2, 2024
8ca9e8e
Merge branch 'feature/monitoring-improve-response-action' of https://…
Aldemylla Dec 2, 2024
c81862a
Merge branch 'feature/monitoring-improve-response-action' into featur…
Aldemylla Dec 2, 2024
e6d0ddf
Merge branch 'feature/monitoring-live-messages' of https://github.com…
Aldemylla Dec 2, 2024
2d30a43
fix: Removed unused comment
Aldemylla Dec 2, 2024
e3ead88
Merge branch 'feature/monitoring-improve-response-action' into featur…
Aldemylla Dec 2, 2024
a615e9e
Merge branch 'feature/monitoring-live-messages' of https://github.com…
Aldemylla Dec 2, 2024
8eb9b2a
fix: ReceivedMessages tests
Aldemylla Dec 2, 2024
02685f6
fix: eslint
Aldemylla Dec 2, 2024
6819f84
feat: Monitoring live messages tests
Aldemylla Dec 3, 2024
443059d
Merge branch 'feature/monitoring-live-messages' into feature/monitori…
Aldemylla Dec 3, 2024
d39bba2
fix: Monitoring received messages tests
Aldemylla Dec 3, 2024
98f33d0
feat: Unlock monitoring view to weni users
Aldemylla Dec 3, 2024
1f4724b
fix: BrainSidebar tests
Aldemylla Dec 3, 2024
27562d2
Merge pull request #164 from weni-ai/feature/monitoring-messages-history
Aldemylla Dec 3, 2024
a38bddb
Merge pull request #166 from weni-ai/feature/monitoring-messages-hist…
Aldemylla Dec 3, 2024
ba25737
Merge pull request #168 from weni-ai/feature/monitoring-inspect-answers
Aldemylla Dec 3, 2024
59084be
Merge pull request #169 from weni-ai/feature/monitoring-inspect-answe…
Aldemylla Dec 3, 2024
5cf7ce7
Merge pull request #170 from weni-ai/feature/monitoring-improve-response
Aldemylla Dec 3, 2024
861fc92
Merge pull request #171 from weni-ai/feature/monitoring-improve-respo…
Aldemylla Dec 3, 2024
65b281c
Merge pull request #172 from weni-ai/feature/monitoring-live-messages
Aldemylla Dec 3, 2024
a738d97
Merge pull request #173 from weni-ai/feature/monitoring-messages-context
Aldemylla Dec 3, 2024
5f6c2bc
Merge pull request #174 from weni-ai/feature/monitoring-to-weni
Aldemylla Dec 3, 2024
8cb5808
fix: Preview width size
Aldemylla Dec 3, 2024
6858d70
fix: Monitoring scroll
Aldemylla Dec 3, 2024
3f50cbd
feat: Added tooltip sources of inspect monitoring response
Aldemylla Dec 3, 2024
26489cb
feat: Updated TextSentences tests
Aldemylla Dec 4, 2024
7aca02b
Merge pull request #175 from weni-ai/fix/preview-size
Aldemylla Dec 4, 2024
7c80d40
Merge pull request #176 from weni-ai/feature/monitoring-inspect-sourc…
Aldemylla Dec 4, 2024
336e79b
fix: Some monitoring bugs
Aldemylla Dec 4, 2024
46846c9
fix: Some monitoring fix
Aldemylla Dec 4, 2024
c08b812
Merge pull request #178 from weni-ai/hotfix/monitoring-bugs
Aldemylla Dec 4, 2024
e75e0d7
fix: Monitoring ws connect every mount
Aldemylla Dec 5, 2024
077ebcb
feat: Added monitoring ws connections tests
Aldemylla Dec 5, 2024
bfd67f0
Merge pull request #179 from weni-ai/fix/monitoring-ws-connect
Aldemylla Dec 5, 2024
0858d12
fix: Console includes undefined error
Aldemylla Dec 5, 2024
14443cb
fix: Monitoring pagination, success response without sources and titl…
Aldemylla Dec 5, 2024
a41317b
fix: Adjusted monitoring tests
Aldemylla Dec 5, 2024
c8aa902
Merge pull request #180 from weni-ai/fix/monitoring-bugs
Aldemylla Dec 5, 2024
f3d4cc9
feat: Allowed monitoring view to inspiria users
Aldemylla Dec 9, 2024
5106ab4
Merge pull request #181 from weni-ai/feature/show-monitoring-inspiria…
Aldemylla Dec 9, 2024
4029f8f
feat: Released the monitoring tab for any user
Aldemylla Dec 11, 2024
c477533
feat: Adjusted monitoring message time format
Aldemylla Dec 11, 2024
8a4270a
feat: Adjusted monitoring inspect answer button size
Aldemylla Dec 11, 2024
53b352b
fix: Sidebar tests
Aldemylla Dec 11, 2024
ef7999b
fix: Refactored monitoring message time
Aldemylla Dec 11, 2024
06da1f3
fix: Adjusted received messages import order
Aldemylla Dec 11, 2024
3398d84
feat: Added send llm response option to action creation
Aldemylla Dec 11, 2024
d98795a
feat: Added send llm response at edit custom actions
Aldemylla Dec 11, 2024
e3008f8
fix: Clean send llm response to at SelectActionType when action type…
Aldemylla Dec 11, 2024
d9862eb
feat: Added validation to release the send llm response to flow feature
Aldemylla Dec 11, 2024
3a7d628
fix: Enviroment variable VITE_ORGS_ENABLEDS_SEND_LLM_TO_FLOWS
Aldemylla Dec 11, 2024
c5e9561
fix: ModalChangeAction tests
Aldemylla Dec 12, 2024
0887fb6
fix: Send preview params to flow start
Aldemylla Dec 12, 2024
bc61189
fix: Change send_llm_response_to_flow field at action
Aldemylla Dec 12, 2024
ae249cd
feat: Added monitoring api get message context and rate answer tests
Aldemylla Dec 12, 2024
d442623
feat: Increase monitoring improve response tests
Aldemylla Dec 12, 2024
5aec572
fix: ImproveResponse actionsStore load test
Aldemylla Dec 12, 2024
69cb9ad
Merge branch 'feature/show-monitoring-any-user' of https://github.com…
Aldemylla Dec 12, 2024
b7bc1b5
feat: Added monitoring sidebar item tag 'new'
Aldemylla Dec 12, 2024
f6e8793
fix: SidebarItem tests
Aldemylla Dec 12, 2024
d43c5c7
feat: Added SideBarItem tag test
Aldemylla Dec 12, 2024
7c22a70
feat: Monitoring at home page
Aldemylla Dec 12, 2024
8a4c854
fix: Router tests
Aldemylla Dec 12, 2024
2199b7f
Merge pull request #184 from weni-ai/feature/send-llm-response-to-flow
Aldemylla Dec 12, 2024
698f420
Merge branch 'feature/monitoring-design-adjusts' into feature/increas…
Aldemylla Dec 12, 2024
08f1d80
Merge branch 'main' into feature/show-monitoring-any-user
Aldemylla Dec 12, 2024
bcf2ccb
Merge branch 'feature/show-monitoring-any-user' into feature/monitori…
Aldemylla Dec 12, 2024
607110f
Merge pull request #182 from weni-ai/feature/show-monitoring-any-user
Aldemylla Dec 12, 2024
65a66e1
Merge pull request #183 from weni-ai/feature/monitoring-design-adjusts
Aldemylla Dec 12, 2024
6b3da72
fix: Monitoring and send llm response to flow translations
Aldemylla Dec 12, 2024
242be14
fix: Translations punctuaction
Aldemylla Dec 12, 2024
46c6d8c
Merge pull request #186 from weni-ai/fix/translations
Aldemylla Dec 12, 2024
461c32b
Merge branch 'main' into feature/increase-monitoring-tests
Aldemylla Dec 16, 2024
3c342e5
feat: Added preview cancelled type behavior
Aldemylla Dec 16, 2024
40bb2ca
feat: Released the feature to send response from llm to the flow for …
Aldemylla Dec 16, 2024
d06c2c5
Merge pull request #188 from weni-ai/feature/preview-cancelled-type
Aldemylla Dec 16, 2024
c90375c
Merge branch 'main' into feature/allow-all-send-llm-to-flow
Aldemylla Dec 16, 2024
8f3ae76
Merge pull request #187 from weni-ai/feature/allow-all-send-llm-to-flow
Aldemylla Dec 16, 2024
3d2f3d0
feat: Added ModalAddContent test
Aldemylla Dec 18, 2024
89cead5
Merge branch 'feature/increase-monitoring-tests' of https://github.co…
Aldemylla Dec 18, 2024
1a9bdb4
feat: Complete QuestionAndAnswer tests
Aldemylla Dec 18, 2024
4f426f3
feat: Added tests to store monitoring inspected answer context
Aldemylla Dec 18, 2024
8d05606
Merge branch 'main' into feature/increase-monitoring-tests
Aldemylla Dec 18, 2024
e8e2460
fix: Utils directory test name
Aldemylla Dec 18, 2024
979916f
feat: Added vitest ui package
Aldemylla Dec 18, 2024
9d6dde6
feat: Added App template tests
Aldemylla Dec 19, 2024
3f591c7
fix: Remove App console.log
Aldemylla Dec 19, 2024
ee281f5
feat: Added alert store tests
Aldemylla Dec 19, 2024
7e42b19
feat: Add some tests to BrainCustomization store
Aldemylla Dec 19, 2024
4af21f5
Merge branch 'feature/increase-monitoring-tests' into feature/increas…
Aldemylla Dec 19, 2024
6e2e9f1
add scrip to remove old css files
adenntumba Dec 19, 2024
60c940a
Merge pull request #185 from weni-ai/feature/increase-monitoring-tests
Aldemylla Dec 20, 2024
1f574b7
Merge pull request #189 from weni-ai/feature/increase-coverage-tests
Aldemylla Dec 20, 2024
19863ce
fix: Order of action type at action create
Aldemylla Dec 27, 2024
3faaf0e
fix: Overflow at preview token
Aldemylla Dec 27, 2024
0f344a6
fix: Bedrock not found content detail message
Aldemylla Dec 27, 2024
ac730fa
Merge pull request #195 from weni-ai/fix/create-action-type-order
Aldemylla Jan 6, 2025
cfb5508
Merge pull request #196 from weni-ai/fix/preview-token-overflow
Aldemylla Jan 6, 2025
c9f0057
Merge pull request #197 from weni-ai/fix/bedrock-not-found-content
Aldemylla Jan 6, 2025
91000c1
fix: Adjusted add instruction button only if last instruction has value
Aldemylla Jan 7, 2025
7ade107
Merge pull request #198 from weni-ai/fix/personality-design-review
Aldemylla Jan 8, 2025
2087544
Fix
psychomantys Jan 10, 2025
d75fa64
Fix
psychomantys Jan 10, 2025
81dd892
fix
psychomantys Jan 10, 2025
763b51b
Merge branch 'main' into CLOUD-1924
Aldemylla Jan 14, 2025
2d38e8a
fix
psychomantys Jan 15, 2025
95e622a
Fix docker-entrypoint
psychomantys Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ yarn-error.log*

docker-compose.yml
Dockerfile
docker/Dockerfile

.env
/public/config.js
7 changes: 0 additions & 7 deletions .editorconfig

This file was deleted.

9 changes: 7 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
module.exports = {
root: true,
env: {
es2021: true,
node: true,
},
extends: ['@weni/eslint-config/vue2'],
extends: ['@weni/eslint-config/vue3'],
rules: {
'vue/multi-word-component-names': 'off',
'vue/no-unused-components': 'off',
'vue/no-mutating-props': 'off',
'vue/valid-next-tick': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
'vue/valid-attribute-name': 'off',
},
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2020,
},
};
133 changes: 0 additions & 133 deletions .github/workflows/build-ia-frontend-push-tag-dockerhub.yaml

This file was deleted.

144 changes: 144 additions & 0 deletions .github/workflows/build-ia-frontend-push-tag-shared.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
name: Build Intelligence Webapp in Shared (Push Tag)

on:
push:
tags:
- '*.*.*-develop'
- '*.*.*-staging'
- '*.*.*'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set variables
run: |
TAG="$( echo "${GITHUB_REF}" | cut -d'/' -f3 )"
if grep -qs -e '^.*.*-develop' <<< "${TAG}" ; then
echo "Found environment: DEVELOP - ${TAG}"
echo "MANIFESTS_ENVIRONMENT=develop" | tee "${GITHUB_ENV}"
echo "OLD_IMAGE=${{ secrets.ECR }}/intelligence:webapp-develop" | tee -a "${GITHUB_ENV}"
elif grep -qs -e '^.*.*-staging' <<< "${TAG}" ; then
echo "Found environment: STAGING - ${TAG}"
echo "MANIFESTS_ENVIRONMENT=staging" | tee -a "${GITHUB_ENV}"
echo "OLD_IMAGE=${{ secrets.ECR }}/intelligence:webapp-staging" | tee -a "${GITHUB_ENV}"
elif grep -qs -e '^.*.*' <<< "${TAG}" ; then
echo "No environment found, assuming: PRODUCTION - ${TAG}"
echo "MANIFESTS_ENVIRONMENT=production" | tee -a "${GITHUB_ENV}"
echo "OLD_IMAGE=${{ secrets.ECR }}/intelligence:webapp-production" | tee -a "${GITHUB_ENV}"
else
echo 'Not a valid tag. Skipping...'
exit 1
fi
echo "TAG=$TAG" | tee -a "${GITHUB_ENV}"
VERSION="${TAG}"
echo "VERSION=${VERSION}" | tee -a "${GITHUB_ENV}"
echo "COMMIT_SHA=$GITHUB_SHA" | tee -a "${GITHUB_ENV}"
echo "IMAGE_TAG=${{ secrets.ECR }}/intelligence:webapp-${TAG}" | tee -a "${GITHUB_ENV}"
echo "IMAGE_SOURCE_URL=https://github.com/weni-ai/intelligence-webapp" | tee -a "${GITHUB_ENV}"
echo "MANIFESTS_REPOSITORY=weni-ai/kubernetes-manifests-connect" | tee -a "${GITHUB_ENV}"
echo "MANIFESTS_APPLICATION=intelligence-webapp" | tee -a "${GITHUB_ENV}"
echo "MANIFESTS_PATCH_TARGET=deployment.json" | tee -a "${GITHUB_ENV}"

- name: Check out the repo
uses: actions/checkout@v4
with:
ref: "${{env.GITHUB_SHA}}"
# On non dispatch build not need the repo
#repository: Ilhasoft/weni-engine

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to ECR
uses: docker/login-action@v2
with:
registry: ${{ secrets.ECR }}
username: ${{ secrets.AWS_ACCESS_KEY_ID_SHARED }} # Credentials used to push image to ECR repository
password: ${{ secrets.AWS_SECRET_ACCESS_KEY_SHARED }}

- name: Build and push - Intelligence-Webapp Image
uses: docker/build-push-action@v3
with:
context: .
labels: |
tag=${{env.TAG}}
commit=${{env.COMMIT_SHA}}
repository=${{env.IMAGE_SOURCE_URL}}
file: docker/Dockerfile
push: true
build-args: |
OLD_IMAGE=${{env.OLD_IMAGE}}
tags: |
${{env.IMAGE_TAG}}
${{env.OLD_IMAGE}}
no-cache: true

- name: Check out Kubernetes Manifests
# Now, checkout in kubernetes manifests to update image in deployments patches
uses: actions/checkout@master
with:
ref: main
repository: "${{ env.MANIFESTS_REPOSITORY }}"
token: "${{ secrets.DEVOPS_GITHUB_PERMANENT_TOKEN }}"
path: ./kubernetes-manifests/
# Its uses other path to not mix with source code repository used to build

- name: Update image on deployment
run: |
which jq > /dev/null 2>&1 || ( sudo apt update ; sudo apt install -y jq )
# Dep: coreutils
verlte() {
[ "$1" = "`echo -e "$1\n$2" | sort -V | head -n1`" ]
}
verlt(){
[ "$1" = "$2" ] && return 1 || verlte $1 $2
}
export PROJECT_DIR="${{ env.MANIFESTS_APPLICATION }}"
ENV_DIR="kubernetes-manifests/${{ env.MANIFESTS_APPLICATION }}/${MANIFESTS_ENVIRONMENT}"
for e in ${ENV_DIR}; do
echo "Update ${e}:"
if [ ! -d "${e}" ] ; then
echo "${e}: Does not exist, skipping"
elif [ ! -r "${e}/kustomization.yaml" ] ; then
echo "${e}/kustomization.yaml: Does not readable, skipping"
elif [ ! -r "${e}/${{ env.MANIFESTS_PATCH_TARGET }}" ] ; then
echo "${e}/${{ env.MANIFESTS_PATCH_TARGET }}: Does not readable, skipping"
else
OLD_IMAGE=$(
cat "${e}/${{ env.MANIFESTS_PATCH_TARGET }}" \
| jq '.[] | select(.path == "/spec/template/spec/containers/0/image") | .value'
)
echo "Old image to replace: ${OLD_IMAGE}"
OLD_VERSION=$(
echo "${OLD_IMAGE}" \
| sed s'/^.*[v:-]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/'g \
| head -n1
)
echo "Old image version to compare: ${OLD_VERSION}<=${{env.VERSION}}"
if verlte "${OLD_VERSION}" "${VERSION}" || [[ ! "${OLD_VERSION}" =~ [0-9]+\.[0-9]+\.[0-9]+ ]] ; then
echo 'New configurations:'
new_configuration=$(
cat "${e}/${{ env.MANIFESTS_PATCH_TARGET }}" \
| jq '(..|select(.path == "/spec/template/spec/containers/0/image")?) += {value: "'"${{env.IMAGE_TAG}}"'"}'
)
echo "${new_configuration}"
echo "${new_configuration}" > "${e}/${{ env.MANIFESTS_PATCH_TARGET }}"
else
echo "Version in file is greater than build, skipping update yaml"
fi
fi
done

- name: Commit & Push changes
# Once made a change, commit new configuration
uses: actions-js/push@master
with:
github_token: "${{ secrets.DEVOPS_GITHUB_PERMANENT_TOKEN }}"
repository: "${{ env.MANIFESTS_REPOSITORY }}"
directory: ./kubernetes-manifests/
branch: main
message: "From Intelligence Webapp Build (Push Tag ${{ env.MANIFESTS_ENVIRONMENT }})"
33 changes: 33 additions & 0 deletions .github/workflows/crowdin-download.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Crowdin Action

on:
schedule:
- cron: '0 20 * * *' # Every day at 8pm (UTC) - https://crontab.guru/#0_20_*_*_*

permissions:
contents: write
pull-requests: write

jobs:
crowdin-download:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Synchronize with Crowdin
uses: crowdin/github-action@v2
with:
upload_sources: false
upload_translations: false
download_translations: true
localization_branch_name: crowdin_translations

create_pull_request: true
pull_request_title: '[CROWDIN] - New translations'
pull_request_body: 'New Crowdin pull request with translations'
pull_request_base_branch_name: 'main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/crowdin-upload.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Crowdin Action

on:
push:
paths: [ 'src/locales/**' ]
branches: [ main ]

jobs:
crowdin-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Crowdin push
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: true
download_translations: false
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Loading