Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the Contribution Tool URL to be configurable #1126

Open
alessandrozago opened this issue Jan 7, 2025 · 1 comment
Open

Allow the Contribution Tool URL to be configurable #1126

alessandrozago opened this issue Jan 7, 2025 · 1 comment

Comments

@alessandrozago
Copy link
Contributor

The URL for the contribution tool in the reporter module is written directly in the code. It would be nice to have it configurable in case a custom contribution tool is installed.
This is from src/reporter/index.js:8
const CONTRIBUTION_TOOL_URL = 'https://contribute.opentermsarchive.org/en/service';

This URL is used to create the link for "Edit the declaration" when opening an issue on the declarations repository.

Available for clarifications.

@Ndpnt
Copy link
Member

Ndpnt commented Jan 8, 2025

Great suggestion! Making this configurable would indeed be a nice improvement. We could add a configuration option under the key @opentermsarchive/engine.reporter.contributionToolURL. Could you provide a pull request for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants