Skip to content

Publish PACIO badge verification - #3

Merged
pkmitre merged 5 commits into
gh-pagesfrom
paciobadge
Aug 13, 2026
Merged

pkmitre merged 5 commits into
gh-pagesfrom
paciobadge

Conversation

@yuliumitre

Copy link
Copy Markdown
  1. Added badge verification page
  2. Published the first batch of badges

@yuliumitre
yuliumitre requested a review from pkmitre August 5, 2026 23:35

@pkmitre pkmitre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, some minor thoughts noted in comments.

Comment thread assets/data/badges-public.json Outdated
"companyName": "Patient Centric Solutions",
"badgeCategory": "FHIR Implementer",
"eventName": "CMS Connectathon",
"eventDateRange": "2025-07-01",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

eventDateRange value formats are not consistent, for example here the value is "2025-07-01" and other entries have things like "July 2026"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed.

Comment thread verification/index.html Outdated
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="../index.html#about">About</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="../index.html#use_cases">Use Cases</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="../index.html#announcements">Announcements</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="../verification/">Badge Verification</a></li>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Adding this navigation link to the header has some of the navigation links in the header now break into two lines, which looks a bit awkward compared to the previous layout

Before

Image

After

Image

Maybe just the word "Badges" would help?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, note in the second screenshot the "CLEAR FILTERS" button hangs out of its container (this is in Chrome).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed.

Comment thread assets/js/badge-verification.js Outdated
Comment on lines +176 to +179
const badgeId = normalizeBadgeId(item.badgeId);
const itemEvent = normalizeBadgeId(item.eventId);
const itemCategory = normalizeBadgeId(item.badgeCategory);
const itemYear = normalizeBadgeId(recordYear(item));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

normalizeBadgeId seems to be used for a lot more than normalizing a badge ID, maybe a different name would be appropriate?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Updated

DATE_PATTERN = re.compile(r"^\d{4}-\d{2}-\d{2}$")
EMAIL_PATTERN = re.compile(r"[\w.+-]+@[\w.-]+\.[A-Za-z]{2,}")
PROHIBITED_PUBLIC_FIELDS = {
"email",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In addition to prohibiting publishing an email field it could be beneficial to scan all text fields for things that look like emails or phone numbers. Might be more than is needed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We don't record phone numbers. Therefore, checking email should cover it.

@pkmitre pkmitre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One additional comment

Comment thread verification/index.html Outdated
<div class="col-lg-10 mx-auto text-left">
<p>
PACIO badges recognize participation and engagement in PACIO testing events.
A badge confirms that the listed recipient was issued the badge category for the listed event.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This sentence reads a bit awkward, maybe just "A badge confirms that the listed recipient participated in the listed event and category"

@pkmitre
pkmitre merged commit 1381b1c into gh-pages Aug 13, 2026
1 check passed
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.

2 participants