Skip to content
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Devographics Monorepo

This is the codebase that runs the Devographics surveys, such as [State of JS](http://stateofjs.com/) and [State of CSS](https://stateofcss.com/).
This is the codebase that runs the Devographics surveys, such as [State of JS](https://stateofjs.com/) and [State of CSS](https://stateofcss.com/).

## Setup

Expand Down
2 changes: 1 addition & 1 deletion capture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The file `config/config.yml` should have the following structure:
```yaml
# the base URL to use, can be either local or remote,
baseUrl: http://localhost:9000
# optionnaly if you want to use a local sitemap
# optionally if you want to use a local sitemap
sitemap: './sitemap.yml'
# configuration for mosaic generation
mosaic:
Expand Down
4 changes: 2 additions & 2 deletions results-astro/src/lib/sitemap/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface BaseBlockDefinition {

/**
* A processed sitemap section, to be used in the result app
* (@devographis/types only expose the raw sitemap type that can be used by other apps)
* (@devographics/types only expose the raw sitemap type that can be used by other apps)
*
* TODO: work in progress
* It's actually the type of a raw sitemap
Expand Down Expand Up @@ -79,7 +79,7 @@ export interface PageDefinition {
}
}
filters: Array<{
conditons: Array<{
conditions: Array<{
fieldId: "string",
sectionId: string,
operator: "in",
Expand Down
2 changes: 1 addition & 1 deletion results/node_src/create_pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export const createPagesSingleLoop = async ({
createPage(pageObject)
}

// also redirect "naked" paths (whithout a locale) to en-US
// also redirect "naked" paths (without a locale) to en-US
// TODO: this doesn't seem to work during development
createRedirect({
fromPath: getLocalizedPath(page.path, null),
Expand Down
2 changes: 1 addition & 1 deletion results/src/core/charts/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getMode = (units: Units, mode: Mode) => {
}
}

// get all of one type of unit for a buucket
// get all of one type of unit for a bucket
// (count__1, count__2, etc. )
const getAllBucketUnits = (bucket: Bucket, unit: BucketUnits) => {
const bucketWithAllOneUnits = pickBy(bucket, (value, key) => key.includes(unit))
Expand Down
2 changes: 1 addition & 1 deletion results/src/core/charts/toolsRatiosLineChart/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ interface RankingChartProps {

/*

Note: when displaying mulitple series via DynamicDataLoader
Note: when displaying multiple series via DynamicDataLoader
we need to call processBlockData() again whenever the metric changes,
which will not happen unless we call it from within the chart

Expand Down
2 changes: 1 addition & 1 deletion shared/permissions/permissions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe("vulcan:users/permissions", () => {
expect(() => checkFields(null, Dummies, ["adminField"])).toThrow();
expect(checkFields(null, Dummies, ["guestField"])).toBe(true);
});
test("checkFields with document-based permissions do not throw for ambigous fields (those field need the document to be checked)", () => {
test("checkFields with document-based permissions do not throw for ambiguous fields (those field need the document to be checked)", () => {
const res = checkFields(null, Dummies, [
"guestField",
"ownerField",
Expand Down
2 changes: 1 addition & 1 deletion shared/permissions/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export const canFilterDocument = (
* Keep only fields readable by current user
*
* DOESN'T SUPPORT NESTING
* Use a second schema + cutom code for nesting
* Use a second schema + custom code for nesting
* Remove restricted fields from a document
* @param document
* @param schema
Expand Down
2 changes: 1 addition & 1 deletion shared/permissions/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export type PermissionChecker = (
export type PermissionDefinition = PermissionGroupString | PermissionChecker

/**
* If a function is ommited,
* If a function is omitted,
* only admin/server-side calls can read, set or update the value
*
*/
Expand Down
2 changes: 1 addition & 1 deletion surveyform/cypress/plugins/mail.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = (on, config) => {
mailServer.bind((addr, id, email) => {
console.log("--- email ---");
console.log(addr, id, email);
// store the body for the email adress
// store the body for the email address
lastEmail[email.headers.to] = email.html || email.body;
});
console.log("mail server at port %d", port);
Expand Down