@planningcenter/core-automations 1.2.0-rc.0 → 1.2.0-rc.2
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.
- package/CHANGELOG.md +101 -0
- package/dist/cjs/core-automations.esm.js +1 -1
- package/dist/cjs/core-automations.esm.js.map +1 -1
- package/dist/cjs/core-automations.js +1 -1
- package/dist/cjs/core-automations.js.map +1 -1
- package/dist/cjs/core-automations.modern.mjs +1 -1
- package/dist/cjs/core-automations.modern.mjs.map +1 -1
- package/dist/cjs/core-automations.umd.js +1 -1
- package/dist/cjs/core-automations.umd.js.map +1 -1
- package/dist/src/assets/svg_automations.js +4 -0
- package/dist/src/assets/svg_automations.js.map +1 -0
- package/dist/src/automations.js +271 -0
- package/dist/src/automations.js.map +1 -0
- package/dist/src/definition.js +75 -0
- package/dist/src/definition.js.map +1 -0
- package/dist/src/field.js +118 -0
- package/dist/src/field.js.map +1 -0
- package/dist/src/fields.js +61 -0
- package/dist/src/fields.js.map +1 -0
- package/dist/src/history.js +325 -0
- package/dist/src/history.js.map +1 -0
- package/dist/src/history_modal.js +13 -0
- package/dist/src/history_modal.js.map +1 -0
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/new_automation.js +258 -0
- package/dist/src/new_automation.js.map +1 -0
- package/dist/src/new_automation_modal.js +14 -0
- package/dist/src/new_automation_modal.js.map +1 -0
- package/dist/src/utils/alerts.js +9 -0
- package/dist/src/utils/alerts.js.map +1 -0
- package/dist/src/utils/theme.js +28 -0
- package/dist/src/utils/theme.js.map +1 -0
- package/dist/src/utils/utils.js +218 -0
- package/dist/src/utils/utils.js.map +1 -0
- package/dist/tests/setupJest.js +3 -0
- package/dist/tests/setupJest.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/src/automation.d.ts.map +1 -1
- package/dist/types/src/history.d.ts.map +1 -1
- package/dist/types/src/utils/fetch-automations.d.ts +3 -0
- package/dist/types/src/utils/fetch-automations.d.ts.map +1 -1
- package/dist/types/tests/utils/utils.test.d.ts +2 -0
- package/dist/types/tests/utils/utils.test.d.ts.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## Unreleased
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Add `SelectSearch` UI option.
|
|
13
|
+
- Display count of failed and paused delivery events in automation card.
|
|
14
|
+
- Mark delivery events as ignored
|
|
15
|
+
|
|
16
|
+
## [1.1.0](https://github.com/planningcenter/core-automations/releases/tag/v1.1.0) - 2023-06-14
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Take in a `blankStateLink` prop.
|
|
21
|
+
- Properly handle incoming automations from Registrations
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Move placement of history preservation message.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Fix Giving in incoming automations
|
|
30
|
+
- Include missing `SweetAlert` styles in `Automations` component.
|
|
31
|
+
- JSON parsing error in History component
|
|
32
|
+
- Remove `Don't change` as an option for `Checkboxes`.
|
|
33
|
+
|
|
34
|
+
## [1.0.1](https://github.com/planningcenter/core-automations/releases/tag/v1.0.1) - 2023-04-25
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- Target product icon was the wrong color for migrated automations
|
|
39
|
+
|
|
40
|
+
## [1.0.0](https://github.com/planningcenter/core-automations/releases/tag/v1.0.0) - 2023-04-17
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
|
|
44
|
+
- Display incoming automations
|
|
45
|
+
- Take in a `currentPersonCanAccessPeople` prop that will determine if the `People` application shows up or not in the list of products where an automation can be created by the current user.
|
|
46
|
+
- Add blank state for incoming automations
|
|
47
|
+
- Show date that history begins when viewing a recently created automation
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- Changed sizing of `DateField`, `TextField`, and `TextArea` fields
|
|
52
|
+
- Changed spacing around loading indicators
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- Automation name not showing in delete modal
|
|
57
|
+
- Fallback to `[Hidden]` if the person doesn't have access to the People API
|
|
58
|
+
- Downgrade SweetAlert2
|
|
59
|
+
|
|
60
|
+
## [0.3.0](https://github.com/planningcenter/core-automations/releases/tag/v0.3.0) - 2023-04-10
|
|
61
|
+
|
|
62
|
+
### Added
|
|
63
|
+
|
|
64
|
+
- Take in a `afterCreateOptions` prop. This `afterCreateOptions` prop will contain a `label` and a `onConfirm` callback function to be executed after the automation is created.
|
|
65
|
+
- Support multiple trigger events (e.g. "when person [joins|leaves] this group")
|
|
66
|
+
- Added implementation guide to the README
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
- Update `border-radius` of modals to match newest design spec
|
|
71
|
+
- Migrated components to Typescript
|
|
72
|
+
- Change sizing of `Select`s and loading indicators in the `NewAutomation` form
|
|
73
|
+
- Refactor "Paused" and "Active" states in `Automation` header
|
|
74
|
+
|
|
75
|
+
### Fixed
|
|
76
|
+
|
|
77
|
+
- Prevent text overflow in History table
|
|
78
|
+
|
|
79
|
+
## [0.2.0](https://github.com/planningcenter/core-automations/releases/tag/v0.2.0) - 2023-03-21
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
|
|
83
|
+
- Take in a `currentOrganization` prop instead of reading from `window.currentOrganization`
|
|
84
|
+
|
|
85
|
+
### Changed
|
|
86
|
+
|
|
87
|
+
- Use `currentOrganization` prop for date formatting
|
|
88
|
+
- Use outline `Badge` variant in history table
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
|
|
92
|
+
- Build errors: specify `jsxFragment` for microbundle when building (#15)
|
|
93
|
+
- Move function definition above callsite (#16)
|
|
94
|
+
|
|
95
|
+
## [0.1.0](https://github.com/planningcenter/core-automations/releases/tag/v0.1.0) - 2023-03-14
|
|
96
|
+
|
|
97
|
+
### Added
|
|
98
|
+
|
|
99
|
+
- Set up initial repo with components extracted from People's original implementation
|
|
100
|
+
- Set up basic theme that includes necessary icons along with host app styles
|
|
101
|
+
- Add basic usage information to README
|