Skip to content

LG-13755: Add "program updates"#1409

Merged
jc-gsa merged 96 commits intomainfrom
LG-13755-program-updates
Dec 19, 2024
Merged

LG-13755: Add "program updates"#1409
jc-gsa merged 96 commits intomainfrom
LG-13755-program-updates

Conversation

@jc-gsa
Copy link
Copy Markdown
Contributor

@jc-gsa jc-gsa commented Dec 16, 2024

🎫 Ticket

LG-13755

🛠 Summary of changes

Modify comments in admin/config.yml for local development. To test on staging, I previously toggled the branch name in admin/config.yml.

For testing the interface, go to the location /admin/#/collections/program_updates.

📜 Testing Plan

The staging path can be found at the following URL. At the time of writing, the file admin/config.yml is not set for the staging branch.

Alternatively, you can test on your local environment by modifying comments in the file admin/config.yml and going to the corresponding /admin path.

@jc-gsa jc-gsa requested a review from aduth December 18, 2024 17:58
Copy link
Copy Markdown
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Did some light testing in the admin of the preview branch and locally with test articles, works well, LGTM 👍

Comment thread _config.yml
Comment on lines +130 to +131
values:
sitemap: false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm assuming we'll want to remove this in the future once we have some articles?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@aduth Yes, that's correct. Thank you for the reminder.

Comment thread admin/index.html
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<script>
const ProgramUpdatePreview = createClass({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this is React, createClass was effectively deprecated in 2017 and later removed. It might save us some future refactoring if we made these function components from the start?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There were a number of quirks for the preview component code for NetlifyCMS version 2.0.0. I believe this style, which I don't like, was written to match what I found in old documentation or address other limitations.

I'd upgrade to version 2.10.192 or 3.0 and then rewrite the preview components.

jc-gsa and others added 2 commits December 19, 2024 11:31
Force merge of:
* "assets/img/450px.png"
* "content/_program_updates/test-title-1.md"
jc-gsa and others added 24 commits December 19, 2024 11:32
* Update UEID link

* Update link "How do I become an entity administrator"

* Update "How do I update/renew an entity administration"

* Consolidate and update email links
* Add partner assurance level page

* Update content/_partners/determining-your-assurance-level._en.md

Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>

* Change external link class

---------

Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
* Add "Report an Issue" to Contact Us page
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add "our services" page to partners

Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>

---------

Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
This reverts commit 56d7af7.
Force merge of:
* "content/_program_updates/gsa’s-bipartisan-infrastructure-law-projects-strengthen-safety-security-and-the-supply-chain-1.md"
* feat: add resultsSectionHeading to post office search

* feat: add latest version of address-search package

* feat: add new results section heading content
* Add apps.microsoft.com to external URL ignore

* Ignore faq.ssa.gov external domain errors
* New Issues with IPP child page

* Update child order for chinese

* change urls to be root relative

* Change url to be root-relative and per language

* add trailing slash in relative url
* Update "what is login"
* Update header on "partners page"

* Move "State and local"
@jc-gsa jc-gsa force-pushed the LG-13755-program-updates branch from ab35602 to ca481d9 Compare December 19, 2024 17:33
@jc-gsa jc-gsa merged commit b7c5e74 into main Dec 19, 2024
@jc-gsa jc-gsa deleted the LG-13755-program-updates branch December 19, 2024 17:46
jc-gsa added a commit that referenced this pull request Dec 19, 2024
jc-gsa added a commit that referenced this pull request Dec 19, 2024
* Revert "LG-13755: Add "program updates" (#1409)"

This reverts commit b7c5e74.

* Satisfy test
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.