Skip to content

add UI support for repo field in search results#304

Open
Mansi2007275 wants to merge 1 commit into
openmainframeproject:masterfrom
Mansi2007275:feature/265-repo-field-ui
Open

add UI support for repo field in search results#304
Mansi2007275 wants to merge 1 commit into
openmainframeproject:masterfrom
Mansi2007275:feature/265-repo-field-ui

Conversation

@Mansi2007275

Copy link
Copy Markdown

Summary

Closes #265

Adds optional UI support for the repo field now present
in PDS data sources.

Changes Made

bin/database_build.py

  • Added repo column to MySQL table schema in createTable()
  • Updated jsontosql() to handle all INSERT cases

src/classes/package_search.py

  • Added repo to both SELECT queries in searchSQLPackages()

src/static/js/views/home.html

  • Added optional "Show Repository" checkbox
  • Added Repository column — shows clickable link when repo
    exists, shows when absent

Signed-off-by: Mansi2007275 <mansi@example.com>
@pleia2

pleia2 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

A couple days before your change, #302 was merged which handles the bin/database_build.py part of this, so you can remove this file from your change.

But the bigger issue is that we removed Flask entirely from this repository recently, so your work was on the old UI, oops! ☹️

We want this change on the new React-based front-end, which currently looks like this:

Screenshot From 2026-06-29 13-00-56

I'm thinking we want something like the version number tag (in the above screenshot, it's "0.2.0-1"), perhaps in another color? For sources that come from the IBM Validated software list.

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.

Add support in the UI for repo: field

2 participants