Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
9b9bead
creating workflows
paullizer Sep 23, 2025
92db48f
fraud analyssis
paullizer Sep 23, 2025
864a80e
support agents
paullizer Sep 23, 2025
4e98d2a
update
paullizer Sep 23, 2025
64080a5
fix
paullizer Sep 23, 2025
20dc12d
updated demo
paullizer Sep 23, 2025
8df0343
Swagger lite (#469)
paullizer Sep 29, 2025
d24ff83
adding support for xlsm, Macro Excel files.
paullizer Sep 29, 2025
446b71f
Merge branch 'workflows' into Development
paullizer Sep 29, 2025
e97d470
moved into features
paullizer Sep 29, 2025
adbed01
initial
paullizer Sep 30, 2025
3292be1
added readme
paullizer Sep 30, 2025
75ca487
removed html code
paullizer Sep 30, 2025
24528ac
Update config.py (#477)
Patrick-Davis-MSFT Oct 1, 2025
e37bf50
Initial Setup for Pages documentation (#479)
paullizer Oct 2, 2025
46b9163
initial
paullizer Oct 2, 2025
58b58b0
added to base
paullizer Oct 2, 2025
5cd2f28
adding real data endpoints
paullizer Oct 2, 2025
2e0942f
Update route_backend_control_center.py
paullizer Oct 2, 2025
6ec77ee
added individual charts
paullizer Oct 3, 2025
1eda535
fix for bug 485
nadoylemsft Oct 3, 2025
e42ce5c
added document metrics
paullizer Oct 4, 2025
b225502
added links to control center
paullizer Oct 4, 2025
7841e42
debug
paullizer Oct 5, 2025
f39da82
added date
paullizer Oct 6, 2025
a8221b9
fixed bugs due to branch descrepancies
cjackson202 Oct 6, 2025
3e3c8c8
added Azure SQL Driver Docker File
cjackson202 Oct 7, 2025
c93ea7b
added documentation for docker_fileSession updates
cjackson202 Oct 7, 2025
8c5c2ba
Redis Managed Identity Azure Government Support Changes
cjackson202 Oct 7, 2025
39b4528
Stop tracking ignored folders
cjackson202 Oct 8, 2025
ba1ca48
updated gitignore
cjackson202 Oct 8, 2025
95a7647
Merge branch 'cj-dev' into Development - Ensured ManagedIdentity supp…
cjackson202 Oct 8, 2025
711e0de
Merge pull request #488 from cjackson202/Development
Bionic711 Oct 10, 2025
6a3c322
Merge branch 'Development' into bugfix485
nadoylemsft Oct 10, 2025
71eff52
Merge pull request #487 from microsoft/bugfix485
Bionic711 Oct 10, 2025
33f5d8c
added sort by to table for user management
paullizer Oct 16, 2025
9e124ff
storage account size processing
paullizer Oct 16, 2025
fe75d09
Front end now shows storage account sizing
paullizer Oct 16, 2025
556f6d8
export user management list to csv
paullizer Oct 16, 2025
6e6c976
adding group management
paullizer Oct 16, 2025
f5fa596
fixing swagger generation
paullizer Oct 23, 2025
b412a60
fix
paullizer Oct 23, 2025
17e6fed
Added inline dynamic property generation
paullizer Oct 23, 2025
9ca0bf2
added YAML support
paullizer Oct 23, 2025
34b2b71
Improved muiltform vs app/json detection
paullizer Oct 23, 2025
5090eec
added Control Center Admin role
paullizer Oct 23, 2025
52ac365
ai search sizing is working for groups
paullizer Oct 24, 2025
0a0978e
group refresh fixed
paullizer Oct 24, 2025
c72dfe1
added group data fix
paullizer Oct 24, 2025
503a3e0
group table refresh
paullizer Oct 24, 2025
0f5c73f
updated export to include group docs
paullizer Oct 25, 2025
b4007c8
adding public workspace management
paullizer Oct 25, 2025
9eca474
removed sample data and consolidated row generators
paullizer Oct 25, 2025
8469bc7
Changed both caching helper functions to use the existing update_docu…
paullizer Oct 29, 2025
b520432
removed workflow, will work on that in different branch
paullizer Oct 31, 2025
044c7d9
Document Set Fingerprinting, Scope-Aware Cache Key Generation, Event-…
paullizer Nov 10, 2025
7ac37b4
added debug logging
paullizer Nov 10, 2025
3d84394
setup cache feature and ttl time to admin app settings
paullizer Nov 10, 2025
bf1f14a
removed cosmos level ttl
paullizer Nov 10, 2025
baa71a9
Keyvault for secrets (#492)
Bionic711 Nov 11, 2025
db74c0d
Feature/remove abp for pr (#510)
Bionic711 Nov 12, 2025
0fd0eae
Merge branch 'improved-search' into Development
paullizer Nov 12, 2025
2035b90
Feature/group agents actions (#521)
Bionic711 Nov 19, 2025
fab926b
Merge branch 'Data-and-Workspace-Management' into Development
paullizer Nov 19, 2025
ab0a4ef
Add cosmos activity logs container configuration
paullizer Nov 20, 2025
d50064a
incorporate branch updates Add 372 fix 489
paullizer Nov 21, 2025
41e924d
Support deployment via AZD UP (#530)
SteveCInVA Nov 23, 2025
e545917
Video Indexer, Multi-Modal Enhancements, Scope Bug
paullizer Nov 24, 2025
164459f
Conversation Management Features (#532)
paullizer Nov 24, 2025
3bf067a
Message management (#553)
paullizer Dec 19, 2025
c91d555
Configure Application from AZD Up command (#548)
SteveCInVA Dec 19, 2025
f7afced
Adds Azure Billing Plugin in Community Customizations (#546)
Bionic711 Dec 19, 2025
ef2a2a7
Security/container build (#549)
Bionic711 Dec 19, 2025
04b5c12
Feature/speech managed identity (#543)
Xeelee33 Dec 19, 2025
6a85856
Banner text color picker from Vivien (#555)
clarked-msft Dec 23, 2025
0e67ac8
Remove opencensus
clarked-msft Jan 5, 2026
460b14b
Merge pull request #559 from clarked-msft/remove-opencensus-requirement
Bionic711 Jan 6, 2026
1555dbf
Add flask instrumentation
clarked-msft Jan 6, 2026
40f5cfd
Add troubleshooting doc
clarked-msft Jan 6, 2026
74df9f8
Add troubleshooting doc
clarked-msft Jan 6, 2026
164dd80
Merge pull request #562 from clarked-msft/flask-intrumentor
Bionic711 Jan 6, 2026
3913480
Control center (#567)
paullizer Jan 13, 2026
a2bb469
Adding release notes
paullizer Jan 13, 2026
43989ac
Merge origin/main into Development - Resolved all conflicts
paullizer Jan 13, 2026
29dfbe0
fixed debug_debug_print
paullizer Jan 13, 2026
df2d77e
Updated README
paullizer Jan 13, 2026
2c7b627
Update README.md
paullizer Jan 13, 2026
9a8ce3b
Merge branch 'main' into Development
paullizer Jan 13, 2026
de013e4
accepted changes
paullizer Jan 13, 2026
49959e8
removed files
paullizer Jan 13, 2026
db0729e
GitHub Actions workflow that runs Python compilation checks on all Py…
paullizer Jan 13, 2026
1c3c133
Upated to v0.235.002
paullizer Jan 13, 2026
b20a5c7
removed debug test file
paullizer Jan 13, 2026
f70934c
Updated to v0.235.003
paullizer Jan 13, 2026
80ec215
Merge branch 'main' into Development
paullizer Jan 13, 2026
09fe817
Update python-syntax-check.yml
paullizer Jan 13, 2026
ce140f5
fixed disable group creation bug
paullizer Jan 15, 2026
4aac607
fixed bug not showing raw activity log for groups
paullizer Jan 15, 2026
9b9644e
fixed control center access to not require admin role when enabling c…
paullizer Jan 15, 2026
31ced93
fix documentation
paullizer Jan 15, 2026
e6f33c0
Update release_notes.md
paullizer Jan 15, 2026
919ed52
Update README.md
paullizer Jan 15, 2026
8878f1d
Merge branch 'main' into control-center-bug-fixes
paullizer Jan 15, 2026
646aaba
added click restrictions to top items in control center
paullizer Jan 15, 2026
2c2d92a
Merge pull request #598 from microsoft/control-center-bug-fixes
Bionic711 Jan 15, 2026
8af21bc
bug fix - fixed group member select after search, group member remova…
Xeelee33 Jan 16, 2026
3b0aa7f
Retention execution activity log (#600)
paullizer Jan 17, 2026
db25652
Merge branch 'Staging' into Development
paullizer Jan 17, 2026
305275d
Updated branch flow
paullizer Jan 17, 2026
7c04b7e
Merge pull request #608 from Xeelee33/bugfix/manage_group_errors
Bionic711 Jan 18, 2026
2ebfff6
added log_event to exceptions
paullizer Jan 20, 2026
5c58096
enforce-branch-flow
paullizer Jan 20, 2026
49c3a69
Merge branch 'Staging' into Development
paullizer Jan 20, 2026
875c338
v0.235.025 (#609)
paullizer Jan 20, 2026
d05f354
Updated searchUsers() function with inline and toast messages instead…
Xeelee33 Jan 21, 2026
3378bb9
Bugfix - removed hardcoded references to commerical cognitive service…
Xeelee33 Jan 21, 2026
db5a3f8
Support of Private Networking via Bicep / AZD (#617)
SteveCInVA Jan 21, 2026
467d7b9
Configure a user agreement that users must accept before uploading fi…
paullizer Jan 21, 2026
7525792
Merge branch 'Staging' into Development
paullizer Jan 21, 2026
74cccf4
Add default retention policy (#623)
paullizer Jan 22, 2026
ebe25ce
Web Search and other Misc items (#624)
Bionic711 Jan 22, 2026
6dbb107
Updated release notes
paullizer Jan 22, 2026
d0872e6
Create release-notes-check.yml
paullizer Jan 22, 2026
4e0a54b
added debug_print logging to web search
paullizer Jan 22, 2026
c44ca65
Updated the admin UI for web search
paullizer Jan 23, 2026
56212be
Added configuration setup to web search admin ui
paullizer Jan 23, 2026
98ac837
Added chat ui user message for web search
paullizer Jan 23, 2026
d7d9bc1
Updated release notes
paullizer Jan 23, 2026
d754af6
removed agent template gallery from release notes as its not in this …
paullizer Jan 23, 2026
efea5aa
removed broad ai foundry agent support release notes, as its not in t…
paullizer Jan 23, 2026
5cd3e1d
bugfix - fixed content safety client creation so that it creates prop…
Xeelee33 Jan 23, 2026
a639f0e
Merge pull request #632 from microsoft/v0.236.011-release-notes
Bionic711 Jan 23, 2026
258cd16
Merge pull request #636 from microsoft/Development
Bionic711 Jan 23, 2026
e20f549
pipeline trigger fix (#637)
Bionic711 Jan 23, 2026
24bca76
Merge pull request #638 from microsoft/Development
Bionic711 Jan 23, 2026
315f8fd
added events for buttons
paullizer Jan 24, 2026
1bb6863
updated the logging logic when running retention delete with archivin…
paullizer Jan 26, 2026
abe76ef
Development (#646)
paullizer Jan 26, 2026
b36325c
Development to Staging - v0.237.001 (#650)
paullizer Jan 26, 2026
42a7673
Merge branch 'main' into Staging
paullizer Jan 26, 2026
8f4ef13
Development to Staging - v0.237.003 (#655)
paullizer Jan 26, 2026
c4e04c1
Merge branch 'main' into Staging
paullizer Jan 26, 2026
9446de9
Development (#658)
paullizer Jan 26, 2026
468c7e5
Merge branch 'main' into Staging
paullizer Jan 26, 2026
6ed8e19
v0.237.005 (#673)
paullizer Jan 30, 2026
c95093d
Merge branch 'main' into Staging
paullizer Jan 30, 2026
53447c9
Development (#677)
paullizer Jan 30, 2026
12910ab
Merge branch 'main' into Staging
paullizer Jan 30, 2026
77b3385
v0.237.007 (#680)
paullizer Jan 30, 2026
4f296b5
Merge branch 'main' into Staging
paullizer Jan 30, 2026
3e208c7
v0.237.009 (#699)
paullizer Feb 9, 2026
6862f6e
Merge branch 'main' into Staging
paullizer Feb 9, 2026
19b37bd
Development (#710)
paullizer Feb 11, 2026
98e86b6
Merge branch 'main' into Staging
paullizer Feb 11, 2026
7a3d467
v0.238.024 - Development into Staging (#733)
paullizer Mar 2, 2026
6c3e292
Development (#754)
paullizer Mar 3, 2026
0b80ded
Development (#756)
paullizer Mar 3, 2026
6850326
Merge branch 'main' into Staging
paullizer Mar 3, 2026
54c54cb
Development (#761)
paullizer Mar 3, 2026
e38f704
Merge branch 'main' into Staging
paullizer Mar 3, 2026
54b48f6
Development (#827)
paullizer Apr 8, 2026
776211a
Development (#831)
paullizer Apr 8, 2026
b07e3a5
Merge branch 'main' into Staging
paullizer Apr 8, 2026
6520f0b
Development (#838)
paullizer Apr 8, 2026
1062cbd
Merge branch 'main' into Staging
paullizer Apr 8, 2026
0727a97
v0.241.002 - Development (#841)
paullizer Apr 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion application/single_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
EXECUTOR_TYPE = 'thread'
EXECUTOR_MAX_WORKERS = 30
SESSION_TYPE = 'filesystem'
VERSION = "0.241.001"
VERSION = "0.241.002"

SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')

Expand Down
134 changes: 84 additions & 50 deletions application/single_app/route_backend_chats.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,33 @@ def _load_user_message_response_context(
return response_context


def _initialize_assistant_response_tracking(
conversation_id,
user_message_id,
current_user_thread_id,
previous_thread_id,
retry_thread_attempt,
is_retry,
user_id,
):
"""Create assistant response tracking state for both new and retry/edit flows."""
assistant_message_id = f"{conversation_id}_assistant_{int(time.time())}_{random.randint(1000,9999)}"
thought_tracker = ThoughtTracker(
conversation_id=conversation_id,
message_id=assistant_message_id,
thread_id=current_user_thread_id,
user_id=user_id,
)
assistant_thread_attempt = retry_thread_attempt if is_retry and retry_thread_attempt is not None else 1
response_message_context = _load_user_message_response_context(
conversation_id=conversation_id,
user_message_id=user_message_id,
fallback_thread_id=current_user_thread_id,
fallback_previous_thread_id=previous_thread_id,
)
return assistant_message_id, thought_tracker, assistant_thread_attempt, response_message_context


def _build_safety_message_doc(
conversation_id,
message_id,
Expand Down Expand Up @@ -5383,6 +5410,29 @@ def resolve_foundry_scope_for_auth(auth_settings, endpoint=None):
return 'https://ai.azure.com/.default'


def get_foundry_api_version_candidates(primary_version, settings):
"""Return distinct Foundry API versions to try for inference compatibility."""
settings = settings or {}
candidates = [
str(primary_version or '').strip(),
str(settings.get('azure_openai_gpt_api_version') or '').strip(),
'2024-10-01-preview',
'2024-07-01-preview',
'2024-05-01-preview',
'2024-02-01',
]

unique_candidates = []
seen_candidates = set()
for candidate in candidates:
if not candidate or candidate in seen_candidates:
continue
seen_candidates.add(candidate)
unique_candidates.append(candidate)

return unique_candidates


def build_streaming_multi_endpoint_client(auth_settings, provider, endpoint, api_version):
"""Create an inference client for a resolved streaming model endpoint."""
auth_settings = auth_settings or {}
Expand Down Expand Up @@ -5990,21 +6040,16 @@ def result_requires_message_reload(result: Any) -> bool:
)
try:
multi_endpoint_config = None
if should_use_default_model:
try:
multi_endpoint_config = resolve_default_model_gpt_config(settings)
if multi_endpoint_config:
debug_print("[GPTClient] Using default multi-endpoint model for agent request.")
except Exception as default_exc:
log_event(
f"[GPTClient] Default model selection unavailable: {default_exc}",
level=logging.WARNING,
exceptionTraceback=True
)
if multi_endpoint_config is None and request_agent_info:
debug_print("[GPTClient] Skipping multi-endpoint resolution because agent_info is provided.")
elif multi_endpoint_config is None:
multi_endpoint_config = resolve_multi_endpoint_gpt_config(settings, data, enable_gpt_apim)
if settings.get('enable_multi_model_endpoints', False):
multi_endpoint_config = resolve_streaming_multi_endpoint_gpt_config(
settings,
data,
user_id,
active_group_ids=active_group_ids,
allow_default_selection=should_use_default_model,
)
if multi_endpoint_config and should_use_default_model and not data.get('model_endpoint_id'):
debug_print("[GPTClient] Using default multi-endpoint model for agent request.")
if multi_endpoint_config:
gpt_client, gpt_model, gpt_provider, gpt_endpoint, gpt_auth, gpt_api_version = multi_endpoint_config
elif enable_gpt_apim:
Expand Down Expand Up @@ -6487,26 +6532,18 @@ def result_requires_message_reload(result: Any) -> bool:
conversation_item['last_updated'] = datetime.utcnow().isoformat()
cosmos_conversations_container.upsert_item(conversation_item) # Update timestamp and potentially title

# Generate assistant_message_id early for thought tracking
assistant_message_id = f"{conversation_id}_assistant_{int(time.time())}_{random.randint(1000,9999)}"

# Initialize thought tracker
thought_tracker = ThoughtTracker(
conversation_id=conversation_id,
message_id=assistant_message_id,
thread_id=current_user_thread_id,
user_id=user_id
)
assistant_thread_attempt = retry_thread_attempt if is_retry else 1
response_message_context = _load_user_message_response_context(
conversation_id=conversation_id,
user_message_id=user_message_id,
fallback_thread_id=current_user_thread_id,
fallback_previous_thread_id=previous_thread_id,
)
user_info_for_assistant = response_message_context.get('user_info')
user_thread_id = response_message_context.get('thread_id')
user_previous_thread_id = response_message_context.get('previous_thread_id')
assistant_message_id, thought_tracker, assistant_thread_attempt, response_message_context = _initialize_assistant_response_tracking(
conversation_id=conversation_id,
user_message_id=user_message_id,
current_user_thread_id=current_user_thread_id,
previous_thread_id=previous_thread_id,
retry_thread_attempt=retry_thread_attempt,
is_retry=is_retry,
user_id=user_id,
)
user_info_for_assistant = response_message_context.get('user_info')
user_thread_id = response_message_context.get('thread_id')
user_previous_thread_id = response_message_context.get('previous_thread_id')

# region 3 - Content Safety
# ---------------------------------------------------------------------
Expand Down Expand Up @@ -8417,7 +8454,12 @@ def invoke_gpt_fallback():
continue
try:
debug_print(f"[SKChat] Foundry retry api_version={candidate}")
retry_client = build_multi_endpoint_client(gpt_auth or {}, gpt_provider, gpt_endpoint, candidate)
retry_client = build_streaming_multi_endpoint_client(
gpt_auth or {},
gpt_provider,
gpt_endpoint,
candidate,
)
response = retry_client.chat.completions.create(**api_params)
break
except Exception as retry_exc:
Expand Down Expand Up @@ -9405,22 +9447,14 @@ def generate(publish_background_event=None):
conversation_item['last_updated'] = datetime.utcnow().isoformat()
cosmos_conversations_container.upsert_item(conversation_item)

# Generate assistant_message_id early for thought tracking
assistant_message_id = f"{conversation_id}_assistant_{int(time.time())}_{random.randint(1000,9999)}"

# Initialize thought tracker for streaming path
thought_tracker = ThoughtTracker(
conversation_id=conversation_id,
message_id=assistant_message_id,
thread_id=current_user_thread_id,
user_id=user_id
)
assistant_thread_attempt = retry_thread_attempt if is_retry else 1
response_message_context = _load_user_message_response_context(
assistant_message_id, thought_tracker, assistant_thread_attempt, response_message_context = _initialize_assistant_response_tracking(
conversation_id=conversation_id,
user_message_id=user_message_id,
fallback_thread_id=current_user_thread_id,
fallback_previous_thread_id=previous_thread_id,
current_user_thread_id=current_user_thread_id,
previous_thread_id=previous_thread_id,
retry_thread_attempt=retry_thread_attempt,
is_retry=is_retry,
user_id=user_id,
)
user_info_for_assistant = response_message_context.get('user_info')
user_thread_id = response_message_context.get('thread_id')
Expand Down
3 changes: 2 additions & 1 deletion application/single_app/route_backend_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,8 @@ def send_support_feedback_email():

user_email = user.get('preferred_username', user.get('email', reporter_email))
feedback_label = 'Bug Report' if feedback_type == 'bug_report' else 'Feature Request'
subject_line = f'[SimpleChat User Support] {feedback_label} - {organization}'
application_title = str(settings.get('app_title') or '').strip() or 'Simple Chat'
subject_line = f'[{application_title} User Support] {feedback_label} - {organization}'

log_user_support_feedback_email_submission(
user_id=user_id,
Expand Down
38 changes: 35 additions & 3 deletions application/single_app/support_menu_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@
_SUPPORT_LATEST_FEATURE_DOCS_SETTING_KEY = 'enable_support_latest_feature_documentation_links'


def _resolve_support_application_title(settings):
"""Return the application title used for user-facing support copy."""
app_title = str((settings or {}).get('app_title') or '').strip()
return app_title or 'Simple Chat'


def _apply_support_application_title(value, app_title):
"""Replace hard-coded product naming in user-facing support metadata."""
if isinstance(value, str):
return value.replace('{app_title}', app_title).replace('SimpleChat', app_title)

if isinstance(value, list):
return [_apply_support_application_title(item, app_title) for item in value]

if isinstance(value, dict):
return {
key: _apply_support_application_title(item, app_title)
for key, item in value.items()
}

return value


_SUPPORT_LATEST_FEATURE_CATALOG = [
{
'id': 'guided_tutorials',
Expand Down Expand Up @@ -145,7 +168,7 @@
'title': 'Tabular Analysis',
'icon': 'bi-table',
'summary': 'Spreadsheet and table workflows continue to improve for exploration, filtering, and grounded follow-up questions.',
'details': 'Tabular Analysis improves how SimpleChat works with CSV and spreadsheet files for filtering, comparisons, and grounded follow-up questions.',
'details': 'Tabular Analysis improves how {app_title} works with CSV and spreadsheet files for filtering, comparisons, and grounded follow-up questions.',
'why': 'You get the most value after the file is uploaded, because the assistant can reason over the stored rows and columns instead of only whatever is pasted into one message.',
'guidance': [
'Upload your CSV or XLSX to Personal Workspace if it is enabled, or add the file directly to Chat when you want a quicker one-off analysis.',
Expand Down Expand Up @@ -501,7 +524,7 @@
'id': 'send_feedback',
'title': 'Send Feedback',
'icon': 'bi-envelope-paper',
'summary': 'End users can prepare bug reports and feature requests for their SimpleChat admins directly from the Support menu.',
'summary': 'End users can prepare bug reports and feature requests for their {app_title} admins directly from the Support menu.',
'details': 'Send Feedback opens a guided, text-only email draft workflow so you can report issues or request improvements without leaving the app.',
'why': 'That gives your admins a cleaner starting point for triage than a vague message without context or reproduction details.',
'guidance': [
Expand Down Expand Up @@ -577,7 +600,7 @@
'icon': 'bi-download',
'summary': 'Export one or multiple conversations from Chat in JSON or Markdown without carrying internal-only metadata into the downloaded package.',
'details': 'Conversation Export adds a guided workflow for choosing format, packaging, and download options when you need to reuse or archive chat history outside the app.',
'why': 'This matters because users often need to share, archive, or reuse a conversation without copying raw chat text by hand or exposing internal metadata that should stay inside SimpleChat.',
'why': 'This matters because users often need to share, archive, or reuse a conversation without copying raw chat text by hand or exposing internal metadata that should stay inside {app_title}.',
'guidance': [
'Open an existing conversation from Chat when you want to export content that already has enough context to share.',
'Choose JSON when you want a machine-readable export and Markdown when you want something easier for people to review directly.',
Expand Down Expand Up @@ -975,6 +998,7 @@ def get_visible_support_latest_features(settings):
normalized_visibility = normalize_support_latest_features_visibility(
(settings or {}).get('support_latest_features_visibility', {})
)
app_title = _resolve_support_application_title(settings)
visible_items = []

for item in _SUPPORT_LATEST_FEATURE_CATALOG:
Expand All @@ -984,6 +1008,7 @@ def get_visible_support_latest_features(settings):
action for action in visible_item.get('actions', [])
if _action_enabled(action, settings)
]
visible_item = _apply_support_application_title(visible_item, app_title)
_normalize_feature_media(visible_item)
visible_items.append(visible_item)

Expand All @@ -995,6 +1020,7 @@ def get_visible_support_latest_feature_groups(settings):
normalized_visibility = normalize_support_latest_features_visibility(
(settings or {}).get('support_latest_features_visibility', {})
)
app_title = _resolve_support_application_title(settings)
visible_groups = []

for feature_group in _SUPPORT_LATEST_FEATURE_RELEASE_GROUPS:
Expand All @@ -1008,12 +1034,14 @@ def get_visible_support_latest_feature_groups(settings):
action for action in visible_feature.get('actions', [])
if _action_enabled(action, settings)
]
visible_feature = _apply_support_application_title(visible_feature, app_title)
_normalize_feature_media(visible_feature)
visible_features.append(visible_feature)

if visible_features:
visible_group = deepcopy(feature_group)
visible_group['features'] = visible_features
visible_group = _apply_support_application_title(visible_group, app_title)
visible_groups.append(visible_group)

return visible_groups
Expand All @@ -1022,15 +1050,19 @@ def get_visible_support_latest_feature_groups(settings):
def get_support_latest_feature_release_groups_for_settings(settings):
"""Return grouped latest-feature metadata with actions filtered for the current settings."""
filtered_groups = deepcopy(_SUPPORT_LATEST_FEATURE_RELEASE_GROUPS)
app_title = _resolve_support_application_title(settings)

for feature_group in filtered_groups:
for feature in feature_group.get('features', []):
feature['actions'] = [
action for action in feature.get('actions', [])
if _action_enabled(action, settings)
]
feature.update(_apply_support_application_title(feature, app_title))
_normalize_feature_media(feature)

feature_group.update(_apply_support_application_title(feature_group, app_title))

return filtered_groups


Expand Down
Loading
Loading