This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Commit 70a1d50
Chris McConnell
Chrimc/form (#394)
* Intermediate check-in before inverting
template/prop loops.
* Working generator with incomplete templates.
* Basic .lu files working.
* Update to generate single .lu file.
* Fix cli issues.
* Fix CLI issues with template resources.
* Clean up lint warnings.
* Fix lint errors.
* Generate composite .lu
* Add dialog and multi-language support.
* shortcut to debug
* Add per-locale .lg file.
* Update debug config to use temp directory.
Generate multilingual .lg file.
* Update to include schema prefix on names.
* Fix bugs in .lg genertion.
* try help
* help and cancel
* Copy schema to output directory.
* help and cancel version 1
* separate help.lu
* several fixes
* remove help enum
* reset launch.json
* remove empty line
* Add the ability to copy library dialog files.
* Add ability to specify schema and multiple
templates.
* Rename resources.
Support multiple templates.
Add *PROPN** pattern.
* Fix bug in striingify call.
* Generate schema.main.dialog and update config.
* Update templates to newest format.
* Update templates to match names.
* add .dialogs for several basic rules
* Update templates to use $ and add begindialog as a hack to work around ada
ptive issue.
* add .dialogs for several basic rules
* fix comments
* merge from origin
* small changes
* Add formCopy cmd file.
* Adjust for bug in templates.
* fix path
* Version 1 of contact.form.dialog
* Same info is modeled for both Home and Work.
* List of state abbreviations and their spelled-out names are specified in the separate state.en-us.lu, and used in the $mappings specifications.
* Latitude and Longitude should be auto-filled if the corresponding address are filled.
* Validation patterns are specified for zip codes and phone numbers.
* Fixed contact.form.dialog and added activity.form.dialog
* contact.form.dialog
- Fixed spelling
- Use phonenumber prebuilt entity type
* activity.form.dialog: the second scenario from Darren "An employee working for a customer wants to add a quick update to a customer record after a call. This update will then be available for other people working with that customer to see".
* Added opportunity.form.dialog
For Darren's scenario "An employee working with a customer has had a meeting and needs to create a new opportunity."
* change names
* Revert "change names"
This reverts commit 64ffaff.
* change names
* basic work done for ask, set and help
* cancel confirmation
* cancel confirmation done, unexpected property set confirmation in progress
* improve unexpected property test
* Version 1 of contact.form.dialog
* Same info is modeled for both Home and Work.
* List of state abbreviations and their spelled-out names are specified in the separate state.en-us.lu, and used in the $mappings specifications.
* Latitude and Longitude should be auto-filled if the corresponding address are filled.
* Validation patterns are specified for zip codes and phone numbers.
* Fixed contact.form.dialog and added activity.form.dialog
* contact.form.dialog
- Fixed spelling
- Use phonenumber prebuilt entity type
* activity.form.dialog: the second scenario from Darren "An employee working for a customer wants to add a quick update to a customer record after a call. This update will then be available for other people working with that customer to see".
* Added opportunity.form.dialog
For Darren's scenario "An employee working with a customer has had a meeting and needs to create a new opportunity."
* rename state.lu
* prebuilt lu templates
* remove choose entity
we only have chooseProperty and clarifyEntity
* Switch to event expected.
* Update templates for latest runtime and add ask for
multiple properties.
* Add **NAMES/**NAME** and generate property names.
* fix unexpected property confirmation usage
* change unexpected property action from ask to sendactivity
* all done confirmation
* Update names to support chooseProperty.
* Check-in bread value hack.
* Fix template bug around clarify.
* Update templates to use names and start numbers.
* complete the new forms
* contextual help
* activity schema working fine
* add meta info to opportunity schema
* opportunity semi-working
cannot use phonenumber;
properties not in required also got asked;
in stringset, default value is not expression, cannot get the value for @email
* three schemas working
sandwich, activity, opportunity
* contact schema working
Adding welcome message in beginDialog,
Add help message for non-enum properties,
All three CDS schemas working
* Sync changes for demo.
* Before adding mapping templates
* Getting close to E2e.
* Largely working with some template debugging.
* Update the readme.
* Update to latest expression and lg packages.
Support app schema.
* Update standard schema.
* Finish merge.
* Show metaschema.
* Fix readme typo.
* several changes (#299)
* several changes
(1) remove unused old files;
(2) change incorrect file names;
(3) add string ask templates;
(4) remove meta properties from schemas;
(5) fix an error in calculating optional properties
* fix help property bug
* Add string templates.
* a few changes (#318)
(1) fix the cancel.lu bug
(2) add datetime.lu
(2) stringSetdatetime.dialog.lg
* Add template for not understood.
* Connect to bf cli.
* Add basic role support.
* Nigao/newtemplate (#321)
* a few changes
(1) fix the cancel.lu bug
(2) add datetime.lu
(2) stringSetdatetime.dialog.lg
* autohelp for new templates
* Update to use @{} everywhere and remove auto-help
since it required post-ask action.
* Nigao/newtemplate (#323)
* a few changes
(1) fix the cancel.lu bug
(2) add datetime.lu
(2) stringSetdatetime.dialog.lg
* autohelp for new templates
* add $requires, and datetime entity sets
* add all stringSet for prebuilt entities explicitly
* change prebuilt-entity.lu.lg files
* Switch to using a triggerIntent instead of none for entities.
Cleanup filename expressions.
* Fix bug in status.
* Switch from dialog:form to dialog:generate
* Add top-level documentation.
* Update tests to use dialog:generate.
* Rename tests to generator.
* Fixing linting errors
* Generate confirmation card.
* Fix reference regex ot not match structured lg.
* Minor bug fixes.
* Update to allow multi-lingual fallback.
* Change from $type to $kind.
Change unionType to union.
Add documentation.
* Move from $type to $kind.
* Enable schema tests.
* Switch to $kind and add dynamic .schema.
* Update string to new help pattern.
* Merge with master and support $kind.
* Address review comments.1 parent 6c63b41 commit 70a1d50
File tree
57 files changed
+194
-172
lines changed- .vscode
- packages/dialog
- src
- commands/dialog
- library
- templates
- en-us
- test/commands/dialog
- forms
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
57 files changed
+194
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
48 | | - | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
| 59 | + | |
57 | 60 | | |
58 | | - | |
| 61 | + | |
59 | 62 | | |
60 | | - | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| 87 | + | |
0 commit comments