topic_summary: Add button to generate narrow summary.

This remains only enabled in the development environment.
This commit is contained in:
Aman Agrawal
2025-01-23 21:20:31 +05:30
committed by Tim Abbott
parent 685e49d34d
commit 548afc2f1a
7 changed files with 79 additions and 1 deletions

View File

@@ -317,7 +317,7 @@ function handle_operators_supporting_id_based_api(narrow_parameter: string): str
return JSON.stringify(narrow_terms);
}
function get_narrow_for_message_fetch(filter: Filter): string {
export function get_narrow_for_message_fetch(filter: Filter): string {
let narrow_data = filter.public_terms();
if (page_params.narrow !== undefined) {
narrow_data = [...narrow_data, ...page_params.narrow];