diff --git a/.github/workflows/repo-checks.yml b/.github/workflows/repo-checks.yml index 07445efc0..85786ce0e 100644 --- a/.github/workflows/repo-checks.yml +++ b/.github/workflows/repo-checks.yml @@ -67,6 +67,13 @@ jobs: with: path: /home/runner/.cache/firebase/emulators key: ${{ runner.os }}-firebase-emulators-${{ hashFiles('~/.cache/firebase/emulators/**') }} + - name: Smoke Test Firebase Admin CLI + run: > + ./node_modules/.bin/firebase --project demo-dtp emulators:exec + --only auth,firestore + --import tests/integration/exportedTestData + "yarn firebase-admin run-script backfillTestimonyBallotQuestionId --env local" + - name: Run Integration Tests run: > yarn test:integration-ci @@ -74,3 +81,5 @@ jobs: tests/integration/auth.test.ts tests/integration/moderation.test.ts tests/integration/profile.test.ts + tests/integration/ballotQuestions.test.ts + tests/integration/backfillTestimonyBallotQuestionId.test.ts diff --git a/ballotQuestions/2024/23-12.yaml b/ballotQuestions/2024/23-12.yaml new file mode 100644 index 000000000..1c09f93b5 --- /dev/null +++ b/ballotQuestions/2024/23-12.yaml @@ -0,0 +1,30 @@ +# ballotQuestions/23-12.yaml +id: "23-12" +billId: "H4254" +court: 193 +electionYear: 2024 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would gradually increase the minimum hourly wage an + employer must pay a tipped worker, over the course of five years, on the following + schedule: - To 64% of the state minimum wage on January 1, 2025; - To 73% of + the state minimum wage on January 1, 2026; - To 82% of the state minimum wage + on January 1, 2027; - To 91% of the state minimum wage on January 1, 2028; and + - To 100% of the state minimum wage on January 1, 2029. The proposed law + would require employers to continue to pay tipped workers the difference between + the state minimum wage and the total amount a tipped worker receives in hourly + wages plus tips through the end of 2028. The proposed law would also permit + employers to calculate this difference over the entire weekly or bi-weekly payroll + period. The requirement to pay this difference would cease when the required + hourly wage for tipped workers would become 100% of the state minimum wage + on January 1, 2029. Under the proposed law, if an employer pays its workers an + hourly wage that is at least the state minimum wage, the employer would be + permitted to administer a “tip pool” that combines all the tips given by customers to + tipped workers and distributes them among all the workers, including non-tipped + workers. +pdfUrl: "https://malegislature.gov/Bills/193/H4254.pdf" diff --git a/ballotQuestions/2024/23-13.yaml b/ballotQuestions/2024/23-13.yaml new file mode 100644 index 000000000..3bf7e3ea2 --- /dev/null +++ b/ballotQuestions/2024/23-13.yaml @@ -0,0 +1,65 @@ +# ballotQuestions/23-13.yaml +id: "23-13" +billId: "H4255" +court: 193 +electionYear: 2024 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would allow persons aged 21 and older to grow, possess, and + use certain natural psychedelic substances in certain circumstances. The psychedelic + substances allowed would be two substances found in mushrooms (psilocybin and + psilocyn) and three substances found in plants (dimethyltryptamine, mescaline, and + ibogaine). These substances could be purchased at an approved location for use under the + supervision of a licensed facilitator. This proposed law would otherwise prohibit any retail + sale of natural psychedelic substances. This proposed law would also provide for the + regulation and taxation of these psychedelic substances. + + This proposed law would license and regulate facilities offering supervised use of + these psychedelic substances and provide for the taxation of proceeds from those facilities’ + sales of psychedelic substances. It would also allow persons aged 21 and older to grow + these psychedelic substances in a 12-foot by 12-foot area at their home and use these + psychedelic substances at their home. This proposed law would authorize persons aged 21 + or older to possess up to one gram of psilocybin, one gram of psilocyn, one gram of + dimethyltryptamine, 18 grams of mescaline, and 30 grams of ibogaine (“personal use + amount”), in addition to whatever they might grow at their home, and to give away up to + the personal use amount to a person aged 21 or over. + + This proposed law would create a Natural Psychedelic Substances Commission of + five members appointed by the Governor, Attorney General, and Treasurer which would + administer the law governing the use and distribution of these psychedelic substances. The + Commission would adopt regulations governing licensing qualifications, security, + recordkeeping, education and training, health and safety requirements, testing, and age + verification. This proposed law would also create a Natural Psychedelic Substances + Advisory Board of 20 members appointed by the Governor, Attorney General, and + Treasurer which would study and make recommendations to the Commission on the + regulation and taxation of these psychedelic substances. + + This proposed law would allow cities and towns to reasonably restrict the time, + place, and manner of the operation of licensed facilities offering psychedelic substances, + but cities and towns could not ban those facilities or their provision of these substances. + The proceeds of sales of psychedelic substances at licensed facilities would be + subject to the state sales tax and an additional excise tax of 15 percent. In addition, a city or + town could impose a separate tax of up to two percent. Revenue received from the + additional state excise tax, license application fees, and civil penalties for violations of this + proposed law would be deposited in a Natural Psychedelic Substances Regulation Fund + and would be used, subject to appropriation, for administration of this proposed law. + Using the psychedelic substances as permitted by this proposed law could not be a + basis to deny a person medical care or public assistance, impose discipline by a + professional licensing board, or enter adverse orders in child custody cases absent clear + and convincing evidence that the activities created an unreasonable danger to the safety of + a minor child. + + This proposed law would not affect existing laws regarding the operation of motor + vehicles while under the influence, or the ability of employers to enforce workplace + policies restricting the consumption of these psychedelic substances by employees. This + proposed law would allow property owners to prohibit the use, display, growing, + processing, or sale of these psychedelic substances on their premises. State and local governments could continue to restrict the possession and use of these psychedelic + substances in public buildings or at schools. + + This proposed law would take effect on December 15, 2024 +pdfUrl: "https://malegislature.gov/Bills/193/H4255.pdf" diff --git a/ballotQuestions/2024/23-25.yaml b/ballotQuestions/2024/23-25.yaml new file mode 100644 index 000000000..7862b9b23 --- /dev/null +++ b/ballotQuestions/2024/23-25.yaml @@ -0,0 +1,58 @@ +# ballotQuestions/23-25.yaml +id: "23-25" +billId: "H4253" +court: 193 +electionYear: 2024 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + The proposed law would provide Transportation Network Drivers (“Drivers”) with the + right to form unions (“Driver Organizations”) to collectively bargain with Transportation + Network Companies (“Companies”)-which are companies that use a digital network to connect + riders to drivers for pre-arranged transportation-to create negotiated recommendations + concerning wages, benefits and terms and conditions of work. Drivers would not be required to + engage in any union activities. Companies would be allowed to form multi-Company + associations to represent them when negotiating with Driver Organizations. The state would + supervise the labor activities permitted by the proposed law and would have responsibility for + approving or disapproving the negotiated recommendations. The proposed law would define + certain activities by a Company or a Driver Organization to be unfair work practices. The + proposed law would establish a hearing process for the state Employment Relations Board + (“Board”) to follow when a Company or Driver Organization is charged with an unfair work + practice. The proposed law would permit the Board to take action, including awarding + compensation to adversely affected Drivers, if it found that an unfair work practice had been + committed. The proposed law would provide for an appeal of a Board decision to the state + Appeals Court. + + This proposed law also would establish a procedure for determining which Drivers are + Active Drivers, meaning that they completed more than the median number of rides in the + previous six months. The proposed law would establish procedures for the Board to determine + that a Driver Organization has signed authorizations from at least five percent of Active Drivers, + entitling the Driver Organization to a list of Active Drivers; to designate a Driver Organization + as the exclusive bargaining representative for all Drivers based on signed authorizations from at + least twenty-five percent of Active Drivers; to resolve disputes over exclusive bargaining status, + including through elections; and to decertify a Driver Organization from exclusive bargaining + status. A Driver Organization that has been designated the exclusive bargaining representative + would have the exclusive right to represent the Drivers and to receive voluntary membership + dues deductions. Once the Board determined that a Driver Organization was the exclusive + bargaining representative for all Drivers, the Companies would be required to bargain with that + Driver Organization concerning wages, benefits and terms and conditions of work. Once the + Driver Organization and Companies reached agreement on wages, benefits, and the terms and + conditions of work, that agreement would be voted upon by all Drivers who has completed at + least 100 trips the previous quarter. If approved by a majority of votes cast, the recommendations + would be submitted to the state Secretary of Labor for approval and if approved, would be + effective for three years. The proposed law would establish procedures for the mediation and + arbitration if the Driver Organization and Companies failed to reach agreement within a certain + period of time. An arbitrator would consider factors set forth in the proposed law, including + whether the wages of Drivers would be enough so that Drivers would not need to rely upon any + public benefits. The proposed law also sets out procedures for the Secretary of Labor’s review + and approval of recommendations negotiated by a Driver Organization and the Companies and + for judicial review of the Secretary’s decision. The proposed law states that neither its + provisions, an agreement nor a determination by the Secretary would be able to lessen labor + standards established by other laws. If there were any conflict between the proposed law and existing Massachusetts labor relations law, the proposed law would prevail. The Board would + make rules and regulations as appropriate to effectuate the proposed law. The proposed law + states that, if any of its parts were declared invalid, the other parts would stay in effect. +pdfUrl: "https://malegislature.gov/Bills/193/H4253.pdf" diff --git a/ballotQuestions/2024/23-26.yaml b/ballotQuestions/2024/23-26.yaml new file mode 100644 index 000000000..04dde293c --- /dev/null +++ b/ballotQuestions/2024/23-26.yaml @@ -0,0 +1,21 @@ +# ballotQuestions/23-26.yaml +id: "23-26" +billId: "H4252" +court: 193 +electionYear: 2024 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: 2 +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would eliminate the requirement that a student pass the Massachusetts + Comprehensive Assessment System (MCAS) tests (or other statewide or district-wide + assessments) in mathematics, science and technology, and English in order to receive a high + school diploma. Instead, in order for a student to receive a high school diploma, the proposed + law would require the student to complete coursework certified by the student’s district as + demonstrating mastery of the competencies contained in the state academic standards in + mathematics, science and technology, and English, as well as any additional areas determined by + the Board of Elementary and Secondary Education. +pdfUrl: "https://malegislature.gov/Bills/193/H4252.pdf" diff --git a/ballotQuestions/2024/23-34.yaml b/ballotQuestions/2024/23-34.yaml new file mode 100644 index 000000000..c6fb4dca5 --- /dev/null +++ b/ballotQuestions/2024/23-34.yaml @@ -0,0 +1,13 @@ +# ballotQuestions/23-34.yaml +id: "23-34" +billId: "H4251" +court: 193 +electionYear: 2024 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: 1 +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: "This proposed law would specify that the State Auditor has the authority to audit the Legislature." +pdfUrl: "https://malegislature.gov/Bills/193/H4251.pdf" diff --git a/ballotQuestions/2026/25-03.yaml b/ballotQuestions/2026/25-03.yaml new file mode 100644 index 000000000..3560a86f3 --- /dev/null +++ b/ballotQuestions/2026/25-03.yaml @@ -0,0 +1,23 @@ +# ballotQuestions/25-03.yaml +id: "25-03" +billId: "H5000" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would allow single-family homes to be built in a residentially zoned + area as long as the land on which it is to be constructed is at least 5,000 square feet, has at least + 50 feet of land bordering the street, road, or public way that it faces, and has access to public + sewer and water services. + + The proposed law would allow cities and towns to reasonably regulate certain aspects of + those single-family homes, including their height, distance from neighboring buildings, open + space, parking requirements, and whether they can be rented out on a short-term basis. The + proposed law would also allow the Executive Office of Housing and Livable Communities to + issue guidance or regulations to administer the proposed law. +pdfUrl: "https://malegislature.gov/Bills/194/H5000.pdf" diff --git a/ballotQuestions/2026/25-08.yaml b/ballotQuestions/2026/25-08.yaml new file mode 100644 index 000000000..65dd8fdc9 --- /dev/null +++ b/ballotQuestions/2026/25-08.yaml @@ -0,0 +1,41 @@ +# ballotQuestions/25-08.yaml +id: "25-08" +billId: "H5001" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would permit eligible individuals to register to vote or update their + voter registration address on Election Day. + + An individual who is eligible to vote could register to vote on Election Day by going to + the polling place in the precinct where they live during voting hours and presenting proof of + residency and signing a written oath. Proof of residency could be a valid photo identification, or + documentation showing the individual’s name and the address where the individual resides, such + as a current utility bill, bank statement, government check, residential lease, wireless telephone + statement, paycheck, current student fee statement or other document from a post-secondary + school, or another government document or correspondence. The written oath would require the + individual to certify that they are a citizen of the United States, are at least 18 years old, are not + legally prohibited from voting, and have not and will not vote in the same election at another + location. The oath would require the individual to acknowledge that providing false information + is a felony punishable by not more than 5 years imprisonment or a fine of not more than $10,000, + or both. + + If an individual did not present proof of residency, they would be allowed to cast a + provisional ballot, which would be counted only if the individual returned to provide the required + information before the close of polls for a municipal election; within two days after a state + primary; or within six days after a state election. + + Individuals who register to vote on Election Day would be registered to vote in future + elections as well as in the election taking place that day. + + Individuals who are already registered to vote would not be able to change their political + party affiliation on Election Day. + + The proposed law would take effect on January 1, 2028. +pdfUrl: "https://malegislature.gov/Bills/194/H5001.pdf" diff --git a/ballotQuestions/2026/25-10.yaml b/ballotQuestions/2026/25-10.yaml new file mode 100644 index 000000000..3c6cee4b1 --- /dev/null +++ b/ballotQuestions/2026/25-10.yaml @@ -0,0 +1,37 @@ +# ballotQuestions/25-10.yaml +id: "25-10" +billId: "H5002" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + The proposed law would change the type and amount of marijuana that may legally be + possessed in Massachusetts by repealing the laws that legalize, regulate, and tax the retail sale of + adult recreational use marijuana in Massachusetts. The proposed law would also permit persons + 21 years of age and older to possess 1 ounce or less of marijuana including no more than 5 grams + in the form of concentrate, and to gift or transfer to another person 21 years of age and older 1 + ounce or less of marijuana including no more than 5 grams in the form of concentrate. The + proposed law would also impose a civil penalty of $100 and forfeiture of the marijuana for the + possession of marijuana between the weight of 1 and 2 ounces. + + For persons 21 years of age and younger, the proposed law would make the possession of + 2 ounces or less of marijuana a civil infraction subject to a $100 fine, forfeiture of the marijuana, + completion of a drug awareness program and community service, and notification to their parents + or legal guardian of the offense and penalties. + + The proposed law would allow currently licensed adult recreational marijuana businesses to apply + on an expedited basis to become a licensed medical marijuana dispensary and to sell their remaining + inventory of adult recreational marijuana to medical marijuana dispensaries. The proposed law would + retain the Cannabis Control Commission but modify its authority so it would regulate only the medical + marijuana market. + + The proposed law states that, if any of its parts were declared invalid, the other parts would stay + in effect. + + The proposed law would take effect on January 1, 2028. +pdfUrl: "https://malegislature.gov/Bills/194/H5002.pdf" diff --git a/ballotQuestions/2026/25-12.yaml b/ballotQuestions/2026/25-12.yaml new file mode 100644 index 000000000..5154d2fc0 --- /dev/null +++ b/ballotQuestions/2026/25-12.yaml @@ -0,0 +1,24 @@ +# ballotQuestions/25-12.yaml +id: "25-12" +billId: "H5003" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would eliminate political party primaries for state elections and + instead establish a system where there would be a single, all-party primary in which all + candidates, regardless of their party affiliation, would be listed on one ballot, and voters could + vote for any candidate on the ballot. The two candidates receiving the most votes in the primary + would advance to the general election ballot. + + This proposed law would require candidates for governor and lieutenant governor to run + and be listed jointly on the ballot in the primary. + + This proposed law would provide political party status to any group whose candidates for + any statewide office received at least 3% of the ballots cast in the state primary. +pdfUrl: "https://malegislature.gov/Bills/194/H5003.pdf" diff --git a/ballotQuestions/2026/25-14.yaml b/ballotQuestions/2026/25-14.yaml new file mode 100644 index 000000000..3ab47b8ee --- /dev/null +++ b/ballotQuestions/2026/25-14.yaml @@ -0,0 +1,19 @@ +# ballotQuestions/25-14.yaml +id: "25-14" +billId: "H5004" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would make most records held by the Legislature and the Office of the + Governor public records under the Massachusetts Public Records Law. This proposed law would + exempt documents related to the development of public policy and communications between + legislators and their constituents, if those communications are reasonably related to a + constituent’s request for assistance in obtaining government-provided benefits or services or + interacting with a government agency. +pdfUrl: "https://malegislature.gov/Bills/194/H5004.pdf" diff --git a/ballotQuestions/2026/25-15.yaml b/ballotQuestions/2026/25-15.yaml new file mode 100644 index 000000000..f4b2fc5fb --- /dev/null +++ b/ballotQuestions/2026/25-15.yaml @@ -0,0 +1,52 @@ +# ballotQuestions/25-15.yaml +id: "25-15" +billId: "H5005" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would establish a Nature for All Fund that, subject to appropriation by + the Legislature, would receive 50% of state taxes collected from the sale and use of sporting + goods, recreational vehicles, and golf courses for the first year of its operation. After July 1, + 2028, the Nature for All Fund would begin receiving, subject to appropriation by the Legislature, + 100% of state taxes collected on the sale and use of sporting goods, recreational vehicles, and + golf courses. The sales tax revenue received by the Nature for All Fund would exclude sales tax + revenue transferred to the Massachusetts Bay Transportation Authority State and Local + Contribution Fund and the School Modernization and Reconstruction Trust Fund. The proposed + law would allow the state Executive Office of Energy and Environmental Affairs to spend the + money in the Nature for All Fund for natural resource conservation. + + The proposed law would allow public and private donations to the Nature for All Fund. + The proposed law would prevent the state comptroller from transferring surplus funds in the + Nature for All Fund at the end of the fiscal year. It would also allow state agencies, + municipalities, public charities involved in natural resource conservation, tribal governments, + and other regional public entities to receive money from the Nature for All Fund. + Natural resource conservation would include the conservation or restoration of land to + protect drinking water, streams, rivers, lakes, coasts, farms, forests, connectivity between open + spaces, and lands and natural resources of indigenous cultural significance. Natural resource + conservation would also include the creation, improvement, and management of parks, trails, + greenspaces or outdoor recreation access. + + The proposed law would establish a 15-member Nature for All Board that consists of five + state officials and ten members of the public appointed by the Governor. The proposed law + would require the ten members of the public to include representatives of underserved + communities and indigenous peoples and at least one person with expertise or experience in + natural resource conservation. The proposed law would allow the state Executive Office of + Energy and Environmental Affairs to spend money from the Nature for All Fund to hire staff to + manage the fund. The proposed law would also require the Nature for All Board to establish + rules about how the money in the Nature for All Fund should be spent, including rules regarding + alignment with environmental justice principles, access to and restoration of lands and natural + resources of indigenous cultural significance, promotion of affordable housing development, and + other matters regarding spending and bond issuance. + + The proposed law would require the state Executive Office of Energy and Environmental + Affairs to submit an annual report to various state committees regarding the funds spent to buy or + improve land in cities and towns containing environmental justice populations. + + The proposed law would take effect on July 1, 2027. +pdfUrl: "https://malegislature.gov/Bills/194/H5005.pdf" diff --git a/ballotQuestions/2026/25-17.yaml b/ballotQuestions/2026/25-17.yaml new file mode 100644 index 000000000..ca9e7c9a7 --- /dev/null +++ b/ballotQuestions/2026/25-17.yaml @@ -0,0 +1,26 @@ +# ballotQuestions/25-17.yaml +id: "25-17" +billId: "H5006" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would change the limit on how much revenue the state can collect in a + given year. The proposal would limit state revenue in a given year to the net amount of state + revenue from the year before, increased by a rate equal to the average growth of wages and + salaries in Massachusetts over the most recent three years. If revenue collected by the state in a + given year exceeds the limit, the excess amount would be refunded to taxpayers the following + year. The proposed law would include all revenue from the surtax on incomes over $1 million + when calculating the revenue limit and when determining whether state revenue exceeds the + limit. + + The provisions of the proposed law would all be effective as of July 1, 2027. + + The proposed law states that, if any of its parts were declared invalid, the other parts + would stay in effect. +pdfUrl: "https://malegislature.gov/Bills/194/H5006.pdf" diff --git a/ballotQuestions/2026/25-18.yaml b/ballotQuestions/2026/25-18.yaml new file mode 100644 index 000000000..1a451b940 --- /dev/null +++ b/ballotQuestions/2026/25-18.yaml @@ -0,0 +1,21 @@ +# ballotQuestions/25-18.yaml +id: "25-18" +billId: "H5007" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would, over a period of three years, lower the tax rates on (1) personal + taxable income consisting of interest and dividends, and (2) personal taxable income other than + interest, dividends or capital gain income, such as wages and salaries. Both tax rates were 5.00% + for tax year 2024. The proposed law would set both tax rates at 4.67% for tax year 2027, 4.33% + for tax year 2028, and 4.00% beginning in tax year 2029. + + The proposed law states that, if any of its parts were declared invalid, the other parts + would stay in effect. +pdfUrl: "https://malegislature.gov/Bills/194/H5007.pdf" diff --git a/ballotQuestions/2026/25-21.yaml b/ballotQuestions/2026/25-21.yaml new file mode 100644 index 000000000..29706c313 --- /dev/null +++ b/ballotQuestions/2026/25-21.yaml @@ -0,0 +1,22 @@ +# ballotQuestions/25-21.yaml +id: "25-21" +billId: "H5008" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + TThis proposed law would limit the annual rent increase for residential units in + Massachusetts to the annual increase in the Consumer Price Index for a 12-month period, or 5%, + whichever is lower. The law would not apply to units in owner-occupied buildings with four or + fewer units; units that are subject to regulation by a public authority; units rented to transient + guests for periods of less than 14 days; units operated for educational, religious, or non-profit + purposes; and units that received their residential certificate of occupancy within the last 10 + years. The rent in place for a unit as of January 31, 2026, would serve as the base rent for the + annual rent increase limit. A violation of this law would be a violation of the state consumer + protection law. +pdfUrl: "https://malegislature.gov/Bills/194/H5008.pdf" diff --git a/ballotQuestions/2026/25-22.yaml b/ballotQuestions/2026/25-22.yaml new file mode 100644 index 000000000..f164fd3a7 --- /dev/null +++ b/ballotQuestions/2026/25-22.yaml @@ -0,0 +1,17 @@ +# ballotQuestions/25-22.yaml +id: "25-22" +billId: "H5009" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: |- + This proposed law would specify that employees of the Committee for Public Counsel + Services (“CPCS”) are permitted to engage in collective bargaining with their employer. It would + also require CPCS, after executing a collective bargaining agreement, to request the + appropriation necessary to fund such agreement from the Governor. +pdfUrl: "https://malegislature.gov/Bills/194/H5009.pdf" diff --git a/ballotQuestions/2026/25-37.yaml b/ballotQuestions/2026/25-37.yaml new file mode 100644 index 000000000..f7175a23d --- /dev/null +++ b/ballotQuestions/2026/25-37.yaml @@ -0,0 +1,57 @@ +# ballotQuestions/25-37.yaml +id: "25-37" +billId: "H5010" +court: 194 +electionYear: 2026 +type: initiative_statute +ballotStatus: legislature +ballotQuestionNumber: null +relatedBillIds: [] +description: null +atAGlance: null +fullSummary: + "This proposed law would change the method for calculating stipends paid to certain state + legislators on top of their base salaries. + + Under the proposed law, legislators would receive stipends, subject to appropriation, + based on their leadership positions and/or committee membership. The Senate President and + Speaker of the House (Group 1) would receive a stipend of up to 75% of their base salaries. The + floor leaders of the two largest parties in each house of the legislature and the chairs of each + house’s ways and means committee (Group 2) would receive a stipend of up to 50% of their base + salaries. The assistant and second assistant floor leaders of the two largest parties in each house, + the third assistant floor leaders of the minority party in each house, and the vice chairs and + ranking minority members of each house’s ways and means committee (Group 3) and the chairs + of eligible committees (Group 4) would receive a stipend of up to 33% of their base salaries. + Legislators who are not in Groups 1-4 who are members of an eligible committee would receive + a stipend of up to 20% of their base salaries. A committee would be “eligible” under the + proposed law if it was established by the joint rules of the House and Senate and had more than + 50 bills referred to it before March 1 of the first year of the legislative session. + + The proposed law would provide a further 20% stipend to three categories of senators: (1) + any senator in Group 2 or Group 3 who is a member of one or more eligible committees, (2) any + senator in Group 4 who is a member of more than one eligible committee, or (3) any senator not + in Groups 1-4 who is a member of more than four eligible committees. + + Under the proposed law, no senator could receive a stipend for more than two positions, + and no representative could receive a stipend for more than one position. + + This proposed law would also establish various terms and conditions for the payment of + legislative compensation. A Group 4 leader would receive 50% of the leader’s stipend in + biweekly paychecks; the leader would receive the other 50% in the last paycheck of the year if + the leader’s eligible committee had achieved compliance that year. Under the proposed law, + “compliance” would mean that, on or before the first Monday in December (in the first year of + the legislative session) or on or before the last Friday in May (in the second year of the session), + an eligible committee had (1) held a public hearing and public mark-up session on each bill + referred to it before a specified cutoff date and (2) approved all of its reports by a majority vote + at a public meeting with a quorum present. A Group 1-3 leader would receive 50% of the + leader’s stipend in biweekly paychecks; the leader would receive the other 50%, multiplied by + the percentage of eligible committees achieving compliance in that year, in the last paycheck of + the year. The proposed law would require the House and Senate clerks to jointly certify + compliance and to calculate the compliance percentage each legislative year. Except as otherwise + provided, legislators would receive their compensation on a biweekly basis. + + Legislators who served in a qualifying position for less than the full biennial session + would receive prorated stipends. + + The proposed law would take effect on January 6, 2027." +pdfUrl: "https://malegislature.gov/Bills/194/H5010.pdf" diff --git a/components/EditProfilePage/FollowingTab.tsx b/components/EditProfilePage/FollowingTab.tsx index 0c5a33e0d..fcff31569 100644 --- a/components/EditProfilePage/FollowingTab.tsx +++ b/components/EditProfilePage/FollowingTab.tsx @@ -1,10 +1,15 @@ +import { dbService } from "components/db/api" import { useBill } from "components/db" import { formatBillId } from "components/formatting" import { Internal } from "components/links" -import { FollowBillButton } from "components/shared/FollowButton" +import { + FollowBallotQuestionButton, + FollowBillButton +} from "components/shared/FollowButton" import { collection, onSnapshot, query, where } from "firebase/firestore" import { useTranslation } from "next-i18next" import { ComponentProps, useEffect, useMemo, useState } from "react" +import { useAsync } from "react-async-hook" import { useAuth } from "../auth" import { Alert, Col, Row, Spinner } from "../bootstrap" import { firestore } from "../firebase" @@ -24,6 +29,12 @@ export function FollowingTab({ className }: { className?: string }) { ItemCard={FollowedBillCard} {...useFollowedBills()} /> + > => useTopicSubscription("bill") +const useFollowedBallotQuestions = (): LoadableItemsState< + ComponentProps +> => useTopicSubscription("ballotQuestion") + const useFollowedUsers = (): LoadableItemsState< ComponentProps > => useTopicSubscription("testimony") function useTopicSubscription( - type: "bill" | "testimony" + type: "bill" | "ballotQuestion" | "testimony" ): LoadableItemsState { const [state, setState] = useState>({ items: [], @@ -59,7 +74,12 @@ function useTopicSubscription( : null, [uid] ) - const topicKey = type === "bill" ? "billLookup" : "userLookup" + const topicKey = + type === "bill" + ? "billLookup" + : type === "ballotQuestion" + ? "ballotQuestionLookup" + : "userLookup" useEffect(() => { if (!subscriptionRef || !uid) return @@ -88,7 +108,7 @@ function useTopicSubscription( ) return () => unsubscribe() - }, [subscriptionRef, uid, type]) + }, [subscriptionRef, uid, type, topicKey, t]) return state } @@ -123,3 +143,43 @@ function FollowedBillCard({ ) } + +function FollowedBallotQuestionCard({ + ballotQuestionId, + court +}: { + ballotQuestionId: string + court: number +}) { + const { t } = useTranslation("editProfile") + const { + loading, + error, + result: bq + } = useAsync( + () => dbService().getBallotQuestion({ id: ballotQuestionId }), + [ballotQuestionId] + ) + if (loading) return + if (error) return {t("content.error")} + if (!bq) return null + + const label = + bq.ballotQuestionNumber != null + ? `Question ${bq.ballotQuestionNumber}` + : bq.description ?? ballotQuestionId + + return ( +
+ + + {label} + + + + + +
+
+ ) +} diff --git a/components/Footer/Footer.tsx b/components/Footer/Footer.tsx index bbe2ada39..a8e7f014e 100644 --- a/components/Footer/Footer.tsx +++ b/components/Footer/Footer.tsx @@ -224,6 +224,9 @@ const BrowseList = () => { ) : null} {t("navigation.browseBills")} + + {t("navigation.browseBallotQuestions")} + ) } diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 029bcc35f..f6f6575fa 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -9,6 +9,7 @@ import { flags } from "./featureFlags" import { Avatar, + NavbarLinkBallotQuestions, NavbarLinkAI, NavbarLinkBills, NavbarLinkHearings, @@ -81,6 +82,7 @@ const MobileNav: React.FC> = () => { return (