Skip to content

Commit d2a0ed2

Browse files
m1rmpierres
authored andcommitted
dev: improve README and naming
1 parent d50564e commit d2a0ed2

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ the Arch Linux package statistics website.
44

55
# Dependencies
66
- [just](https://github.com/casey/just)
7+
- [go](https://go.dev/)
8+
- [pnpm](https://pnpm.io/)
9+
10+
## Optional
11+
- [air](https://github.com/air-verse/air)
712

813
# Setup
914
1. Run `just init` to install dependencies, build and generate fixtures
10-
2. Run `just run` to start the application locally
11-
3. Run `just dev` to watch for template and Go changes and rebuild automatically (requires [air](https://github.com/air-verse/air))
12-
4. Run `just` for a full list of available commands
15+
2. Run `just run` to start the application locally or `just dev` to watch for template and Go changes and rebuild automatically (requires [air](https://github.com/air-verse/air))
16+
3. Run `just` for a full list of available commands
1317

1418
# Contributions
1519
For contributing you'll probably want to test your changes at least once

internal/ui/compare/templates.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
templ CompareContent(names []string, excessNames []string, data chartdata.Data) {
11-
<h1 class="mb-3">Compare packages</h1>
11+
<h1 class="mb-3">Package History</h1>
1212
<p class="mb-3">Comparing: <strong>{ strings.Join(names, ", ") }</strong></p>
1313
if len(excessNames) > 0 {
1414
<div role="alert" class="alert alert-info mt-3">

internal/ui/packagepage/templates.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ templ PackagesContent(list *packages.PackagePopularityList, query string, curren
2121
class="d-inline-flex btn btn-primary"
2222
href={ templ.SafeURL("/compare/packages/" + compareNames(selectedPackages)) }
2323
>
24-
Compare
24+
View History
2525
</a>
2626
} else {
2727
<button class="d-inline-flex btn btn-primary" disabled>Compare</button>

0 commit comments

Comments
 (0)