Skip to content

Instantly share code, notes, and snippets.

type Query {
nonprofitOrgDonationsDetails(nonprofitOrgId: Int): NonprofitOrgDonationsDetails
}
type NonprofitOrgDonationsDetails {
"""
Presentational attribute. The state in which we display
the nonprofit’s ability to receive donations.
"""
state: NonprofitOrgDonationsState!
import { useToolTipGuide, ToolTipGuideProvider } from 'Hooks/useToolTipGuide'
// … imports …
const DonationPortalEditContainer = () => {
// … Hooks and Setup …
const toolTipContext = useToolTipGuide([
{
id: 'logo',
hideOnEventName: 'Fundraising_Donations_Edit_Donation_Tip_Acknowledged',
@calvinszeto
calvinszeto / content-1.xml
Created May 11, 2019 14:44
Issue 127218 - Renaming paragraph style in Writer destroys the document
<?xml version="1.0" encoding="UTF-8"?>
<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:ooo="http://openoffice.org/2004/office" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:ooow="http://openoffice.org/2004/
@calvinszeto
calvinszeto / queries.sql
Last active April 11, 2019 18:50
Transfer Service Test
/* What does the new service funnel look like for users who saw the landing page? */
select name, count(*) views from
(
select message:event:domain || '.' || message:event:object name, message:event:user:uuid uuid, min(timestamp)
from prod.event_bus_prod.eb_events
where timestamp > '2019-04-08 22:02:00.000'
and type like 'event.eventstream.home_services.%.viewed'
and uuid in
(
select distinct message:event:user:uuid uuid from prod.event_bus_prod.eb_events
@calvinszeto
calvinszeto / queries.sql
Last active April 12, 2019 17:55
Abandon Questionnaire Results
/* ALL USERS V2 */
/* How many users who saw the questionnaire actually submitted it? */
select
(
select count(distinct message:event:user:uuid)
from prod.event_bus_prod.eb_events
where type = 'event.eventstream.home_services.abandon_questionaire.submitted'
and message:event:user:test != true
and timestamp > '2019-04-10'