Project

General

Profile

Feature #3226

Support for copilot_urls

Added by Ram Kordale about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/26/2023
Due date:
10/03/2023
% Done:

100%

Estimated time:
(Total: 3.80 h)
Spent time:
(Total: 11.50 h)

Description

On some sites, we may want our copilot to show up only on a subset of pages. In order to accomplish this, please enable support for:

In 1.txt, there could be a new copilot_urls line after "aliases" line. example: #%&copilot_urls:["https://scikit-learn.org/stable/modules/classes", "https://scikit-learn.org/stable/modules/generated", "scikit-learn.org/*blog*"]#%&

If this is present, do not show copilot on https://scikit-learn.org except for urls with the above two prefixes.

More examples: we should show copilot for the following URLs:
- http://scikit-learn.org/modulesblog/1/2/3
- https://scikit-learn.org/1/2/3/4blog5


Subtasks

Feature #3227: BE : Support for copilot_urlsClosed09/26/2023Ram Kordale

Actions
Task #3228: Save the copilot_urls to datastore during ingestionClosed09/26/2023Ram Kordale

Actions
Task #3229: Return 'showCopilot' in the response of getPurpleLinksInfoExtFull APIClosed09/26/2023Ram Kordale

Actions
Feature #3230: Extension & js snippet : Support for copilot_urlsClosed09/26/202310/03/2023Ayush Khandelwal

Actions

Also available in: Atom PDF