Skip to content
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

Update: 1.3.0-floweditor-1.18.4 #29

Merged
merged 51 commits into from
May 22, 2024
Merged

Conversation

paulobernardoaf
Copy link
Member

No description provided.

susanm74 and others added 30 commits October 13, 2022 17:03
- added a bit of styling to the advanced tab
- added dial limit and call limit to the advanced tab
- added dial limit and call limit to the wait JSON
- updated existing unit test snapshot
- added placeholders for unit tests
- fixed call limit handler method typo
- added placeholder to each text input
- minor update to position of __className in list of elem attrs
- added todo's to scss
- removed extra unused style rules (but keeping style file for now)
- using vanilla p element instead of TextInputElement showLabel attribute for dialLimit and callLimit textbox labels
- removed unused TextInputElement __className attribute
- added dialLimit and callLimit to helpers nodeToState?
- added dialLimit and callLimit to flowTypes wait interface?
…progress

- removed extra comments in dial router form
- explicitly setting dialLimit and callLimit to themselves in setState
- switched setting dialLimit and callLimit from "StringEntry = { value: '' }" to just "" in nodeToState
- switched setting dialLimit from router.wait.dialLimit to router.wait.dial_limit in nodeToState
- switched setting callLimit from router.wait.callLimit to router.wait.call_limit in nodeToState
- no changes needed to const wait in stateToNode
- unit tests in progress
- added explicit defaults for dialLimit and callLimit
- switched from StringEntry to NumberEntry
- unit tests in progress
- switched from string to number
- removed extra casting/conversion
- added tests for dial limit and call limit
- removed i18n.t() from TextInputElement name attr value
- updated createDialRouter to add dialLimit and callLimit args
- updated snapshot
- fixed originalArgument var name typo
- fixed bug where rule translations tab wasn't displaying "has number between" arguments correctly
- added truthy filter to kase.arguments just before the check for any kase.arguments
- switched from temba-checkbox to CheckboxElement
- added update logic for skipContactsInFlow in StartSessionForm handleUpdate fn
- added init logic for skipContactsInFlow in helpers initializeForm fn
- added skipContactsInFlow to helpers stateToAction fn's action object
- added skipContactsInFlow to flowTypes StartSession interface
- added skipContactsInFlow to assetCreators createStartSessionAction
susanm74 and others added 21 commits November 3, 2022 14:39
- also moved checkbox into advanced tab
- tentatively created ExclusionsCheckboxEntry to abstract and DRY things out a bit
- updated unit tests
…gfix

wait for response form - numeric rule - rule translations tab - has number between and empty translations bugfixes
…kip-support

start somebody else in a flow form - add skip contacts in a flow checkbox
- added margin and width styling to flex items
- now only adding margin-right to first child
- now only adding margin-left to last child
- and also added back the generic .flex_items margins in case we ever add anything in between the first and last child and need those items to maintain the same margins
…nced-tab

dial router form - new advanced tab with dial limit and call limit values
…es-from-translations

excluding all date, time, and numeric rules from translations
Fix StartSessionForm bug for definitions without exclusions
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 82.85714% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 63.62%. Comparing base (849db29) to head (9103c6c).

Files Patch % Lines
...nts/flow/actions/startsession/StartSessionForm.tsx 33.33% 3 Missing and 1 partial ⚠️
...rc/components/flow/actions/startsession/helpers.ts 0.00% 0 Missing and 1 partial ⚠️
...ow/routers/localization/RouterLocalizationForm.tsx 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   63.52%   63.62%   +0.09%     
==========================================
  Files         177      177              
  Lines        6915     6942      +27     
  Branches     1650     1657       +7     
==========================================
+ Hits         4393     4417      +24     
- Misses       1936     1940       +4     
+ Partials      586      585       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@paulobernardoaf paulobernardoaf merged commit ba4f136 into main May 22, 2024
2 of 3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants