Skip to content

Commit 970b3bb

Browse files
Cleaning up a few things.
Updates Include: --- - [X] Added Help link on messages panel as I had a few people ask why log messages were not showing up and there was an assumption that native logs would show up here, and that is not the case. - [X] Updating Documentation
1 parent 974d2c9 commit 970b3bb

File tree

9 files changed

+47
-7
lines changed

9 files changed

+47
-7
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ Once you have something you would like to share, check out our Contribution Guid
4343

4444
[![Contribution Guide](https://img.shields.io/badge/Contribution_Guide-EEEEEE.svg?logo=github&logoColor=black&style=for-the-badge)](https://github.com/sfccdevops/sfcc_developers_core/blob/develop/.github/CONTRIBUTING.md)
4545

46+
About the Author
47+
---
48+
49+
> [Peter Schmalfeldt](https://peterschmalfeldt.com/) is a Certified Senior Salesforce Commerce Cloud Developer with over 20 years of experience building eCommerce websites, providing everything you need to design, develop & deploy eCommerce applications for Web, Mobile & Desktop platforms.
50+
4651
Disclaimer
4752
---
4853

4.62 KB
Loading

cartridges/sfcc_dev_tools/cartridge/client/default/js/vue/components/App.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@
169169
<div class="subsection" v-if="subsection === 'warn' && debugData.messages && typeof debugData.messages.warn !== 'undefined'">
170170
<messages :list="debugData.messages.warn" />
171171
</div>
172+
173+
<!-- No Messages -->
174+
<div class="subsection" v-if="!subsection">
175+
<messages />
176+
</div>
172177
</div>
173178
</transition>
174179

cartridges/sfcc_dev_tools/cartridge/client/default/js/vue/components/Messages.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@
3535
<div class="divider-line"></div>
3636
</li>
3737
</ul>
38-
<span v-else class="no-results">No Messages</span>
38+
<div v-else class="no-results">
39+
<span>No Messages</span>
40+
<a data-devtool href="https://github.com/sfccdevops/sfcc_developers_core/tree/develop/cartridges/sfcc_dev_tools#usage" target="_blank">
41+
Need Help?
42+
</a>
43+
</div>
3944
</template>
4045

4146
<script>

cartridges/sfcc_dev_tools/cartridge/client/default/scss/_drawer.scss

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,24 @@
197197
}
198198

199199
.no-results {
200-
color: #999;
200+
color: #fff;
201201
display: block;
202202
font-weight: 300;
203-
padding: 6px 10px;
203+
padding: 6px 18px;
204204
text-transform: uppercase;
205+
206+
a {
207+
color: #999;
208+
display: block;
209+
margin-top: 14px;
210+
font-size: 14px;
211+
212+
&:hover,
213+
&:focus {
214+
color: #fff;
215+
text-decoration: underline;
216+
}
217+
}
205218
}
206219

207220
.button-wrapper {

cartridges/sfcc_dev_tools/cartridge/static/default/css/dev_tools.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cartridges/sfcc_dev_tools/cartridge/static/default/js/dev_tools.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sfcc_developers_core",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "SFCC Developers Core Cartridge",
55
"scripts": {
66
"test": "eslint \"**/client/**/*.{js,vue}\" --fix",
@@ -13,6 +13,18 @@
1313
"node": ">= 8.12.0",
1414
"npm": ">= 6.4.0"
1515
},
16+
"contributors": [
17+
{
18+
"name": "Peter Schmalfeldt",
19+
"email": "me@peterschmalfeldt.com",
20+
"url": "https://peterschmalfeldt.com"
21+
},
22+
{
23+
"name": "Stephen Hendricks",
24+
"email": "stephen.hendricks87@gmail.com",
25+
"url": "https://stephenhendricks.me/"
26+
}
27+
],
1628
"browserslist": [
1729
"> 1%",
1830
"last 2 versions",

0 commit comments

Comments
 (0)