Skip to content

Updating search and UX#200

Closed
jaainil wants to merge 74 commits intoDokploy:mainfrom
jaainil:Adding-Lot-of-things--)
Closed

Updating search and UX#200
jaainil wants to merge 74 commits intoDokploy:mainfrom
jaainil:Adding-Lot-of-things--)

Conversation

@jaainil
Copy link
Contributor

@jaainil jaainil commented Jun 25, 2025

No description provided.

jaainil and others added 30 commits June 23, 2025 19:01
…for KaraKeep, FreshRSS, and Movary with detailed descriptions and links.
…, and tags for self-hosted YouTube media server.
… and tags for proxy server and web scraping automation.
…d tags for AI software development and automation tools.
…ks, and tags for file sharing and directory browsing.
…d tags for YouTube media management and content downloading.
…d tags for self-hosted RSS reading and management.
…ags for online code execution and programming support.
…ags for a privacy-focused Twitter alternative.
…s for a self-hosted virtual browser utilizing WebRTC technology.
…gs for an open-source project management platform, along with updates to docker-compose and template files for improved configuration and deployment.
…tags for a simple notepad application featuring auto-save, dark mode, and collaborative editing.
…nd tags for a personal budgeting app featuring PIN protection, multi-currency support, and PWA capabilities.
… tags for a simple file upload application featuring drag-and-drop uploads, directory support, and mobile-friendly interface.
…nd tags for a simple asset management system designed for tracking physical and digital assets, featuring inventory management, multi-currency support, and notifications.
…nd tags for a self-hosted collection of web-based tools for image/video processing, string manipulation, and various utilities, all processed client-side.
… tags for an AI-powered meeting notepad that transcribes and summarizes meetings locally, ensuring privacy and offline functionality.
…s for a fully open-source generalist AI agent that automates real-world tasks, including browser automation, file management, and API integration.
jaainil added 2 commits July 8, 2025 13:24
- Updated docker-compose files to remove environment variable references and use hardcoded port mappings for consistency.
- Enhanced template files by introducing new variables for domain configuration and improving overall structure.
- Adjusted service dependencies and health checks for better reliability.
- Cleaned up unnecessary comments and container names for clarity.
- Standardized volume mounts and environment variable usage across multiple blueprints.
…proved readability and consistency across all entries.
@jaainil jaainil marked this pull request as draft July 8, 2025 08:03
@jaainil jaainil marked this pull request as ready for review July 8, 2025 08:04
jaainil and others added 3 commits July 9, 2025 09:41
- Updated docker-compose files to remove quotes around port mappings for consistency.
- Enhanced template files by introducing new variables for domain configuration and improving overall structure.
- Standardized volume mounts and environment variable usage across multiple blueprints.
- Cleaned up unnecessary comments and container names for clarity.
- Standardized versioning across docker-compose files to ensure consistency.
- Updated service images to use the latest versions for improved performance and security.
- Enhanced template files by adding new configuration options and cleaning up unnecessary variables.
- Improved volume naming conventions for better clarity and organization.
- Removed deprecated or unused configurations to streamline the setup process.
…improved readability and consistency across all entries.
@jaainil
Copy link
Contributor Author

jaainil commented Jul 9, 2025

@Siumauricio 👀
I’ve made all the changes and updated the NPM packages to their latest versions.
Let me know if there are any further tweaks or updates needed! 🙌

@jaainil jaainil requested a review from Siumauricio July 10, 2025 02:09
Comment on lines +1 to +5
version: "3.8"
services:
postgresql:
image: docker.io/library/postgres:16-alpine
restart: unless-stopped
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this error
Uploading Screenshot 2025-07-12 at 12.04.14 AM.png…

Comment on lines +2 to +4
services:
cap-web:
image: ghcr.io/capsoftware/cap-web:latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this error....

Screenshot 2025-07-12 at 12 07 18 AM

Comment on lines +2 to +17
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
image: phlak/directory-lister:dev
depends_on:
- memcached
- redis
ports:
- 80
volumes:
- app-data:/var/www/html
- php-config:/usr/local/etc/php/php.ini
- apache-config:/etc/apache2/sites-available/000-default.conf
restart: always
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I see that many templates have problems, are you sure you have tested these templates? it seems that this was generated by AI, because it refers to a dockerfile that we are not even using Git or any git source...

Screenshot 2025-07-12 at 12 11 54 AM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, removing everything and just updating the search component. I'll add everything back one by one manually! @Siumauricio

- Downgraded docker-compose version to 3.8 for compatibility.
- Changed Commafeed image to use H2 database instead of PostgreSQL.
- Removed PostgreSQL service and related configurations to simplify setup.
- Updated volume configuration for Commafeed data persistence.
- Cleaned up template file by removing unused PostgreSQL environment variables.
@jaainil jaainil marked this pull request as draft July 12, 2025 06:48
- Deleted obsolete docker-compose files, template files, and associated assets for multiple services to streamline the project.
- Cleaned up the meta.json file by ensuring proper formatting and removing unnecessary entries.
- Enhanced overall project organization by eliminating deprecated resources.
jaainil and others added 3 commits July 12, 2025 12:57
…roved readability and consistency. Removed unnecessary line breaks in tag arrays.
…ate unnecessary files. This cleanup enhances overall organization and reduces clutter in the repository.
@jaainil jaainil changed the title Added a lot of new things :) Updating search and UX Jul 12, 2025
…docker-compose files, templates, and assets. Streamline project structure by deleting unnecessary files and ensuring proper formatting in meta.json for improved organization.
…es and @types/node, enhancing dependency management and ensuring compatibility with the latest features and fixes.
@jaainil
Copy link
Contributor Author

jaainil commented Jul 12, 2025

Executive Summary

This major update successfully resolves critical performance and stability issues by overhauling the template browser. The core improvements include cleaning the template data to fix key duplication errors and replacing the broken search with a powerful, typo-tolerant fuzzy search engine. The result is a stable, highly performant, and intuitive user experience.


Key Achievements

1. Stability and Data Integrity

  • Problem Solved: A recurring "Encountered two children with the same key" error in React has been eliminated.
  • The Fix: 175 duplicate entries were identified and removed from the meta.json data source, ensuring every template has a unique identifier.

2. Search Functionality Overhaul

  • New Engine: The non-functional search feature was completely replaced with Fuse.js, a robust fuzzy search library.
  • Enhanced Search: The new search is significantly more effective, allowing users to search across a template's name, description, and tags. It even handles typos (e.g., "rect" will find "Directus").
  • Weighted Relevance: Search results are now more relevant, prioritizing matches in the template name (70%), followed by the description (20%) and tags (10%).

3. Performance and User Experience (UX)

  • Responsiveness: A 300ms debounce was added to the search bar to prevent performance issues and excessive processing when a user types quickly. Component rendering was also optimized to avoid unnecessary updates.
  • Shareable URLs: Search queries are now stored in the URL, enabling users to share links to specific search results.
  • Improved UI: The user interface now provides better feedback, including:
    • Loading skeletons while content is being fetched.
    • Clearer "empty state" messages.
    • Placeholder SVGs to prevent broken images for templates without logos.

4. Code Quality and Maintenance

  • Refactoring: The codebase was significantly cleaned up by removing unused files (searchService.ts), consolidating filtering logic, and improving the overall component architecture for easier maintenance.

  • Dependency Upgrades: Key dependencies were updated to enhance dependency management and ensure compatibility with the latest features. This includes:

    • Updating multiple Rollup packages and @types/node to version 4.45.0.
    • Upgrading cmdk to version 1.1.0.

    CC: @Siumauricio

@jaainil jaainil marked this pull request as ready for review July 12, 2025 07:36
@jaainil jaainil closed this Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants