diff --git a/.idea/.idea.HopFrame/.idea/workspace.xml b/.idea/.idea.HopFrame/.idea/workspace.xml
index e3831a5..fd35196 100644
--- a/.idea/.idea.HopFrame/.idea/workspace.xml
+++ b/.idea/.idea.HopFrame/.idea/workspace.xml
@@ -12,9 +12,22 @@
-
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
@@ -280,15 +293,8 @@
-
-
-
-
- 1737298835225
-
-
-
- 1737298835225
+
+
@@ -674,7 +680,15 @@
1768848267710
-
+
+
+ 1768848702981
+
+
+
+ 1768848702981
+
+
@@ -715,7 +729,6 @@
-
@@ -740,6 +753,7 @@
-
+
+
\ No newline at end of file
diff --git a/src/HopFrame.Core/Config/HopFrameConfig.cs b/src/HopFrame.Core/Config/HopFrameConfig.cs
index 57aabde..53b0ee9 100644
--- a/src/HopFrame.Core/Config/HopFrameConfig.cs
+++ b/src/HopFrame.Core/Config/HopFrameConfig.cs
@@ -24,6 +24,10 @@ public sealed class HopFrameConfigurator(HopFrameConfig config, IServiceCollecti
///
public HopFrameConfig InnerConfig { get; } = config;
+ ///
+ /// The of the application.
+ /// WARNING: Only use this during application building phase
+ ///
public IServiceCollection ServiceCollection { get; } = collection;
///
diff --git a/src/HopFrame.Core/Config/PropertyConfig.cs b/src/HopFrame.Core/Config/PropertyConfig.cs
index bb96fd6..563b1da 100644
--- a/src/HopFrame.Core/Config/PropertyConfig.cs
+++ b/src/HopFrame.Core/Config/PropertyConfig.cs
@@ -36,7 +36,9 @@ public class PropertyConfig(PropertyInfo info, TableConfig table, int nthPropert
}
}
+///
public sealed class VirtualPropertyConfig(TableConfig table, int nthProperty) : PropertyConfig(GetDummyProperty(), table, nthProperty) {
+
public string? DummyProperty { get; set; } = null;
public Func
///
- [Obsolete($"Use '{nameof(AddHopFramePages)}' instead")]
+ [Obsolete($"Use {nameof(AddHopFramePages)} instead")]
public static RazorComponentsEndpointConventionBuilder MapHopFramePages(this RazorComponentsEndpointConventionBuilder builder) {
return AddHopFramePages(builder);
}
@@ -74,6 +74,9 @@ public static class ServiceCollectionExtensions {
return builder;
}
+ ///
+ /// Adds the HopFrame admin ui endpoints
+ ///
public static WebApplication MapHopFrame(this WebApplication app) {
app.UseAntiforgery();
app.MapStaticAssets();
diff --git a/src/HopFrame.Web/Services/ISearchSuggestionProvider.cs b/src/HopFrame.Web/Services/ISearchSuggestionProvider.cs
index c51e198..0e7eecf 100644
--- a/src/HopFrame.Web/Services/ISearchSuggestionProvider.cs
+++ b/src/HopFrame.Web/Services/ISearchSuggestionProvider.cs
@@ -2,10 +2,26 @@
namespace HopFrame.Web.Services;
+///
+/// Accessor for the advanced search suggestion feature
+///
public interface ISearchSuggestionProvider {
+ ///
+ /// Generates a list of search suggestions based on the current search term
+ ///
+ /// The current table for context
+ /// The partial input by the user
+ ///
public IEnumerable GenerateSearchSuggestions(TableConfig table, string searchText);
+ ///
+ /// Generates the new search term by appending the generated text of the selected suggestion
+ ///
+ /// The current table for context
+ /// The partial input by the user
+ /// The suggestion that was selected
+ ///
public string CompleteSearchSuggestion(TableConfig table, string searchText, string selectedSuggestion);
}
\ No newline at end of file