Description
Google ships the route module and settings page used for the Enso Google integration.
Installation
Install the package:
yarn add @enso-ui/google
The package is usually consumed from the full enso-ui workspace inside an Enso application.
Features
- registers the
/integrations/google/settingsroute module - renders the settings screen through
EnsoForm - supports backend-driven create/update flows for Google credentials and toggles
- keeps the frontend shell aligned with the backend integration contract
Usage
import integrations from '@enso-ui/google/src/bulma/routes/integrations.js';
import GoogleSettings from '@enso-ui/google/src/bulma/pages/integrations/settings/Index.vue';
API
Route modules
The package is page-oriented and is usually consumed through its route module.
Common imports:
@enso-ui/google/src/bulma/routes/integrations.js@enso-ui/google/src/bulma/routes/integrations/google.js@enso-ui/google/src/bulma/routes/integrations/google/settings.js@enso-ui/google/src/bulma/pages/integrations/settings/Index.vue
Settings page
The page is a thin wrapper around EnsoForm and delegates the actual contract, actions, and validation to the backend package.
Routes
/integrations/google/settings
Route name:
integrations.google.settings.index
Page:
src/bulma/pages/integrations/settings/Index.vue
Companion Backend Package
Depends On
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!