Commit c7d4fab
Sprint bug bash master PR (#3546)
* Spring bug bash (#3519)
* chore: add the helper text for shortcode in hsm tempalte
* refactor: 🔥 Remove Collections button from staff management list (#3520)
---------
Co-authored-by: Shijith Karumathil <[email protected]>
(cherry picked from commit 5242f44)
* Added asterics in certificates page and corrected info on resolution (#3522)
(cherry picked from commit e3b6760)
* Added asterics to assistants page (#3521)
* added asterics to assistants page
* Enhance CreateAssistant form validation and submission handling
---------
Co-authored-by: Akansha Sakhre <[email protected]>
(cherry picked from commit b3dd359)
* Add asterisks to label and placeholder for required field (#3516)
* Add asterisks to label and placeholder for required field indication in HSM component
* Refactor: Add asterisks to labels for required fields in Trigger component
* Refactor: Add asterisk to label for required field indication in Collection component
* Refactor: Add asterisks to labels for required fields in InteractiveMessage component
* Refactor: Add asterisk to label for required field indication in Flow component
* Refactor: Add asterisks to 'Title' label for required field indication in Collection and InteractiveMessage tests
* Refactor: Update order of severity options in NotificationList component
* Refactor: Update label from 'Label' to 'Name' in columnNames of SheetIntegrationList component
* Refactor: Update label from 'Label' to 'Title'
* Refactor: Rearrange formFields to maintain consistent order of components in SheetIntegration
* Refactor: Move AutoComplete model field definition within formFields array for improved structure
* Refactor: Update label from 'Assigned to' to 'Collections assigned' in StaffManagementList component
* Fix: Ensure openPickerButton can open date picker when not disabled
* Fix: Ensure openPickerButton can open time picker when not disabled
* Test: Add OpenPickerButton functionality tests for enabled and disabled states
* Test: Add functionality to open calendar when picker button is clicked and not disabled
* Test: Update calendar picker button click test to use role selector and ensure calendar opens
* Test: Simplify calendar picker button click test by using screen.getByRole
* Fix: Ensure text in Content class wraps correctly and maintains formatting
* minor cleanup
---------
Co-authored-by: Akansha Sakhre <[email protected]>
(cherry picked from commit e2357ff)
* Assistants: Fix file upload size message and link (#3515)
* fix: update assistants upload files text
* fix: create assistant text
* test: fix instructions test case
* refactor: fix instructions label
* fix: correct spacing in 'Instructions(Prompt)' text
* Merge branch 'sprint_bug_bash_master' of github.com:glific/glific-frontend into fix/assistants_popup
---------
Co-authored-by: Akansha Sakhre <[email protected]>
(cherry picked from commit ccf0e64)
* Sprint bug bash (#3517)
* added dropdown icon for options with sub options
* change default assistant temperature to 0.1 in CreateAssistant and Assistants components
* Add sortBy prop to ListProps and set default sort in TriggerList
* moved isActive tp the top and footer below the add variable button
* Change navigation to open destination in a new window
* Remove unused navigate import from NotificationList component
* Refactor navigation handling in NotificationList tests to use window.open instead of mocked useNavigate
* Mock window.open in NotificationList tests for improved navigation handling
* Add missing import for styles in SideMenus component
* Update createAssistant mock to include temperature and change orderWith to updated_at in triggerListQuery
* resolved eof error
* Refactor sorting configuration in List and TriggerList components to use sortConfig object
(cherry picked from commit 2a40610)
* Fix optional chaining in setPayload function for safer property access
(cherry picked from commit 34b9c58)
* Add asterisks to required fields in HSM and QuickReplyTemplate components; update translations for date range in English and Hindi
(cherry picked from commit 1053339)
* Update date range label in Trigger component and remove asterisk from translations in English and Hindi
(cherry picked from commit d9cec97)
* Replace hamburger menu with collapsible side arrow icon when it open (#3542)
* Replace hamburger menu icon with back arrow icon in SideDrawer component for improved navigation experience.
* Remove unnecessary margin from ClosedItem class in SideMenus.module.css for improved layout consistency.
(cherry picked from commit 9603e8a)
* Added support for sharing flow links (#3527)
* added dropdown icon for options with sub options
* change default assistant temperature to 0.1 in CreateAssistant and Assistants components
* Add sortBy prop to ListProps and set default sort in TriggerList
* moved isActive tp the top and footer below the add variable button
* Change navigation to open destination in a new window
* Remove unused navigate import from NotificationList component
* Refactor navigation handling in NotificationList tests to use window.open instead of mocked useNavigate
* Add ShareFlowLink component and styles; include QR code functionality and share link feature
* Add ShareFlowLink functionality to FlowEditor and FlowList; update styles and dialog handling
* Add organization retrieval to user session and implement getOrganizationData function
* clean up
* Mock window.open in NotificationList tests for improved navigation handling
* Add missing import for styles in SideMenus component
* minor cleanup
* Add tests for ShareFlowLink component and enhance functionality with clipboard and QR code features
* Refactor imports in ShareFlowLink component for better organization and clarity
* Update createAssistant mock to include temperature and change orderWith to updated_at in triggerListQuery
* Remove unused import 'wait' from ShareFlowLink test file
* Refactor CSS for improved readability and consistency; update ShareFlowLink component to conditionally render keyword selection based on available options.
* moved edit icon inside view more
* Add ShareResponderLink component with QR code download and keyword selection functionality
* Refactor ShareFlowLink to ShareResponderLink; update imports and component usage across FlowEditor, FlowList, and tests
(cherry picked from commit d3f54b3)
* refactor: coderabbit comments
(cherry picked from commit 4fd6c44)
* fix: update text in ShareResponderLink tests and InteractiveMessage test
(cherry picked from commit 373ea36)
* fix: handle optional chaining for keywords in FlowEditor and update share dialog keywords type in FlowList
style: remove duplicate border-radius in ShareResponderLink CSS
test: refactor ShareResponderLink test setup for consistency
i18n: add "Share" translation to English localization
(cherry picked from commit 6f34634)
* added test cases for flow list
(cherry picked from commit c3cdfb6)
* renamed flow link to responder link
(cherry picked from commit 58043ca)
* test: add export flow and share responder link tests; update dialog heading for accessibility
(cherry picked from commit de3401f)
* fix: remove console log for keywords length in getName function
(cherry picked from commit 7dcc1c9)
* remove redundant setUserSession call in ShareResponderLink tests
(cherry picked from commit 4149cb9)
* update expectation in flow preview button test to check for simulator container
(cherry picked from commit d560894)
* test: skip inactive flow test in FlowEditor
(cherry picked from commit 32fbafb)
* test: update text assertions in Collection and Trigger tests for clarity
* minor refactoring
---------
Co-authored-by: Amisha Bisht <[email protected]>
Co-authored-by: Shijith Karumathil <[email protected]>
Co-authored-by: Tejas Mahajan <[email protected]>
Co-authored-by: Priyanshu singh <[email protected]>1 parent 3b3415f commit c7d4fab
File tree
51 files changed
+962
-168
lines changed- src
- assets/images/icons
- common
- components
- UI
- Form
- Calendar
- TimePicker
- floweditor
- containers
- Assistants
- AssistantOptions
- CreateAssistant
- Certificates
- CertificatesList
- Collection
- Flow
- FlowList
- HSM
- InteractiveMessage
- InteractiveOptions
- List
- NotificationList
- SheetIntegration
- SheetIntegrationList
- StaffManagement/StaffManagementList
- Ticket
- TicketList
- Trigger
- TriggerList
- i18n/en
- mocks
- services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+962
-168
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
112 | 124 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
148 | | - | |
| 153 | + | |
0 commit comments