chore: 🤖 tweak whitespace and formatting

This commit is contained in:
Randall Morey committed 2021-10-11 14:10:21 -04:00
1 parent 02682cb008
commit c7e901ffd6
5 files changed
+28 -5

No files matched your search

@@ -1,5 +1,5 @@
import { Factory } from 'ember-cli-mirage';
import { random, date, datatype } from 'faker';
import { random, date, datatype, internet } from 'faker';
/**
* GeneratedUserModelFactory
@@ -11,4 +11,5 @@ export default Factory.extend({
created_time: () => date.recent(),
updated_time: () => date.recent(),
disabled: () => datatype.boolean(),
email: () => internet.email().toLowerCase(),
});
@@ -31,7 +31,7 @@
.rose-table-cell,
.rose-table-header-cell {
vertical-align: middle;
vertical-align: text-top;
&.align-right {
text-align: right;
@@ -30,7 +30,15 @@
onChange={{fn this.toggleMember user}}
/>
{{#if user.accountName}}
<br /><Rose::Badge>{{user.accountName}}</Rose::Badge>
{{!
The following is a formatting hack since we don't have a great
way to manage micro-whitespace or alignment among separate
components without resorting to heavy-handed grids
or contextualization. This is a one-off.
}}
<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<Rose::Badge>{{user.accountName}}</Rose::Badge>
{{/if}}
</row.headerCell>
<row.cell><code>{{user.id}}</code></row.cell>
@@ -31,7 +31,15 @@
onChange={{fn this.togglePrincipal principal}}
/>
{{#if principal.accountName}}
<br /><Rose::Badge>{{principal.accountName}}</Rose::Badge>
{{!
The following is a formatting hack since we don't have a great
way to manage micro-whitespace or alignment among separate
components without resorting to heavy-handed grids
or contextualization. This is a one-off.
}}
<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<Rose::Badge>{{principal.accountName}}</Rose::Badge>
{{/if}}
</row.headerCell>
<row.cell>{{principal.id}}</row.cell>
@@ -47,7 +47,13 @@
<code>{{sessionAggregate.session.id}}</code>
</Copyable>
</row.headerCell>
<row.cell>{{sessionAggregate.user.displayName}}</row.cell>
<row.cell>
<code>{{sessionAggregate.user.id}}</code>
{{#if sessionAggregate.user.accountName}}
<br /><Rose::Badge
>{{sessionAggregate.user.accountName}}</Rose::Badge>
{{/if}}
</row.cell>
<row.cell>{{sessionAggregate.target.displayName}}</row.cell>
<row.cell>
<time