Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
39 changes: 0 additions & 39 deletions components/HotBillCard/HotBillCard.tsx
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this component appears to have never been used. in lieu of translating it, I've just removed it to cut some clutter.

This file was deleted.

81 changes: 0 additions & 81 deletions components/HotBillCard/Positions.tsx

This file was deleted.

12 changes: 6 additions & 6 deletions components/bill/TestimonyCounts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ export const TestimonyCounts = ({
<CountTotal className={`ms-2`}>{total} Total Testimonies</CountTotal>
<CountDirection className={`me-1 ms-4 my-1`}>
<Col className={`px-2`}>
<CountCategory>Endorse</CountCategory>
<CountCategory>{t("counts.endorsements.title")}</CountCategory>
<Row className={`justify-content-start`}>
<CountIcon
src="/thumbs-endorse.svg"
alt={t("counts.endorsements")}
alt={t("counts.endorsements.alt")}
height="23"
/>
<CountTally className={`align-self-center pe-0 ps-2`}>
Expand All @@ -79,11 +79,11 @@ export const TestimonyCounts = ({
</Row>
</Col>
<Col className={`px-2`}>
<CountCategory>Neutral</CountCategory>
<CountCategory>{t("counts.neutral.title")}</CountCategory>
<Row className={`justify-content-start`}>
<CountIcon
src="/thumbs-neutral.svg"
alt={t("counts.neutral")}
alt={t("counts.neutral.alt")}
height="23"
/>
<CountTally className={`align-self-center pe-0 ps-2`}>
Expand All @@ -92,11 +92,11 @@ export const TestimonyCounts = ({
</Row>
</Col>
<Col className={`px-2`}>
<CountCategory>Oppose</CountCategory>
<CountCategory>{t("counts.oppose.title")}</CountCategory>
<Row className={`justify-content-start`}>
<CountIcon
src="/thumbs-oppose.svg"
alt={t("counts.oppose")}
alt={t("counts.oppose.alt")}
height="23"
/>
<CountTally className={`align-self-center pe-0 ps-2`}>
Expand Down
19 changes: 14 additions & 5 deletions public/locales/en/testimony.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"counts": {
"endorsements": "The total number of testimonies that endorse the bill.",
"neutral":"The total number of testimonies that are neutral towards the bill.",
"oppose":"The total number of testimonies that oppose the bill."
"endorsements": {
"title": "Endorse",
"alt": "The total number of testimonies that endorse the bill."
},
"neutral": {
"title": "Neutral",
"alt": "The total number of testimonies that are neutral towards the bill."
},
"oppose": {
"title": "Oppose",
"alt": "The total number of testimonies that oppose the bill."
}
},
"link": {
"tweetContent": "I provided testimony on Bill {{billNumber}}. See {{link}} for details.",
"twitter": "Tweet Your Published Testimony"
Expand Down Expand Up @@ -61,7 +70,7 @@
"reporting": "Reporting",
"report": "Report",
"rescind": "You may request that your testimony be deleted by completing this form. Since MAPLE is an archive, deletion requests will only be granted if the testimony was submitted on the wrong bill, if it contained sensitive personal information, or if the user is below 18 years old.",
"personalInformation": "Personal Information",
"personalInformation": "Personal Information",
"wrongBill": "Submitted to wrong bill",
"offensive": "Offensive",
"violent": "Violent",
Expand Down Expand Up @@ -156,4 +165,4 @@
"draft": "Draft",
"emailCta": "Email Your Published Testimony"
}
}
}
5 changes: 0 additions & 5 deletions scripts/stories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ figmaUrl: https://www.figma.com/file/3ifz37EOwDfmnEG8320KlD/CS1---MAPLE?node-id=

# Dashboard Newsfeed
---
name: HotBillCard
folder: dashboard/newsfeed
grouping: Dashboard/Newsfeed
figmaUrl: https://www.figma.com/file/3ifz37EOwDfmnEG8320KlD/CS1---MAPLE?node-id=158%3A3865
---
name: NewsfeedCard
folder: dashboard/newsfeed
grouping: Dashboard/Newsfeed
Expand Down
68 changes: 0 additions & 68 deletions stories_hold/organisms/newsfeed/HotBillCard.stories.tsx

This file was deleted.