Skip to content

Commit 5f087d8

Browse files
authored
fix(web): refine prompt anchor and sidebar branding (#201)
Replace the prompt timeline with a compact line index that expands to prompt-only navigation while keeping clear of the composer. Use theme-specific Pythinker banners in the shared desktop sidebar and rebuild the committed web bundle. Task: tasks/todo.md#prompt-anchor-redesign <!-- Thank you for your contribution to Pythinker Code! External PRs are accepted for approved bug fixes only: link an issue that a maintainer has approved (an `/approve` comment). External feature PRs are not accepted. See https://github.com/PyModel/pythinker-code/blob/main/CONTRIBUTING.md for more. --> ## Related Issue <!-- Link the issue this change came from. External PRs must link an issue approved by a maintainer (an `/approve` comment) — PRs without one may be closed. --> Resolve #(issue_number) ## Problem <!-- What user need or limitation does this address? If the linked issue already covers this, write "See linked issue". --> ## What changed <!-- What did you implement, and why does this approach fit Pythinker Code? --> ## Checklist - [ ] I have read the [CONTRIBUTING](https://github.com/PyModel/pythinker-code/blob/main/CONTRIBUTING.md) document. - [ ] I have linked a related issue (external PRs: the issue must have a maintainer's `/approve`). - [ ] I have added tests that prove my feature works. - [ ] Ran `gen-changesets` skill, or this PR needs no changeset. - [ ] Ran `gen-docs` skill, or this PR needs no doc update. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a compact prompt index beside conversations, with hover/focus expansion and improved responsive behavior. - Added light and dark theme-matched Pythinker sidebar banners with updated branding. - Expanded diagram support, including quadrant, railroad, requirement, Sankey, state, timeline, Venn, Wardley, XY chart, and other visualizations. - Added editor support for Razor, TypeScript, XML, YAML, and enhanced JavaScript/TypeScript language services. - **Bug Fixes** - Improved resilience when browser theme-detection APIs are unavailable. - Refreshed bundled assets for more reliable web application loading. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent b9268d4 commit 5f087d8

111 files changed

Lines changed: 786 additions & 353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": patch
3+
---
4+
5+
Make the chat prompt anchor a compact line index that expands to prompt labels.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": patch
3+
---
4+
5+
Use theme-matched Pythinker banners in the sidebar.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "b515297a2d3ed0f85c3a7e6c4960370e6e4c6eae60e6e92d1244a0d109b5320f",
3-
"sourceFileCount": 402
2+
"sourceHash": "7c44db902d1a4f2eaea0c303444679df09333a4eca33d9beccef0f67adf21a31",
3+
"sourceFileCount": 404
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-C7jR0J2m.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-CYtk5BQA.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-C3c2Sx-Q.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/pythinker-code/dist-web/assets/DesignSystemView-I872M2Sr.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-P3HoRLfC.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/pythinker-code/dist-web/assets/DesignSystemView-fNr4617i.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/Tooltip-CLyA1YAm.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-Bd1T-QAF.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-DAOVWhtD.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-HUY2MQ9-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)