feat: enhance channel configuration UI and validation
- Updated ChannelInstructionsPanel to include a button for viewing documentation, improving user guidance. - Enhanced ChannelTokenField to support showing/hiding secret values with appropriate labels and icons. - Refined ChannelTypeSelector to display connection type icons and improved layout for better user experience. - Added new messages for documentation links, validation feedback, and secret management in i18n. - Extended ChannelMeta to include optional documentation URLs for better context on configuration fields. - Implemented credential validation logic in ChannelsPage to ensure user inputs are validated before saving. - Introduced ChannelLogo component to display channel icons in the UI. - Added tests for channel credential validation to ensure proper error handling and feedback.
This commit is contained in:
1
src/assets/channels/dingtalk.svg
Normal file
1
src/assets/channels/dingtalk.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1773137539538" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9954" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M511.68 0.64a511.552 511.552 0 1 0 0 1023.104 511.552 511.552 0 0 0 0-1023.104z m237.056 443.52a113.92 113.92 0 0 1-7.36 18.944h0.064l-0.384 0.704c-21.504 45.952-77.568 136.064-77.568 136.064s0-0.192-0.256-0.576l-16.384 28.544h78.912l-150.72 200.448 34.176-136.32h-62.08l21.568-90.24a880.64 880.64 0 0 0-62.528 17.856s-33.088 19.392-95.296-37.248c0 0-41.92-36.928-17.6-46.208 10.368-3.904 50.176-8.896 81.6-13.12 42.368-5.76 68.48-8.768 68.48-8.768s-130.752 1.92-161.728-2.944c-31.04-4.864-70.4-56.64-78.72-102.08 0 0-12.992-24.96 27.84-13.184 40.832 11.84 209.856 46.08 209.856 46.08s-219.776-67.392-234.432-83.84c-14.592-16.448-43.008-89.728-39.36-134.784 0 0 1.6-11.2 13.12-8.192 0 0 162.496 74.24 273.6 114.88 111.104 40.64 207.68 61.312 195.2 113.92z" fill="#2c2c2c" p-id="9955"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user