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
{{ message }}
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
<!-- Issues should follow our Issue Guidelines, which are at https://github.com/GSA/code-gov-front-end/blob/master/CONTRIBUTING.md#issue-guidelines -->
6
+
<!-- Issues should follow our Issue Guidelines, which are at https://github.com/GSA/uswds-sf-lightning-community/blob/master/CONTRIBUTING.md#issue-guidelines -->
8
7
9
8
**Describe the bug**
9
+
10
10
<!-- A clear and concise description of what the bug is. -->
11
11
12
12
**To Reproduce**
13
+
13
14
<!-- Steps to reproduce the behavior:
14
15
1. Go to '...'
15
16
2. Click on '....'
16
17
3. Scroll down to '....'
17
18
4. See error
18
19
-->
19
-
1.
20
-
2.
20
+
21
+
1.
22
+
2.
21
23
22
24
**Expected behavior**
25
+
23
26
<!-- A clear and concise description of what you expected to happen. -->
24
27
25
28
**Screenshots**
29
+
26
30
<!-- If applicable, add screenshots to help explain your problem. -->
27
31
28
32
**Desktop (please complete the following information):**
29
-
- OS: [e.g. iOS]
30
-
- Browser [e.g. chrome, safari]
31
-
- Version [e.g. 22]
33
+
34
+
- OS: [e.g. iOS]
35
+
- Browser [e.g. chrome, safari]
36
+
- Version [e.g. 22]
32
37
33
38
**Smartphone (please complete the following information):**
34
-
- Device: [e.g. iPhone6]
35
-
- OS: [e.g. iOS8.1]
36
-
- Browser [e.g. stock browser, safari]
37
-
- Version [e.g. 22]
39
+
40
+
- Device: [e.g. iPhone6]
41
+
- OS: [e.g. iOS8.1]
42
+
- Browser [e.g. stock browser, safari]
43
+
- Version [e.g. 22]
38
44
39
45
**Additional context**
46
+
40
47
<!-- Add any other context about the problem here. -->
<!-- Issues should follow our Issue Guidelines, which are at https://github.com/GSA/code-gov-front-end/blob/master/CONTRIBUTING.md#issue-guidelines -->
6
+
<!-- Issues should follow our Issue Guidelines, which are at https://github.com/GSA/uswds-sf-lightning-community/blob/master/CONTRIBUTING.md#issue-guidelines -->
8
7
9
8
**Is your feature request related to a problem? Please describe.**
9
+
10
10
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
11
11
12
12
**Describe the solution you'd like**
13
+
13
14
<!-- A clear and concise description of what you want to happen. -->
14
15
15
16
**Describe alternatives you've considered**
17
+
16
18
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
17
19
18
20
**Additional context**
21
+
19
22
<!-- Add any other context or screenshots about the feature request here. -->
We're so glad you're thinking about contributing to a U.S. Government open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We love all friendly contributions.
4
4
5
5
## How to contribute to this project
6
6
7
7
- We want to ensure a welcoming environment for all of our projects. Our staff follows this [Code of Conduct](CODE_OF_CONDUCT.md) and all contributors should do the same.
8
8
- Report bugs and request features via Github Issues
9
-
- If you are not sure that the issue is related to the website you can [create the issue in our general repository](https://github.com/gsa/code-gov/issues/new): [code-gov](https://github.com/gsa/code-gov)
9
+
- If you are not sure that the issue is related to the website you can [create the issue in our general repository](https://github.com/gsa/code-gov/issues/new): [code-gov](https://github.com/gsa/code-gov)
10
10
-[Email us](mailto://code@gsa.gov) your ideas on how to improve the code-gov-front-end. We're always open to suggestions.
11
11
- Create a [Github pull request](https://help.github.com/articles/creating-a-pull-request/) with new functionality or fixing a bug.
12
12
- Improve or create documentation.
@@ -19,12 +19,12 @@ As noted in [LICENSE](LICENSE.md), this project is in the worldwide public domai
19
19
20
20
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
21
21
22
-
# Issue Guidelines
23
-
In the interest of making it easier for our contributors to manage site issues, we request that issues follow certain guidelines. Our developers mainly use [issues](/issues) to identify and prioritize their work. If you have questions about code.gov or would like start a general discussion, we kindly request that you email us at code@gsa.gov. Our issue guidelines are a living document and a work in progress, so feel free to offer feedback on it, by emailing us at code@gsa.gov
24
-
-**Specific**: The issue makes specific requests. An example of a specific request would be `Reduce the Size of Images`. An example of a non-specific request would be `Improve Site Performance`.
25
-
-**Measurable**: The issue has specific requirements and can be closed when those requirements are met. This helps us track the progress in addressing problems. For example, tech debt is always something to work on, so we should create separate issues for this, such as `Consolidate Styling of Repo and Task Cards` and `Convert Validator from Monaco Editor to jsoneditor`, rather than `Address Tech Debt`.
26
-
-**Actionable**: An issue should request a specific action from a member of the code.gov team or community. An example of something actionable would be `Remove Debugging Text from Loading Screen`. An example of something that isn't actionable by our team or community is `My city should be forking Code.gov`.
27
-
-**Realistic**: The issue is something that is achievable by the resources of the project, including contributions from the open source community. An example of a realistic issue is `Include Line Numbers in Validator`.
28
-
-**Time-Aware**: The issue is something that can be resolved within 6 months. If you think your issue might take longer, we encourage you to break up your issues into smaller issues (like stepping stones) that we can address. We can still work on big problems, but it is easier for us to track progress and identify what we need to work on, when big problems are broken up into smaller ones.
29
-
30
-
22
+
##Issue Guidelines
23
+
24
+
In the interest of making it easier for our contributors to manage site issues, we request that issues follow certain guidelines. Our developers mainly use [issues](/issues) to identify and prioritize their work. If you have questions about code.gov or would like start a general discussion, we kindly request that you email us at code@gsa.gov. Our issue guidelines are a living document and a work in progress, so feel free to offer feedback on it, by emailing us at [gsalabs@gsa.gov](mailto://gsalabs@gsa.gov)
25
+
26
+
-**Specific**: The issue makes specific requests. An example of a specific request would be `Reduce the Size of Images`. An example of a non-specific request would be `Improve Site Performance`.
27
+
-**Measurable**: The issue has specific requirements and can be closed when those requirements are met. This helps us track the progress in addressing problems. For example, tech debt is always something to work on, so we should create separate issues for this, such as `Consolidate Styling of Repo and Task Cards` and `Convert Validator from Monaco Editor to jsoneditor`, rather than `Address Tech Debt`.
28
+
-**Actionable**: An issue should request a specific action from a member of the code.gov team or community. An example of something actionable would be `Remove Debugging Text from Loading Screen`. An example of something that isn't actionable by our team or community is `My city should be forking Code.gov`.
29
+
-**Realistic**: The issue is something that is achievable by the resources of the project, including contributions from the open source community. An example of a realistic issue is `Include Line Numbers in Validator`.
30
+
-**Time-Aware**: The issue is something that can be resolved within 6 months. If you think your issue might take longer, we encourage you to break up your issues into smaller issues (like stepping stones) that we can address. We can still work on big problems, but it is easier for us to track progress and identify what we need to work on, when big problems are broken up into smaller ones.
Copy file name to clipboardExpand all lines: INSTALLATION.md
+62-62Lines changed: 62 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,31 +2,31 @@
2
2
3
3
## Dependencies
4
4
5
-
* Font Awesome
6
-
***Required For** fontAwesomeIcon and socialMediaNavMenu components.
7
-
* Register with Font Awesome to create icon kits, [https://fontawesome.com/start](https://fontawesome.com/start). You'll receive a JS snippet to include in your site. Hold onto that for later.
5
+
- Font Awesome
6
+
-**Required For** fontAwesomeIcon and socialMediaNavMenu components.
7
+
- Register with Font Awesome to create icon kits, [https://fontawesome.com/start](https://fontawesome.com/start). You'll receive a JS snippet to include in your site. Hold onto that for later.
8
8
9
9
## Instructions
10
10
11
-
* Two methods available to push code to your sandbox
12
-
* Install via [https://test.salesforce.com/packaging/installPackage.apexp?p0=04t350000001lQx](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t350000001lQx)
13
-
* Clone this repository and push
14
-
* Enable Communities in your Salesforce org
15
-
* For new communities
16
-
* Create new community (Setup > Communities > New Template (for e.g. Customer Account Portal)
17
-
* Provide Name > Builder > Theme
18
-
* Select USWDS Lightning Community
19
-
* For existing communities
20
-
* (Setup > Communities> Builder > Theme)
21
-
* Select USWDS Lightning Community
22
-
* Enter name of community and a community specific url (if desired)
- Two methods available to push code to your sandbox
12
+
- Install via [https://test.salesforce.com/packaging/installPackage.apexp?p0=04t350000001lQx](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t350000001lQx)
13
+
- Clone this repository and push
14
+
- Enable Communities in your Salesforce org
15
+
- For new communities
16
+
- Create new community (Setup > Communities > New Template (for e.g. Customer Account Portal)
17
+
- Provide Name > Builder > Theme
18
+
- Select USWDS Lightning Community
19
+
- For existing communities
20
+
- (Setup > Communities> Builder > Theme)
21
+
- Select USWDS Lightning Community
22
+
- Enter name of community and a community specific url (if desired)
@@ -36,62 +36,62 @@ Navigate to Experience Builder by clicking Administration in the top left, and c
36
36
37
37
This theme relies on five navigation menus:
38
38
39
-
* Main Navigation
40
-
* Header Secondary Navigation - below Search
41
-
* Limit this nav to three or fewer entries
42
-
* Main Footer Nav
43
-
* Footer Secondary Nav
44
-
* Many agencies require standard links on every website such as Privacy Policy, Accessibility, SORN, etc.
45
-
* Social Media Nav
39
+
- Main Navigation
40
+
- Header Secondary Navigation - below Search
41
+
- Limit this nav to three or fewer entries
42
+
- Main Footer Nav
43
+
- Footer Secondary Nav
44
+
- Many agencies require standard links on every website such as Privacy Policy, Accessibility, SORN, etc.
45
+
- Social Media Nav
46
46
47
47
#### Change Theme Layout and Settings
48
48
49
-
* Settings > Theme > Configure
50
-
* Change Theme Layout Component for the Default and Login Theme Layouts to USWDS Theme Layout. Accept alert and click OK.
51
-
* Add Theme Images
52
-
* Navigate to Theme (paint brush)
53
-
* Update Images
54
-
* Upload your organization logo under Company Logo. Update Login Page Background Image if desired.
55
-
* A logo with transparent background is best as the header and footer are different colors.
56
-
* Update Theme Settings
57
-
* Work down the list of theme settings. As you tab through, the underlying page will update after each field.
58
-
* If you created a community specific URL ...force.com/blah, update the Path to Home Page section to include beginning of URI path
59
-
* Enter navigation menu names for each Nav Menu Name section
60
-
* If you plan to override a particular section, toggle the section on to reveal an Aura.Component[] drop zone
61
-
* Update Theme Colors
62
-
* This repository ships with base theme colors but can be customized to specific needs. While not comprehensive, the following maps color settings to components in the community.
63
-
* Action Color
64
-
* Tab Component (specifically active tab)
65
-
* Tile Menu
66
-
* Overlay Text Color
67
-
* User Profile Menu
68
-
* Detail Text Color
69
-
* Tabs (inactive)
49
+
- Settings > Theme > Configure
50
+
- Change Theme Layout Component for the Default and Login Theme Layouts to USWDS Theme Layout. Accept alert and click OK.
51
+
- Add Theme Images
52
+
- Navigate to Theme (paint brush)
53
+
- Update Images
54
+
- Upload your organization logo under Company Logo. Update Login Page Background Image if desired.
55
+
- A logo with transparent background is best as the header and footer are different colors.
56
+
- Update Theme Settings
57
+
- Work down the list of theme settings. As you tab through, the underlying page will update after each field.
58
+
- If you created a community specific URL ...force.com/blah, update the Path to Home Page section to include beginning of URI path
59
+
- Enter navigation menu names for each Nav Menu Name section
60
+
- If you plan to override a particular section, toggle the section on to reveal an Aura.Component[] drop zone
61
+
- Update Theme Colors
62
+
- This repository ships with base theme colors but can be customized to specific needs. While not comprehensive, the following maps color settings to components in the community.
63
+
- Action Color
64
+
- Tab Component (specifically active tab)
65
+
- Tile Menu
66
+
- Overlay Text Color
67
+
- User Profile Menu
68
+
- Detail Text Color
69
+
- Tabs (inactive)
70
70
71
71
#### Add Font Awesome JS
72
72
73
-
Fontawsome needs to be a trusted site for both scripts and other resources. There are two sites that need to be defined by Salesforce:
73
+
Fontawsome needs to be a trusted site for both scripts and other resources. There are two sites that need to be defined by Salesforce:
74
74
75
75
1. Under Salesforce Setup (Not in Experience Builder) search for CSP Trusted Sites.
76
76
1. Click New Trusted Site.
77
-
1. Trusted Site Name: kitfreefontawsome
78
-
1. Trusted Site URL: [https://kit-free.fontawesome.com](https://kit-free.fontawesome.com)
79
-
1. Context: Communities
80
-
1. Leave all other boxes checked
77
+
1. Trusted Site Name: kitfreefontawsome
78
+
1. Trusted Site URL: [https://kit-free.fontawesome.com](https://kit-free.fontawesome.com)
79
+
1. Context: Communities
80
+
1. Leave all other boxes checked
81
81
1. Click Save
82
82
83
-
Back in Experience Builder > Settings > Security.
83
+
Back in Experience Builder > Settings > Security.
84
84
85
85
1. Change the Content Secuirty Policy (CSP) to "Allow Inline Scripts and Script Access to Whitelisted Third-party Hosts
0 commit comments