feat: implement searchable extension market function #13863#3170
Open
Blessy7-eng wants to merge 1 commit into
Open
feat: implement searchable extension market function #13863#3170Blessy7-eng wants to merge 1 commit into
Blessy7-eng wants to merge 1 commit into
Conversation
✅ Deploy Preview for dubbo ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Implements an “Extension Market” page in the Dubbo website to browse extension metadata from a data file and filter results via an in-page search.
Changes:
- Added a Hugo shortcode to render extension rows from
data/extensions.yml. - Introduced an initial
data/extensions.ymldataset for registries/protocols/etc. - Created a new Market landing page with a searchable table and a feedback link.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
layouts/shortcodes/market-table.html |
Renders table rows for extensions from Hugo data. |
data/extensions.yml |
Provides initial extension entries (name/category/description/version/status/link). |
content/en/overview/ecosystem/market/_index.md |
Adds the Market page layout, search input, table scaffold, and filtering script. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <td><code>{{ .version }}</code></td> | ||
| <td><span class="text-success">●</span> {{ .status }}</td> | ||
| <td> | ||
| <a href="{{ .link }}" target="_blank" class="btn btn-outline-primary btn-sm">View Source</a> |
| <td><span class="badge badge-info" style="background-color: #007bff; color: white; padding: 5px; border-radius: 4px;">{{ .category }}</span></td> | ||
| <td>{{ .description }}</td> | ||
| <td><code>{{ .version }}</code></td> | ||
| <td><span class="text-success">●</span> {{ .status }}</td> |
| The Dubbo Market provides a centralized view of extension libraries. Users can browse and search for specific SPI extensions to enhance their projects. | ||
|
|
||
| ## 🔍 Search Extensions | ||
| <input type="text" id="marketSearch" onkeyup="searchTable()" placeholder="Search by name or category..." class="form-control mb-4" style="padding: 12px; width: 100%; border: 2px solid #007bff; border-radius: 8px;"> |
Comment on lines
+42
to
+46
| for (var j = 0; j < td.length; j++) { | ||
| if (td[j] && td[j].innerText.toUpperCase().indexOf(filter) > -1) { | ||
| visible = true; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Hello Dubbo Team,
I have finished the market expansion task that was asked in issue #13863. I aimed to make it easy to navigate and maintain the extension library.
Major Improvements:
Searchable Extension Table: Provided a searchable extension table allowing users to easily search for entries about available registries and protocols using keywords.
Data Driven Architecture: Data/extensions.yml and a Hugo shortcode for the table. Makes it very easy for the maintainers of the project to keep the extension info up to date without having to touch any of the HTML files directly.
Detailed Browsing in Action
The table is well-organized with easy-to-understand categories and versions of all the extensions included.
Feedback from the Community: A link was provided for submitting new ideas on how to expand the community.
Hugo has been tested on a local environment, and the search functionality and table rendering are functioning as needed.