Copy and design polish

This commit is contained in:
Jason Zimdars
2025-12-01 22:23:25 -06:00
parent 2c1ab1bb29
commit df2d938b7e
3 changed files with 26 additions and 28 deletions
+6 -7
View File
@@ -1,8 +1,7 @@
<div class="settings__panel settings__panel--entropy panel shadow center">
<header>
<h2 class="divider txt-large">Auto close</h2>
<p class="margin-none-block-start">Fizzy doesnt let stale cards stick around forever. Cards automatically move to “Not Now” if there is no activity for specific period of time. <em>This is the default, global setting — you can override it on each board.</em></p>
</header>
<header>
<h2 class="divider txt-large">Auto close</h2>
<p class="margin-none-block-start">Fizzy doesnt let stale cards stick around forever. Cards automatically move to “Not Now” if there is no activity for specific period of time. <em>This is the default, global setting — you can override it on each board.</em></p>
</header>
<%= render "entropy/auto_close", model: account.entropy, url: account_entropy_path, disabled: !Current.user.admin? %>
<%= render "entropy/auto_close", model: account.entropy, url: account_entropy_path, disabled: !Current.user.admin? %>
</div>
+16 -19
View File
@@ -1,22 +1,19 @@
<div class="settings__panel panel shadow center">
<header>
<h2 class="divider txt-large">Data Export</h2>
<p class="margin-none-block-start">You can request a ZIP file containing all your Fizzy data.</p>
</header>
<header class="margin-block-start-double">
<h2 class="divider txt-large">Export your data</h2>
<p class="margin-none-block">Download an archive of your Fizzy data.</p>
</header>
<div data-controller="dialog" data-dialog-modal-value="true">
<button type="button" class="btn btn--primary" data-action="dialog#open">Export</button>
<div data-controller="dialog" data-dialog-modal-value="true">
<button type="button" class="btn" data-action="dialog#open">Begin export...</button>
<dialog class="dialog panel shadow" data-dialog-target="dialog">
<p class="margin-none"><strong>Data Export</strong></p>
<p>We will create a downloadable ZIP file of all the Fizzy data that you have access to in this account.</p>
<p>This can take a few minutes. When the file is ready, we'll email you a link to download it.</p>
<p>The download link will expire after 24 hours. But you can always request another export later.</p>
<dialog class="dialog panel panel--wide shadow" data-dialog-target="dialog">
<h2 class="margin-none txt-large">Export your account data</h2>
<p class="margin-none-block-start">This will kick off a request to generate a ZIP archive of all the data in boards you have access to.</p>
<p>When the file is ready, well email you a link to download it. The link will expire after 24 hours.</p>
<div class="flex gap justify-end">
<button type="button" class="btn" data-action="dialog#close">Cancel</button>
<%= button_to "Export", account_exports_path, method: :post, class: "btn btn--primary", form: { data: { action: "submit->dialog#close" } } %>
</div>
</dialog>
</div>
</div>
<div class="flex gap justify-center">
<%= button_to "Start export", account_exports_path, method: :post, class: "btn btn--link", form: { data: { action: "submit->dialog#close" } } %>
<button type="button" class="btn" data-action="dialog#close">Cancel</button>
</div>
</dialog>
</div>
+4 -2
View File
@@ -15,6 +15,8 @@
<%= render "account/settings/users", users: @users %>
</div>
<%= render "account/settings/entropy", account: @account %>
<%= render "account/settings/export" %>
<div class="settings__panel settings__panel--entropy panel shadow center">
<%= render "account/settings/entropy", account: @account %>
<%= render "account/settings/export" %>
</div>
</section>