This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 1e9e1621d15 SOLR-14414: adding clickable links to footer (#3387)
1e9e1621d15 is described below

commit 1e9e1621d155fa7a343ad24e211f1700c4859e45
Author: Eric Pugh <[email protected]>
AuthorDate: Tue Jun 24 11:51:37 2025 -0400

    SOLR-14414: adding clickable links to footer (#3387)
---
 .../kotlin/org/apache/solr/ui/views/navigation/Footer.kt | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git 
a/solr/ui/src/commonMain/kotlin/org/apache/solr/ui/views/navigation/Footer.kt 
b/solr/ui/src/commonMain/kotlin/org/apache/solr/ui/views/navigation/Footer.kt
index a3333cb228f..5d903d76a84 100644
--- 
a/solr/ui/src/commonMain/kotlin/org/apache/solr/ui/views/navigation/Footer.kt
+++ 
b/solr/ui/src/commonMain/kotlin/org/apache/solr/ui/views/navigation/Footer.kt
@@ -26,6 +26,8 @@ import androidx.compose.foundation.layout.FlowRow
 import androidx.compose.foundation.layout.Row
 import androidx.compose.foundation.layout.fillMaxWidth
 import androidx.compose.foundation.layout.padding
+import androidx.compose.ui.platform.LocalUriHandler
+import androidx.compose.ui.platform.UriHandler
 import androidx.compose.material.icons.Icons
 import androidx.compose.material.icons.automirrored.rounded.MenuBook
 import androidx.compose.material.icons.rounded.BugReport
@@ -49,7 +51,6 @@ import androidx.compose.ui.unit.dp
 import org.apache.solr.ui.generated.resources.Res
 import org.apache.solr.ui.generated.resources.community
 import org.apache.solr.ui.generated.resources.documentation
-import org.apache.solr.ui.generated.resources.irc
 import org.apache.solr.ui.generated.resources.issue_tracker
 import org.apache.solr.ui.generated.resources.slack
 import org.apache.solr.ui.generated.resources.solr_query_syntax
@@ -79,46 +80,47 @@ fun Footer(
             modifier = Modifier.fillMaxWidth(),
             horizontalArrangement = Arrangement.Center,
         ) {
+            val uriHandler = LocalUriHandler.current
             FooterAction(
                 imageVector = Icons.AutoMirrored.Rounded.MenuBook,
                 stringRes = Res.string.documentation,
                 iconOnly = showIconsOnly,
+                onClick = { 
uriHandler.openUri("https://solr.apache.org/guide/solr/latest/index.html";) }
             )
 
             FooterAction(
                 imageVector = Icons.Rounded.Code,
                 stringRes = Res.string.solr_query_syntax,
                 iconOnly = showIconsOnly,
+                onClick = { 
uriHandler.openUri("https://solr.apache.org/guide/solr/latest/query-guide/query-syntax-and-parsers.html";)
 }
             )
 
             FooterAction(
                 imageVector = Icons.Rounded.BugReport,
                 stringRes = Res.string.issue_tracker,
                 iconOnly = showIconsOnly,
+                onClick = { 
uriHandler.openUri("https://issues.apache.org/jira/projects/SOLR";) }
             )
 
             FooterAction(
                 imageVector = Icons.Rounded.Groups,
                 stringRes = Res.string.community,
                 iconOnly = showIconsOnly,
+                onClick = { 
uriHandler.openUri("https://solr.apache.org/community.html";) }
             )
 
             FooterAction(
                 imageVector = Icons.Rounded.ImageNotSupported, // TODO Add 
Slack Logo
                 stringRes = Res.string.slack,
                 iconOnly = showIconsOnly,
-            )
-
-            FooterAction(
-                imageVector = Icons.Rounded.Dashboard,
-                stringRes = Res.string.irc,
-                iconOnly = showIconsOnly,
+                onClick = { 
uriHandler.openUri("https://the-asf.slack.com/messages/CEKUCUNE9";) }
             )
 
             FooterAction(
                 imageVector = Icons.Rounded.Support,
                 stringRes = Res.string.support,
                 iconOnly = showIconsOnly,
+                onClick = { 
uriHandler.openUri("https://solr.apache.org/community.html#support";) }
             )
         }
     }

Reply via email to