Skip to content

Commit c89cbd3

Browse files
committed
feat(FR-1421): enhance WEBUI help button with additional page mappings (#4212)
Resolves #4211 ([FR-1421](https://lablup.atlassian.net/browse/FR-1421)) # Add help button links for new pages This PR adds help button links for several pages: - `session` page now links to sessions_all documentation - `chat` page now links to chat documentation - `agent-summary` page now links to agent_summary documentation - `resource-policy` page now links to the resource policy section in admin menu documentation Additionally, removed the `service` page link as it's no longer needed. **Checklist:** - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after [FR-1421]: https://lablup.atlassian.net/browse/FR-1421?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 0e491a3 commit c89cbd3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

react/src/components/WEBUIHelpButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ const WEBUIHelpButton: React.FC<WEBUIHelpButtonProps> = ({ ...props }) => {
1414
'': 'summary/summary.html',
1515
summary: 'summary/summary.html',
1616
job: 'sessions_all/sessions_all.html',
17+
session: 'sessions_all/sessions_all.html',
18+
chat: 'chat/chat.html',
1719
serving: 'model_serving/model_serving.html',
18-
service: 'model_serving/model_serving.html',
1920
import: 'import_run/import_run.html',
2021
data: 'vfolder/vfolder.html',
22+
'agent-summary': 'agent_summary/agent_summary.html',
2123
statistics: 'statistics/statistics.html',
2224
credential: 'admin_menu/admin_menu.html',
2325
environment: 'admin_menu/admin_menu.html#manage-images',
26+
'resource-policy': 'admin_menu/admin_menu.html#manage-resource-policy',
2427
agent: 'admin_menu/admin_menu.html#query-agent-nodes',
2528
settings: 'admin_menu/admin_menu.html#system-settings',
2629
maintenance: 'admin_menu/admin_menu.html#server-management',

0 commit comments

Comments
 (0)