diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4715332 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## 1.0.0 (2023-01-05) + +Initial release. diff --git a/gulpfile.js b/gulpfile.js index 47dc518..843e5d6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -150,21 +150,21 @@ function getTargetVersion(currentVersion, release) { * @async */ async function changelog() { - await execa('npx', ['standard-version', '--skip.bump', '--skip.tag', '--skip.commit'], { stdio }); + await execa('npx', ['standard-version', '--skip.bump', '--skip.tag', '--skip.commit', '--tag-prefix', ''], { stdio }); } /** - * Commits and pushes release to Github Upstream. + * Commits and pushes release to Github Origin. * @async */ async function commitTagPush() { const { version } = packageJson; - const commitMsg = `chore(release): Release ${version}`; + const commitMsg = `chore(release): ${version}`; await execa('git', ['add', '-A'], { stdio }); await execa('git', ['commit', '--message', commitMsg], { stdio }); - await execa('git', ['tag', `v${version}`], { stdio }); - await execa('git', ['push', 'upstream'], { stdio }); - await execa('git', ['push', 'upstream', '--tag'], { stdio }); + await execa('git', ['tag', `${version}`], { stdio }); + await execa('git', ['push', 'origin'], { stdio }); + await execa('git', ['push', 'origin', '--tag'], { stdio }); } /* ------------------------------------------ */ diff --git a/src/module/app.js b/src/module/app.js index 7dac171..668a427 100644 --- a/src/module/app.js +++ b/src/module/app.js @@ -338,7 +338,7 @@ export default class CardChooser extends Application { label: game.i18n.localize('SIMOC.Start'), options: { classes: [MODULE_ID, game.system.id, 'dialog', 'participants-config'], - width: 500, + width: 600, }, }); diff --git a/src/simultaneous-cards.scss b/src/simultaneous-cards.scss index 66ef309..3cddcbf 100644 --- a/src/simultaneous-cards.scss +++ b/src/simultaneous-cards.scss @@ -23,6 +23,11 @@ $card-height: $card-width * 1.5; .participant-name { text-align: center; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: 100%; + min-width: 1px; } .participant-avatar { @@ -134,12 +139,21 @@ $card-height: $card-width * 1.5; .simultaneous-cards.participants-config { .participants { display: grid; - grid-template-columns: auto auto auto; + grid-template-columns: auto 20% 30%; align-items: center; gap: 4px; margin-bottom: 12px; } + .row-wrapper { + display: contents; + + &:hover > * { + color: var(--color-text-hyperlink); + background-color: var(--color-text-dark-6); + } + } + .participant-info { display: flex; flex-direction: row; @@ -148,10 +162,10 @@ $card-height: $card-width * 1.5; gap: 4px; border-radius: 4px; - &:hover { - color: var(--color-text-hyperlink); - background-color: var(--color-text-dark-6); - } + // &:hover { + // color: var(--color-text-hyperlink); + // background-color: var(--color-text-dark-6); + // } } .avatar { diff --git a/src/templates/app.hbs b/src/templates/app.hbs index 318e0c1..d42c57c 100644 --- a/src/templates/app.hbs +++ b/src/templates/app.hbs @@ -22,7 +22,7 @@ {{#if (or isOwner ../isGM)}} {{#unless (or revealed ../isUnlocked)}} - diff --git a/src/templates/participants-config-dialog.hbs b/src/templates/participants-config-dialog.hbs index 0d13e9a..b46e466 100644 --- a/src/templates/participants-config-dialog.hbs +++ b/src/templates/participants-config-dialog.hbs @@ -14,17 +14,19 @@ {{#each participants}} - - - +
+ + + +
{{/each}}