File tree Expand file tree Collapse file tree
Infrastructure/BotSharp.Abstraction/Plugins/Models
Plugins/BotSharp.Plugin.Membase Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,4 +76,9 @@ public class EmbeddingData
7676 /// </summary>
7777 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
7878 public string ? AppendTokenName { get ; set ; }
79+
80+ /// <summary>
81+ /// Whether to enable full screen or not
82+ /// </summary>
83+ public bool FullScreen { get ; set ; }
7984}
Original file line number Diff line number Diff line change 1- using BotSharp . Abstraction . Graph ;
21using BotSharp . Abstraction . Plugins . Models ;
32using BotSharp . Abstraction . Rules ;
43using BotSharp . Plugin . Membase . GraphDb ;
54using BotSharp . Plugin . Membase . Handlers ;
6- using BotSharp . Plugin . Membase . Interfaces ;
75using Refit ;
86
97namespace BotSharp . Plugin . Membase ;
@@ -13,7 +11,7 @@ public class MembasePlugin : IBotSharpPlugin
1311 public string Id => "8df12767-9a44-45d9-93cd-12a10adf3933" ;
1412 public string Name => "Membase" ;
1513 public string Description => "Document Database with Graph Traversal & Vector Search." ;
16- public string IconUrl => "https://membase.dev/favicon.png" ;
14+ public string IconUrl => "https://www. membase.dev/favicon.png" ;
1715
1816 private string _membaseCredential = string . Empty ;
1917 private string _membaseProjectId = string . Empty ;
@@ -56,7 +54,9 @@ public bool AttachMenu(List<PluginMenuDef> menu)
5654 {
5755 Source = "membase" ,
5856 HtmlTag = "iframe" ,
59- Url = $ "https://console.membase.dev/query-editor/{ _membaseProjectId } ?token={ _membaseCredential } "
57+ Url = $ "https://console.membase.dev/query-editor/{ _membaseProjectId } ?token={ _membaseCredential } ",
58+ HtmlStyle = "width: 100%; height: 90%;" ,
59+ FullScreen = true
6060 }
6161 } ) ;
6262 return true ;
You can’t perform that action at this time.
0 commit comments