Skip to content

Commit

Permalink
0.1.7 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raicuparta authored Oct 6, 2023
2 parents 6de81c6 + 5b6a953 commit 9d4d83f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
name: "release"
on:
workflow_dispatch:
inputs:
change_log:
description: "Changelog"
required: true
push:
branches: [main]

jobs:
generate-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Generate changelog
id: changelog
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

publish-tauri:
needs: generate-changelog
publish-release:
permissions:
contents: write
strategy:
Expand Down Expand Up @@ -70,6 +63,6 @@ jobs:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "Rai Pal __VERSION__"
includeUpdaterJson: true
releaseBody: ${{ needs.generate-changelog.outputs.changelog }}
releaseBody: ${{ inputs.commit_message || github.event.pull_request.body || github.event.head_commit.message }}
releaseDraft: true
prerelease: false
2 changes: 1 addition & 1 deletion backend/Cargo.lock

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

2 changes: 1 addition & 1 deletion backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rai-pal"
version = "0.1.6"
version = "0.1.7"
authors = ["Raicuparta"]
license = "GPL-3.0-or-later"
repository = "https://github.com/Raicuparta/rai-pal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export function InstalledGamesPage() {
<SearchInput
onChange={setFilter}
value={filter.search}
count={filteredGames.length}
/>
<FilterMenu
setFilter={setFilter}
Expand Down
1 change: 1 addition & 0 deletions frontend/components/owned-games/owned-games-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export function OwnedGamesPage() {
<SearchInput
onChange={setFilter}
value={filter.search}
count={filteredGames.length}
/>
<FilterMenu
active={isFilterActive}
Expand Down
3 changes: 2 additions & 1 deletion frontend/components/search-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import { CloseButton, Input } from "@mantine/core";
type Props = {
readonly onChange: (filter: Filter) => void;
readonly value: string;
readonly count: number;
};

export function SearchInput(props: Props) {
return (
<Input
onChange={(event) => props.onChange({ search: event.target.value })}
placeholder="Find..."
placeholder={`Search ${props.count} games...`}
style={{ flex: 1 }}
value={props.value}
rightSectionPointerEvents="all"
Expand Down

0 comments on commit 9d4d83f

Please sign in to comment.