[PR #3900] chore: integrate code-inspector-plugin #24326

Closed
opened 2026-02-21 20:22:47 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/3900

State: closed
Merged: Yes


Description

As the project grows and the demand for internationalization increases, it becomes increasingly difficult to quickly locate the code. Therefore, the code-inspector-plugin is introduced to quickly locate the code source of elements on the page.

Type of Change

Please delete options that are not relevant.

  • Add Dependency

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Follow the documentation https://inspector.fe-dev.cn/en/guide/start.html#method1-recommend
Here is the demo video

https://github.com/langgenius/dify/assets/33956589/8136245a-f701-4d5c-9857-139e06f4e111

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

More information

Here is a similar plugin that achieves the same effect.
https://github.com/zthxxx/react-dev-inspector

**Original Pull Request:** https://github.com/langgenius/dify/pull/3900 **State:** closed **Merged:** Yes --- # Description As the project grows and the demand for internationalization increases, it becomes increasingly difficult to quickly locate the code. Therefore, the[ code-inspector-plugin](https://inspector.fe-dev.cn/en/guide/start.html) is introduced to quickly locate the code source of elements on the page. ## Type of Change Please delete options that are not relevant. - [x] Add Dependency # How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration Follow the documentation https://inspector.fe-dev.cn/en/guide/start.html#method1-recommend Here is the demo video https://github.com/langgenius/dify/assets/33956589/8136245a-f701-4d5c-9857-139e06f4e111 # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods # More information Here is a similar plugin that achieves the same effect. https://github.com/zthxxx/react-dev-inspector
yindo added the pull-request label 2026-02-21 20:22:47 -05:00
yindo closed this issue 2026-02-21 20:22:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24326