This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302 from 18F/ab/activity-log-ux
UX fixes for activity log
- Loading branch information
Showing
7 changed files
with
100 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
<span class="stat stat-{{ modifier }}">usage {{ text }}</span>{{ patternbreak }} | ||
|
||
<div class="activity_log-item activity_log-item-{{ modifier }}">activity log {{ text }}</div>{{ patternbreak }} | ||
<div class="stat stat-{{ modifier }}"> | ||
<h2 class="stat-header">Instance memory used</h2> | ||
<span class="stat-primary">10 MB</span> | ||
<span class="stat-info"><span>460 KB available</span></span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Activity Log | ||
|
||
The activity log shows recent logs and events for a particular entity. | ||
|
||
The log lines can be expandable to show more detail. |
2 changes: 2 additions & 0 deletions
2
docs/src/components/features/activity-log/activity-log.config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: Activity Log | ||
status: beta |
40 changes: 40 additions & 0 deletions
40
docs/src/components/features/activity-log/activity-log.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<ul class="activity_log"> | ||
<li class="activity_log-item activity_log-item-warning"> | ||
<div class="activity_log-item_line"> | ||
<div class="elastic_line"> | ||
<div class="elastic_line-item elastic_line-item-start"> | ||
<span class="activity_log-item_text"><span>user.ian updated the app.</span></span> | ||
</div> | ||
<div class="elastic_line-item elastic_line-item-end"> | ||
<span class="activity_log-item_timestamp">Feb 10 2017 12:58:43 PST</span> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
<li class="activity_log-item activity_log-item-error"> | ||
<div class="activity_log-item_line"> | ||
<div class="elastic_line"> | ||
<div class="elastic_line-item elastic_line-item-start"> | ||
<span class="activity_log-item_text"><span>The app has crased because it failed to start.</span></span> | ||
</div> | ||
<div class="elastic_line-item elastic_line-item-end"> | ||
<span class="activity_log-item_timestamp">Feb 10 2017 12:58:43 PST</span> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
<li class="activity_log-item"> | ||
<div class="activity_log-item_line"> | ||
<div class="elastic_line"> | ||
<div class="elastic_line-item elastic_line-item-start"> | ||
<span class="activity_log-item_text"> | ||
<span>user.ian mapped <a href="//node-app.apps.cloud.gov">node-app.apps.cloud.gov</a> to the app.</span> | ||
</span> | ||
</div> | ||
<div class="elastic_line-item elastic_line-item-end"> | ||
<span class="activity_log-item_timestamp">Jan 30 2017 13:56:44 PST</span> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters