You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ ES6 and above is allowed. A feature is allowed if it has been formally published
30
30
31
31
#### CSS Methodologies:
32
32
33
-
Recommend BEM as much as possible (as opposed to OOCSS, SMACSS, ITCSS).
33
+
This project uses [CSS Modules](https://github.com/css-modules/css-modules) with the majority of the classes scoped at the component level. There is a `global.css` file to put classes that should be applied sitewide.
Copy file name to clipboardExpand all lines: README.md
+3-24Lines changed: 3 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ It’s a React.js-based browser application with a Node.js backend with the foll
34
34
npm start
35
35
```
36
36
37
-
5. (Optional) Set up Google Sheets foruser tasking, saving important changes and repeated, “dictionary” changes. If you skip this step, everything will work fine, but your UI will show all pages when logged in, not just your assigned pages. See the section below on [Google Sheets](#google-sheets-tasking-and-significant-changes).
37
+
5. (Optional) Set up Google Sheets for saving important changes and repeated, “dictionary” changes. See the section below on [Google Sheets](#google-sheets-tasking-and-significant-changes).
## Google Sheets (Tasking and Significant Changes)
66
+
## Google Sheets (Significant Changes)
67
67
68
68
The analysis UI keeps some data and runtime configuration separate from the public web monitoring database ([`web-monitoring-db`](http://github.com/edgi-govdata-archiving/web-monitoring-db)). This data is kept in 3 Google Docs spreadsheets. You can use the UI without configuring them, but you will be missing some functionality.
In the next two sections, you’ll create the 3 sheets.
78
-
79
-
80
-
### Creating Tasking Sheets
81
-
82
-
User tasking data (analysis timeframes, who is assigned what domains and pages, etc.) is currently kept in a Google Docs spreadsheet foreasy manipulation by project admins. To enable taskingin your local build, you’ll need to create your own copy of this spreadsheet.
83
-
84
-
You can start off by making a copy of [this example tasking sheet](https://docs.google.com/spreadsheets/d/1l5TAoJBbX6xV7ZYF9g5TnryJ4-SsatXvb-6cWuTMW5A/). Otherwise, you can create one from scratch: create a spreadsheet in Google Docs. It should have two worksheets or tabs, named:
85
-
86
-
1. `Tasks` (this should be the first tab)
87
-
2. `Timeframes`
88
-
89
-
**The `Tasks` sheet** should be formatted such that the first column is a list of usernames/e-mail addresses. The rest of the columns in that row are the names of domains that the user in the first column is assigned (one domain per column). Domains are the `site` attribute of a page in [the API](https://api.monitoring.envirodatagov.org). The first row is reserved for column headers. The sheet might look like:
In this case, [email protected] is assigned two domains, while[email protected] is assigned only one. There can be any number of columns on each row.
77
+
In the next two sections, you’ll create the 2 sheets.
99
78
100
79
**The `Timeframes` sheet** holds information about analysis timeframes. The analysis team currently works on changes in 3-day chunks and this sheet lets you define when those chunks start and end. It should have exactly two columns. The first is a date (in ISO 8601 format) that a timeframe starts on. The second is the duration of that timeframe in seconds (e.g. `259200`for 3 days). Timeframes are assumed to repeat until a new timeframe is started. Like `tasks`, the first row is reserved for column headers. This sheet might look like:
0 commit comments