Closed markconroy closed 2 months ago
@willguv I think this module is ready for testing/feedback now.
Hi Mark, Code changes look good. I am just trying to test this new module. I will get back to you by the end of the day.
@Adnan-cds is happy, but not been able to test fully yet.
Happy to merge, and follow up if needed.
Closes #1
Settings page
Go to the settings page to fill out your settings. Remember, these will become part of your site's config, so if you change these you need a developer to export your config so they are not wiped the next time a deployment happens.
Field for workspace id
Put the workspace id in here. It becomes site config, so a developer will be needed to capture that.
Field for partition id
Put the partition id in here. It becomes site config, so a developer will be needed to capture that.
Good to go
This will be enough for most sites, if they only have one ai widget.
Field for partition overrides
If you want to override what widget is show on what page you can add a list of different partition ids and paths to this field, in the format of
partition_id|path
(such aspar123abc|news
forpar123abc
to appear on the news page, but the default ai widget to appear everywhere else).If you want a different widget to appear on a section of pages, such as all the items inside
/news
put a*
at the end of your path like so:par123abc|news/*
Thanks to Big Blue Door for sponsoring my time to work on this.