Skip to content

Packet/july 7#21

Merged
mbwatson merged 54 commits into
stagecc:mainfrom
suejinkim20:packet/july-7
Jul 10, 2026
Merged

Packet/july 7#21
mbwatson merged 54 commits into
stagecc:mainfrom
suejinkim20:packet/july-7

Conversation

@suejinkim20

@suejinkim20 suejinkim20 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Deployment preview available here: https://packet-july-7.d47440bgt2n0.amplifyapp.com/

This PR addresses the following Jira items:

It also addresses Form components and backend infrastructure with the option to use both Custom Forms and Custom Objects. The Published Research Submission form uses a Custom Object.

suejinkim20 and others added 21 commits June 18, 2026 11:05
…h submissions

- Implement HoneypotField to trap bots in forms.
- Create DateField, TextField, and TextareaField components for various input types.
- Add DynamicForm to handle form submissions with Freshdesk integration.
- Fetch form field configuration from Freshdesk at build time.
- Build payload for Freshdesk API submissions, mapping fields appropriately.
- Add tests for payload building and form field fetching.
- Update Base layout to conditionally load reCAPTCHA script.
- Modify Freshdesk handler to support new published research submission route.
- Update USWDS theme package references for organizational consistency.
…ching

- Integrated dynamic form fetching from Freshdesk with error handling.
- enhance Freshdesk form field fetching logic
- add unit tests for reCAPTCHA token retrieval
- Changed 'location' field to 'journalName' in the publications schema.
- Added optional fields: 'status', 'bdcContribution', 'researchArea', and 'researchCommunity'.
- Updated publications.yaml to reflect the new schema, including new entries and fields.
- Refactored news page to utilize a PublicationsFilter component and simplified publication data handling.
…age-ui

feat(publications): update schema and data structure for publications
…age-ui

Feature/bdc enabled research page UI
@suejinkim20 suejinkim20 requested a review from mbwatson July 7, 2026 14:32
@mbwatson

mbwatson commented Jul 7, 2026

Copy link
Copy Markdown
Member

i'm seeing a potential discrepancy in the CI lint check and a local check

$ npm run lint

> lint
> biome check .

#
# details omitted for space
# 

Checked 167 files in 134ms. No fixes applied.
Found 6 infos.

@mbwatson mbwatson 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 pretty good! i noted a couple major and a few minor fixes

Comment thread apps/site/src/components/layout/SiteAlert.astro Outdated
* - Research Areas → MultiSelectCheckbox
* - Org Contributions → MultiSelectCheckbox
* - Research Communities → MultiSelectCheckbox
* Reference data options are merged into the relevant field configs before

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.

can you say more about/fix this? i see the import of getReferenceDataValues, but i don't see any obvious merging with configs

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

this is leftover from when i was thinking about stitching multiple custom objects together (so a publication submission might have reference to a separate research community custom object).

this may still be an option we want to utilize but it can be removed for now, and addressed if we decide to go that route in the future.

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.

yep that can go until we have the feature


const {
variant = 'info',
style = 'gradient',

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.

above comments say style — 'border' | 'gradient'. Defaults to 'border'.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

i think we can remove the 'border' styles altogether. i was mostly testing it out to see how it looked and i think that left border looks too awkward way on the end for a site-wide banner.

---

<Tag
{...targetUrl ? { href: targetUrl } : { type }}

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.

why are we dropping these props?

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.

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.

for center, there's a USWDS utility for that

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

thank you! that was a mistake.

…ility; rename class prop to className to align with react
…compatibility; rename class prop to className to align with react"

This reverts commit 34fbd17.

@mbwatson mbwatson 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.

👍 good work, this was a hefty one!

---

<Tag
{...targetUrl ? { href: targetUrl } : { type }}

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.

}}
aria-label="More information"
>
<svg

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.

---

<Tag
{...targetUrl ? { href: targetUrl } : { type }}

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.

for center, there's a USWDS utility for that

</a>
</h4>
<ul
className="usa-collection__meta margin-top-2"

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.

margin-top-2 utility and inline margin-top CSS here

* - Research Areas → MultiSelectCheckbox
* - Org Contributions → MultiSelectCheckbox
* - Research Communities → MultiSelectCheckbox
* Reference data options are merged into the relevant field configs before

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.

yep that can go until we have the feature

@mbwatson mbwatson merged commit 143c616 into stagecc:main Jul 10, 2026
10 checks 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