Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): Adding new FAQ to FAQ page #970

Merged
merged 23 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3dbab7d
feature: adding new FAQ to FAQ page
RanyeM Jan 3, 2025
298f018
feature: question should open corresponding section
RanyeM Jan 3, 2025
1d1493a
fix: corrected code back to faq page direct link
RanyeM Jan 3, 2025
ad5165a
fix: removed id
RanyeM Jan 3, 2025
ebceaaf
fix: #5 and #6 to expanded section
RanyeM Jan 6, 2025
4db145a
fix: test coverage
RanyeM Jan 6, 2025
5687835
revert package json to what is on main
13bfrancis Jan 6, 2025
0e5d16c
fix(email): Fixes an issue with Outlook not correctly displaying the …
tbolt Jan 6, 2025
b344ea6
fixed index test
RanyeM Jan 7, 2025
2c0c8c2
fix(test): Create mock for calling lambdas (#973)
thetif Jan 7, 2025
a6cd254
fix(email): switch email logo back to using url
tbolt Jan 7, 2025
7d9f9d5
fix(schema): remove logic for determining next business day for `subm…
asharonbaltazar Jan 8, 2025
62e1b63
feat(ui): Remove status date from package details pages for all users…
tbolt Jan 8, 2025
70044b8
fix(initial verbiage fix): Email verbiage fixes from qa (#974)
jdinh8124 Jan 8, 2025
9fc0ca3
test(email): proces email test (#979)
thwalker6 Jan 8, 2025
8e07ef5
feat(test)-submit lambda (#987)
thwalker6 Jan 8, 2025
162846a
feat(test) fix email test (#991)
thwalker6 Jan 8, 2025
a7d3e95
fix(os) helpers for getting domain and index for opensearch (#992)
thetif Jan 8, 2025
da1f80d
feat(test) updates to s3 calls on backend (#985)
thetif Jan 9, 2025
0b94fa1
feat(test)-unauthorized submission test (#996)
thwalker6 Jan 9, 2025
73c5fb0
feat(amend): Add waiver amendment emails (#993)
benjaminpaige Jan 9, 2025
101a7e9
Feat(playwright performance): Pw perf tests (#959)
zerogravit1 Jan 9, 2025
d867d18
Merge branch 'main' into new-faq-question
RanyeM Jan 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions react-app/src/components/Banner/MMDLSpaBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { useState } from "react";
import { Cross2Icon } from "@radix-ui/react-icons";
import { InfoCircledIcon } from "@radix-ui/react-icons";
import { FAQ_TAB } from "@/router";
import { Link } from "react-router";
const MMDLAlertBanner = () => {
const [isVisible, setIsVisible] = useState(true);
const handleDismiss = () => {
Expand All @@ -26,14 +28,14 @@ const MMDLAlertBanner = () => {
</div>
</div>
<div className="flex space-x-4 col-start-2 md:col-start-auto">
<a
href="/faq#mmdl-section"
target="_blank"
<Link
to={"/faq/spa-admendments"}
target={FAQ_TAB}
rel="noopener noreferrer"
className="border-2 border-black rounded h-[38px] px-4 text font-bold text-center whitespace-nowrap pt-1"
>
Go to FAQs
</a>
</Link>
<button onClick={handleDismiss} aria-label="Dismiss" className="rounded-full w-6 h-6">
<Cross2Icon className="w-full h-full" aria-hidden="true" />
</button>
Expand Down
3 changes: 3 additions & 0 deletions react-app/src/components/Layout/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ import { setMockUsername, makoStateSubmitter, AUTH_CONFIG } from "mocks";
vi.mock("../UsaBanner", () => ({ UsaBanner: () => null }));
vi.mock("../Footer", () => ({ Footer: () => null }));
vi.mock("@/components", () => ({
Layout: ({ children }: { children: React.ReactNode }) => (
<div data-testid="mocked-layout">{children}</div>
),
SimplePageContainer: ({ children }: { children: React.ReactNode }) => children,
UserPrompt: () => null,
Banner: () => null,
Expand Down
82 changes: 81 additions & 1 deletion react-app/src/features/faq/content/oneMACFAQContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,86 @@ export const oneMACFAQContent: FAQContent[] = [
{
sectionTitle: "State Plan Amendments (SPAs)",
qanda: [
{
anchorText: "spa-admendments",
question: "Which state plan amendments (SPAs) can I submit in OneMAC?",
answerJSX: (
<div className="w-full space-y-3">
<p>
All Medicaid and CHIP state plan amendments (SPAs), <b>except </b>
Medicaid SPA submissions processed in the Medicaid & CHIP Program System portal
(MACPro), must be submitted in OneMac.
</p>
<p>
Starting [month,date,year,] Medicaid Model Data Lab (MMDL) no longer accepts new
submissions for these SPAs, including:
</p>
<ul className="ml-8 list-disc space-y-2">
<li>Medicaid Alternative Benefit Plan (ABP)</li>
<li>Medicaid Premiums & Cost Sharing</li>
<li>CHIP Eligibility</li>
</ul>
<p>
Pending SPAs submitted in MMDL before [month, day, year,] including those on RAI
(request for additional information) status, will continue to be processed through
MMDL.
</p>
<p>
Templates and implementation guides for OneMac SPAs can be downloaded from the
respective FAQ:
</p>
<ul className="ml-8 list-disc space-y-2 text-blue-600">
{[
{
href: "#abp-spa-templates",
text: "Where can I download Medicaid Alternative Benefit Plan (ABP) SPA templates?",
},
{
href: "#abp-implementation-guides-spa",
text: "Where can I download Medicaid Alternative Benefit Plan (ABP) SPA implementation guides?",
},
{
href: "#mpc-spa-templates",
text: "Where can I download Medicaid Premiums and Cost Sharing (MPC) SPA templates?",
},
{
href: "#mpc-spa-implementation-guides",
text: "Where can I download Medicaid Premiums and Cost Sharing (MPC) SPA implementation guides?",
},
{
href: "#chip-spa-templates",
text: "Where can I download CHIP eligibility SPA templates?",
},
{
href: "#chip-spa-implentation-guides",
text: "Where can I download CHIP eligibility SPA implementation guides?",
},
].map(({ href, text }) => (
<li key={href}>
<a
href={href}
onClick={(e) => {
e.preventDefault();
const targetElement = document.getElementById(href.substring(1));
if (targetElement) {
targetElement.scrollIntoView({ behavior: "smooth", block: "start" });

const buttonElement = targetElement.querySelector("button");
if (buttonElement) {
buttonElement.click();
}
}
}}
>
{text}
</a>
</li>
))}
</ul>
<p>For more information, refer to CMCS Information Bulletin #25-TBD.</p>
</div>
),
},
{
anchorText: "spa-id-format",
question: "What format is used to enter a SPA ID?",
Expand Down Expand Up @@ -679,7 +759,7 @@ export const oneMACFAQContent: FAQContent[] = [
anchorText: "abp-spa-templates",
question: "Where can I download Medicaid Alternative Benefit Plan (ABP) SPA templates?",
answerJSX: (
<section className="space-y-2 p-2">
<section id="abp-spa-templates" className="space-y-2 p-2">
<p>
Medicaid Alternative Benefit Plan (ABP) SPA templates can be downloaded at the links
below. After downloading and completing the templates you need, upload them as part of
Expand Down
2 changes: 1 addition & 1 deletion react-app/src/features/welcome/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Welcome = () => {
Medicaid Alternative Benefit Plan, Premium and Cost Sharing, and CHIP Eligibility SPA
templates and implementation guides are now available in OneMAC. New submissions for
these SPA types are submitted through the OneMAC system effective [add date].{" "}
<Link to="/faq" target={FAQ_TAB} className="underline text-[#0071bc]">
<Link to="/faq/spa-admendments" target={FAQ_TAB} className="underline text-[#0071bc]">
Learn more
</Link>
</p>
Expand Down
Loading