Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/ui/components/FoodInputModal/utils/modal-ui-helpers.ts#L40)][[2](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/ui/components/FoodInputModal/utils/modal-ui-helpers.ts#L42)][[3](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/ui/components/FoodInputModal/utils/modal-ui-helpers.ts#L188)][[4](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/ui/components/FoodInputModal/utils/button-state.ts#L48)][[5](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/main.ts#L238)][[6](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/main.ts#L239)][[7](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/main.ts#L264)][[8](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/main.ts#L265)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/ui/components/FoodInputModal/utils/modal-ui-helpers.ts#L194)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>



---

### Optional

[[1](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/services/meal-manager.ts#L204)][[2](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/services/meal-manager.ts#L479)][[3](https://github.com/rnaidenov/obsidian-ai-nutrition-tracker-plugin/blob/45b70adceeb8d64362d628a4ce233100966b4612/src/services/meal-manager.ts#L493)]:Use `app.fileManager.trashFile(file: TAbstractFile)` instead, this will make sure that the file is deleted according to the users preferences.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.