Add bulk term generation functionality and enhance logging
- Introduced a new JavaScript file for handling bulk term generation in the admin interface. - Implemented AJAX requests for generating terms and handling responses with appropriate logging. - Enhanced the Groq_AI_Ajax_Controller to support new options for term generation, including origin and force parameters. - Improved error handling and logging for term generation events. - Updated the user interface to reflect the status of term generation and provide feedback to the user.
This commit is contained in:
@@ -41,6 +41,14 @@
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.groq-ai-bulk-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
#groq-ai-bulk-status {
|
||||
margin-top: 8px;
|
||||
}
|
||||
@@ -89,3 +97,12 @@
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.groq-ai-term-actions {
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.groq-ai-regenerate-term.is-busy {
|
||||
opacity: 0.6;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user