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

Improve help text and error handling text for API form. #161

Merged
merged 8 commits into from
Nov 27, 2023

Conversation

kepol
Copy link
Contributor

@kepol kepol commented Jun 14, 2023

Manually fixed merge conflicts in:
	modules/quant_api/src/Form/SettingsForm.php
@kepol kepol added documentation Improvements or additions to documentation Drupal 8 / 9 / 10 UX labels Jun 14, 2023
}
}

$form['api_endpoint'] = [
'#type' => 'textfield',
'#title' => $this->t('API Endpoint'),
'#description' => $this->t('e.g: https://api.quantcdn.io'),
'#description' => $this->t('The fully-qualified domain name for the API endpoint, e.g. <code>https://api.quantcdn.io</code>'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should update this one so that the API endpoint is hardcoded and requires drush access to change 9/10 use cases will never need to change this value.

@kepol kepol changed the title Improve help text and error handling text for API form. (WIP) Improve help text and error handling text for API form. Jun 27, 2023
@kepol kepol marked this pull request as draft September 28, 2023 23:25
@kepol kepol changed the title (WIP) Improve help text and error handling text for API form. DRAFT Improve help text and error handling text for API form. Nov 2, 2023
@kepol kepol self-assigned this Nov 2, 2023
@kepol
Copy link
Contributor Author

kepol commented Nov 3, 2023

Updated based on Steve's feedback and added more info.

@kepol kepol changed the title DRAFT Improve help text and error handling text for API form. Improve help text and error handling text for API form. Nov 3, 2023
@kepol kepol marked this pull request as ready for review November 3, 2023 22:11
@kepol kepol removed their assignment Nov 3, 2023
@steveworley steveworley merged commit 2089e30 into 8.x-1.x Nov 27, 2023
2 checks passed
@steveworley steveworley deleted the feature/api-help-text-d8 branch November 27, 2023 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Drupal 8 / 9 / 10 UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants