Danger Training exercise. # Experience review Link to chef hat feedback page: [feedback-sample.md](/feedback-sample) ## What made you smile? * Eject `Rating.tsx` component was smooth. * It was possible to copy&paste image directly from clipboard to the editor! ## What did you find confusing? * When copying and renaming file we ended up with two files - renamed one and original one with `copy` added to the name. * We asked AI search how to customize feedback component on specific md page with prompt: `how can I customize feedback for one specific md page?` in result we were given answer: ``` 1. Add triple-dashed lines at the very start of your Markdown file. 2. Between these lines, specify your feedback configuration options. 3. You can customize various aspects such as: - Form type (sentiment, mood, rating, scale, or comment) - Label text and submit button text - Additional questions or options (like checkboxes or radio buttons) - Whether to include a comment field ``` This is not so helpful. We would expect to receive sample code that we can copy&paste into our md file. * In https://redocly.com/docs/realm/config/feedback#options page there is no `Stars` type mentioned, but on `Theme components (Beta)` we can see `Stars.tsx`. * Eject `Rating.tsx` component resulted in editor showing import errors (many red highlighted lines). ![editor-errors-after-reject.png](/assets/editor-errors-after-reject.a4edf2fb4821db2f035cadb2044813d93d50ff1889144bf687c2d0c1bda932c0.43a731ee.png) * Webview didn't refresh feedback component when we've modified `FEEDBACK_MAX_RATING` from 5 to 3. Changes were applied after commit. * Initially we've created new svg files and tried to import them from ejected `Stars.tsx` component. We've failed to make it working, there were no compilation errors though. * When we were pasting svg content, we were missing `prettier` option - the content was too long, formatted would make more sense * Typing text fast in editor was very slow - editor was not responsive. Impression is that the longer we keep it open, it gets slower. * After some time Webview stopped working (blank screen, no errors visible). Other person was able to see it though. * Initially, after each commit webview was making full-restart. After some time, it stopped - we've had to trigger it manually. * We've removed vendor api's folder (with Github OAD) because our project startup time was very slow with ~40 seconds. After removing, it took ~15 second to start. * We were struggling a lot with resizing chef hat icons to fit in 16px. Webview was showing different results for the same data (at least that's our impression, it seems it didn't catch up with changes we were making).