#2641 Reorganize samples#2762
Conversation
|
|
||
| return mapped; | ||
| }, [array, mapper, nextMapperCalls]); | ||
| }, [array, mapper, nextMapperCalls, prevMapperCalls]); |
There was a problem hiding this comment.
via npm run eslint
|
|
||
| - Fork this repository | ||
| - Navigate to `/Your-Local-WebChat/samples/01.c.getting-started-migration` in command line | ||
| - Navigate to `/Your-Local-WebChat/samples/00.migration/a.v3-to-v4` in command line |
There was a problem hiding this comment.
There are plans to add additional migration samples, hence the current sample structure for 00.migration/.
(Only one v3-to-v4 sample exists).
| "babel-jest": "^24.9.0", | ||
| "core-js": "^3.5.0", | ||
| "coveralls": "^3.0.9", | ||
| "eslint-plugin-react": "^7.17.0", |
There was a problem hiding this comment.
I am not sure what I did, but I needed to reinstall this package while working on this PR
| | [`23.a.hybrid-react-npm`](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/23.a.hybrid-react-npm) | Demonstrates how to use different versions of React on a hosting app via NPM packages | [Hybrid React Demo](https://microsoft.github.io/BotFramework-WebChat/23.a.hybrid-react-npm) | | ||
| | Sample Name | Description | Link | | ||
| | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | **Migration** | | | |
There was a problem hiding this comment.
I know it's not ideal, but I intentionally did not add another column for directory groupings because it would severely limit the real estate available for listing the descriptions and sample names. If you have a better suggestion, please feel free.
We can also iterate on this table after this major sample is merged in.
| @@ -0,0 +1,50 @@ | |||
| pool: | |||
There was a problem hiding this comment.
The .yml files were marked by git as deleted (and the new one added), as opposed to renamed. I'm assuming this is because there was a significant enough change to the file to consider it a new file.
Resolves #2641
Changelog Entry
Samples NOT tested:
The rest of the samples have been tested locally and work fine. Manual testing of samples after merge will be completed asap by me (this includes manual testing of hyperlinks to the samples)
@tdurnford and @compulim, sorry in advance that there are so many file changes. I got @stevengum to do an initial pass and he left some comments on questions we discussed in person.
Description
This is a rework of the samples directory. Overall structure has been discussed internally. Here are the new groupings:
00.migration01.getting-started02.branding-styling-and-customization03.speech04.api(intentionally left lowercase to match naming convention of other samples, e.g. ui instead of UI)05.custom-components06.recomposing-ui07.advanced-web-chat-appsSpecific Changes
See below for screencaps of the new directory
Testing Added