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

index queue backend ui #97

Merged
merged 3 commits into from
Dec 10, 2024
Merged

index queue backend ui #97

merged 3 commits into from
Dec 10, 2024

Conversation

benwalch
Copy link
Member

@benwalch benwalch commented Dec 9, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no

This PR enhances the existing backend UI with information and actions for the index queue.
In addition, a reload button is integrated to refresh the whole user interface.
with this PR, existing actions which were done by cli until now are available in the backend user interface.

image

@benwalch benwalch requested a review from solverat December 9, 2024 21:43
dynamic_search.settings: 'Dynamic Search'
Copy link
Member

Choose a reason for hiding this comment

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

Also create the german version please (admin.de.ym)

{
$qb = $this->connection->createQueryBuilder();
$qb->select('COUNT(id)')->from($this->tableName);
return (int)$qb->executeQuery()->fetchOne();
Copy link
Member

Choose a reason for hiding this comment

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

missing new line before return

public function clearIndexQueueAction(QueueManagerInterface $queueManager): Response
{
$queueManager->clearQueue();
return new Response();
Copy link
Member

Choose a reason for hiding this comment

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

missing new line before return

@@ -16,6 +16,26 @@ dynamic_search.controller.admin.get_context_full_configuration:
options:
expose: true

dynamic_search.controller.admin.index_queue.get_info:
path: /admin/dynamic-search/settings/index-queue/info
defaults: { _controller: DynamicSearchBundle\Controller\Admin\SettingsController::indexQueueInfoAction }
Copy link
Member

Choose a reason for hiding this comment

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

set methods

@benwalch benwalch merged commit affa583 into master Dec 10, 2024
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2024
@benwalch benwalch deleted the feature/backend-ui-index-queue branch December 10, 2024 09:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants