Skip to content

Commit

Permalink
Merge pull request #317 from LiamMorrow/tip
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow authored Nov 15, 2024
2 parents b2f3b51 + c57661e commit 759182e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: macos-14
runs-on: macos-15
env:
KEYCHAIN: job-${{ github.job }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}

Expand All @@ -22,7 +22,7 @@ jobs:
dotnet-version: 8.0.x
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.1
xcode-version: latest-stable
- name: Put distribution cert
env: # Or as an environment variable
APPLE_DISTRIBUTION_CERT_P12_BASE64: ${{ secrets.APPLE_DISTRIBUTION_CERT_P12_BASE64 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: macos-14
runs-on: macos-15
env:
KEYCHAIN: job-${{ github.job }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}

Expand All @@ -22,7 +22,7 @@ jobs:
dotnet-version: 8.0.x
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.1
xcode-version: latest-stable
- uses: mlilback/build-number@v1
name: Set build number
id: buildNumber
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<Card Type="Card.CardType.Filled" class="mx-6 mb-4">
<div>
This feature allows you to export your data in a plain text format such as CSV for use in other applications.
This feature allows you to export your data in a plaintext format such as CSV for use in other applications.
It is not intended for backup purposes. For backups, please use the backup feature.
LiftLog cannot restore data from plain text exports.
LiftLog cannot restore data from plaintext exports.
</div>
<AppButton OnClick="OpenDocumentation" Type="AppButtonType.Text">Read Documentation</AppButton>
</Card>
Expand All @@ -31,7 +31,7 @@

protected override void OnInitialized()
{
Dispatcher.Dispatch(new SetPageTitleAction("Plain Text Export"));
Dispatcher.Dispatch(new SetPageTitleAction("Plaintext Export"));
Dispatcher.Dispatch(new SetBackNavigationUrlAction("/settings/backup-and-restore"));
base.OnInitialized();
}
Expand Down
4 changes: 2 additions & 2 deletions LiftLog.Ui/Pages/Settings/BackupAndRestorePage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
</md-list-item>
<md-list-item type="button" class="text-left" multi-line-supporting-text @onclick="PlainTextExport">
<md-icon slot="start">description</md-icon>
<span slot="headline">Plain text export</span>
<span slot="supporting-text">Export your data in a plain text format such as CSV for use in other applications</span>
<span slot="headline">Plaintext export</span>
<span slot="supporting-text">Export your data in a plaintext format such as CSV for use in other applications</span>
</md-list-item>
</md-list>

Expand Down
3 changes: 3 additions & 0 deletions LiftLog.Ui/Shared/Smart/Tips/PlainTextExportTip.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="flex flex-col gap-2">
<span>LiftLog supports exporting your data as a CSV! Simply navigate to <span class="text-primary">Settings -> Export -> Plaintext Export</span></span>
</div>
5 changes: 4 additions & 1 deletion LiftLog.Ui/Shared/Smart/Tips/Tips.razor
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@
case 9:
<HoldingRepCounterTip/>
break;
case 10:
<PlainTextExportTip/>
break;
}
</Card>
}

@code
{
private static readonly int totalTips = 9;
private static readonly int totalTips = 10;

private void HandleNextClick()
{
Expand Down
2 changes: 1 addition & 1 deletion release_notes/whatsnew-en-AU
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LiftLog can now export your data in plain text as a CSV!
LiftLog can now export your data in plaintext as a CSV!

0 comments on commit 759182e

Please sign in to comment.