Граф коммитов

1 Коммитов

Автор SHA1 Сообщение Дата
Daniel Smith e4b279863d
[3/3] New Intent SPA component and direct intent posting (#4114)
* new Intents API and notifier for intent sending

* OpenAPI for Intents API

* Add request body for Intents API POST

* reference request object correctly

* Intents API tests

* notifier tests for intent posting

* fix tests

* changes suggested by @jrobbins

* changes suggested by @jcscottiii

* Fix tests and add new ones

* mypy and test fix

* Changes suggested by @jcscottiii

* Use OpenAPI object to create response

* UI changes and paths for intent draft and posting

* changes suggested by @jrobbins

* lint-fix

* read subject from API response

* remove unused imports

* Move copy intent body event to @click

* Additional fixes

intents_api.py: Pass in `gate_id` for intent GET request to populate URL query string. Also, pass `sections_to_show` param for template rendering.
chromedash-intent-preview-page.js: When finding matching stage, search extension stages as well.
cs-client.js: Pass `gateId` in GET request.
notifier.py: Add APP_TITLE to populate intent template.
main.py: Update route for passing `gate_id` in GET request.
api.yaml: Add definition for `gate_id` in GET request.
2024-07-25 12:08:06 -07:00