Skip to content

Commit

Permalink
Add type information in storage events
Browse files Browse the repository at this point in the history
To know if the `localStorage` or `sessionStorage` is impacted.
  • Loading branch information
Pamplemousse committed Mar 5, 2019
1 parent 3f07855 commit d747ecd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main/zapHomeFiles/hud/drawer.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<thead>
<tr>
<th style="width: 200px"> {{ $t('message.storage_tool_field_time') }} </th>
<th style="width: 200px"> {{ $t('message.storage_tool_field_type') }} </th>
<th style="width: 200px"> {{ $t('message.storage_tool_field_action') }} </th>
<th style="width: 200px"> {{ $t('message.storage_tool_field_key') }} </th>
<th style="width: 800px"> {{ $t('message.storage_tool_field_value') }} </th>
Expand All @@ -137,6 +138,7 @@
<tbody>
<tr v-for="message in messages" @click="messageSelected(message.id)" :id="'message-tr-'+message.id">
<td> {{ message.time }} </td>
<td> {{ message.type }} </td>
<td> {{ message.action }} </td>
<td> {{ message.key }} </td>
<td> {{ message.value }} </td>
Expand Down
2 changes: 1 addition & 1 deletion src/main/zapHomeFiles/hud/target/front-end-tracker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/other/resources/UIMessages/UIMessages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ storage_tool = Storage
storage_tool_field_action = Action
storage_tool_field_key = Key
storage_tool_field_time = Time
tool_storage_field_type = Type
storage_tool_field_value = Value

websockets_message_field_time = Time
Expand Down

0 comments on commit d747ecd

Please sign in to comment.