diff --git a/changelog.md b/changelog.md
index 6b7ad2d..77772ac 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,7 @@
-## version 0.8.1 -> 0.8.6
+## version 0.8.1 -> 0.8.9
- Added new automatic Docker mapping feature (for people not using (sub)domains)
- Added guardrails to prevent Let's Encrypt from failing to initialize when adding wrong domains
+ - Add search bar on the marketplace
- App store image size issue
- Fixed wrong x-forwarded-proto header
- Add installer option for hostname prefix/suffix
diff --git a/client/src/pages/home/index.jsx b/client/src/pages/home/index.jsx
index d933847..29faac4 100644
--- a/client/src/pages/home/index.jsx
+++ b/client/src/pages/home/index.jsx
@@ -348,6 +348,18 @@ const HomePage = () => {
+ // return !skip &&
+ //
+ //
+ //
+ //
+ //
+ //
{route.Name}
+ //
+ //
+ //
+ //
+ //
})}
{config && routes.length === 0 && (
diff --git a/client/src/pages/market/listing.jsx b/client/src/pages/market/listing.jsx
index 603c963..f38b781 100644
--- a/client/src/pages/market/listing.jsx
+++ b/client/src/pages/market/listing.jsx
@@ -1,4 +1,4 @@
-import { Box, CircularProgress, Stack } from "@mui/material";
+import { Box, CircularProgress, Input, InputAdornment, Stack } from "@mui/material";
import { HomeBackground, TransparentHeader } from "../home";
import { useEffect, useState } from "react";
import * as API from "../../api";
@@ -10,6 +10,7 @@ import { Paper, Button , Chip} from '@mui/material'
import { Link } from "react-router-dom";
import {Link as LinkMUI} from '@mui/material'
import DockerComposeImport from '../servapps/containers/docker-compose';
+import { SearchOutlined } from "@ant-design/icons";
function Screenshots({ screenshots }) {
return screenshots.length > 1 ? (
@@ -107,6 +108,7 @@ const MarketPage = () => {
const theme = useTheme();
const isDark = theme.palette.mode === 'dark';
const { appName, appStore } = useParams();
+ const [search, setSearch] = useState("");
const backgroundStyle = isDark ? {
backgroundColor: 'rgb(0,0,0)',
@@ -232,6 +234,18 @@ const MarketPage = () => {
padding: '24px',
}}>
Applications
+
+
+
+ }
+ onChange={(e) => {
+ setSearch(e.target.value);
+ }}
+ />
{(!apps || !Object.keys(apps).length) && {
}
{apps && Object.keys(apps).length > 0 &&
- {Object.keys(apps).map(appstore => apps[appstore].map((app) => {
+ {Object.keys(apps).map(appstore => apps[appstore]
+ .filter((app) => {
+ if (!search || search.length <= 2) {
+ return true;
+ }
+ return app.name.toLowerCase().includes(search.toLowerCase()) ||
+ app.tags.join(' ').toLowerCase().includes(search.toLowerCase());
+ })
+ .map((app) => {
return {
}}
>{app.description}
- {app.tags[0]}
+ {app.tags.slice(0,3).join(", ")}
diff --git a/package.json b/package.json
index fbca111..3743921 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cosmos-server",
- "version": "0.8.8",
+ "version": "0.8.9",
"description": "",
"main": "test-server.js",
"bugs": {