Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
5c2ff50
Add power type set labels, image fallback, and minluck legend
bradp Nov 13, 2026
d72058d
Strip stale season countdowns and treat subdomains as outbound
bradp Nov 13, 2026
76e91b7
Decode names, drop event loot, and index each mouse's best spot
bradp Nov 13, 2026
884104b
Add synonyms, typo tolerance, and quick mouse answers to search
bradp Nov 13, 2026
4ba5742
Add live timers for rotating locations
bradp Nov 13, 2026
0dbe0c7
Raise text contrast and use pink focus rings
bradp Nov 13, 2026
b77bd13
Make Link a client component so pages prerender
bradp Nov 13, 2026
d6a90a7
Tidy resource cards and hide the category on single-category pages
bradp Nov 13, 2026
2d86e1b
Add lookups to the sidebar and collapse location regions
bradp Nov 13, 2026
17e8f85
Show mice, loot, and timers on location pages and add region pages
bradp Nov 13, 2026
0dad79c
Lead mouse and item pages with the key numbers
bradp Nov 13, 2026
6aaba82
Rework the minluck, Valour Rift, essence, and queso pages
bradp Nov 13, 2026
3592a4b
Refresh the about, tools, and userscript pages and site description
bradp Nov 13, 2026
bbae726
Rebuild the home page around search, lookups, and timers
bradp Nov 13, 2026
043bc5d
Update data
bradp Nov 13, 2026
2dc46dc
Merge branch 'main' into feature/nov-update
bradp Nov 13, 2026
eb68df6
Add compact number and best attraction row helpers
bradp Nov 13, 2026
5ebc9cc
Collapse long drop tables and tighten item pages on phones
bradp Nov 13, 2026
80ce3c0
Collapse long mouse tables and show the best spot's sample size
bradp Nov 13, 2026
62ffa47
Add search examples and summarize weaknesses in answer cards
bradp Nov 13, 2026
72f087e
Lead the home page with search and simplify browse and favorites
bradp Nov 13, 2026
9168752
Enlarge section headings and use a single-hue minluck scale
bradp Nov 13, 2026
30429ff
Show the data update date in the footer and stop sideways scroll
bradp Nov 13, 2026
bc62cbf
Highlight mice in the running stage on location pages
bradp Nov 13, 2026
12bd50a
Keep mouse portraits square to match the game
bradp Nov 13, 2026
d8af00f
Move titles and trap effects from the sidebar to the Guides page
bradp Nov 13, 2026
330636d
Lead location pages with their own guides and move site-wide tools down
bradp Nov 13, 2026
f738e0e
Show all tools in a single list
bradp Nov 13, 2026
33af175
Reword the home page intro and reuse the item list for popular picks
bradp Nov 13, 2026
05a716e
Record the hunt count behind each mouse's best spot
bradp Nov 13, 2026
e62115a
Keep dismissed search text and open exact matches on Enter
bradp Nov 13, 2026
c7d8113
Add a compact card style for short resource lists
bradp Nov 13, 2026
057d37c
Group home page browse tiles by section and add locations for phones
bradp Nov 13, 2026
0389b79
Remove the lookups section from the sidebar
bradp Nov 13, 2026
841c904
Move timer rising and falling notes into the countdown line
bradp Nov 13, 2026
a458f16
Underline the data source links in the footer
bradp Nov 13, 2026
4818d92
Call trinkets charms in item type labels
bradp Nov 13, 2026
2965901
Trim captions and notes on item pages
bradp Nov 13, 2026
f076c3d
Trim captions on mouse and location pages
bradp Nov 13, 2026
1b2db05
Say mouse instead of mice for counts of one
bradp Nov 13, 2026
a8b4e2a
Reword the essence calculator summary and hide the empty box
bradp Nov 13, 2026
a4f73cb
Tighten copy on the calculator and tracker pages
bradp Nov 13, 2026
1018b0e
Shorten the search placeholder and empty-state hints
bradp Nov 13, 2026
8c81ff7
Use serial commas and tighten the about and titles copy
bradp Nov 13, 2026
f94e0f0
Remove filler copy from the 404, home, footer, and guide pages
bradp Nov 13, 2026
825cf56
Drop redundant sidebar aria labels and name the home link
bradp Nov 13, 2026
6ccf105
Rewrite resource descriptions to say what each one does
bradp Nov 13, 2026
663cdb0
Remove duplicate userscripts and rewrite their descriptions
bradp Nov 24, 2026
7688871
Rename the trap effects page to trap and base special effects
bradp Nov 24, 2026
856a827
Add map and setup tools and tighten resource page descriptions
bradp Nov 24, 2026
d2c54b1
Replace em dashes in item copy and rename Trap stats to Stats
bradp Nov 24, 2026
c3aec5b
Replace em dashes in mice page copy
bradp Nov 24, 2026
82004d6
Say catch and hunt for counts of one
bradp Nov 24, 2026
6dec8bd
Replace em dashes in the site name and share image text
bradp Nov 24, 2026
fc0f83a
Remove the last em dashes and filler from page copy
bradp Nov 24, 2026
cc660ff
Drop the duplicate screen-reader label from the logo
bradp Nov 24, 2026
e34e6af
Add an mhImproved flag to the resource schema
bradp Nov 24, 2026
2d699c7
Upgrade Next.js to 16.4.6 for the published security fixes
bradp Nov 24, 2026
dd1d81d
Restore minluck matching and ignore inherited keys in search
bradp Nov 24, 2026
ac99d73
Keep type-to-search inside the home search field
bradp Nov 24, 2026
079d0ed
List event loot by item ID and keep required charms in search data
bradp Nov 24, 2026
beed8f4
Fix Cancel and stale Enter in search and show required charms
bradp Nov 24, 2026
f39ba75
Use the page's best hunt in mouse metadata and structured data
bradp Nov 24, 2026
ad6a03e
Fetch timers only on rotating locations and share one clock
bradp Nov 24, 2026
8042858
Let the current region collapse and give each panel its own ID
bradp Nov 24, 2026
2c01a38
Show minlucks 100 rows at a time
bradp Nov 24, 2026
780ce73
Count each mouse once in region totals
bradp Nov 24, 2026
6bf5242
Redirect retired userscripts to their replacements
bradp Nov 24, 2026
41a1d94
Ignore Hallmark screenshots and comparison files
bradp Nov 24, 2026
0ce901f
List resources as rows and split tools into on-site and elsewhere
bradp Nov 24, 2026
3746fc4
Drop repeated attraction columns and keep the best spot in the preview
bradp Nov 24, 2026
9c834f7
Grey out location mice whose best stage isn't running
bradp Nov 24, 2026
7f40885
Show group banners and raise filter contrast on the mice page
bradp Nov 24, 2026
f3f7a2a
Replace middots and arrows with plain words and punctuation
bradp Nov 24, 2026
adcd562
Raise contrast on form fields, small labels and image edges
bradp Nov 24, 2026
769d8e5
Stop focusing the minlucks filter on page load
bradp Nov 24, 2026
c596da5
Tidy doc comments and explain the empty catch in data scripts
bradp Nov 24, 2026
1cca257
Lead doc comments with a one-line summary
bradp Nov 24, 2026
535022d
Drop comments that narrate the code
bradp Nov 24, 2026
808fdd9
Merge branch 'main' into feature/nov-update
bradp Nov 25, 2026
c0cd59d
Replace from-to sweeps in page intros and resource descriptions
bradp Nov 25, 2026
fd96894
Say what four userscripts do instead of repeating their names
bradp Nov 25, 2026
5579f25
Capitalise Marketplace to match the game
bradp Nov 25, 2026
4cc1573
Use colons instead of em dashes in page titles
bradp Nov 25, 2026
6cc46e3
Replace middots in region, item, and search text
bradp Nov 25, 2026
ea6b242
Drop the Queso calculator empty state that repeats the intro
bradp Nov 25, 2026
e09207b
Give sidebar links one colour and fill the current page
bradp Nov 25, 2026
81fb929
Add a location picker and list shared trap effects once
bradp Nov 25, 2026
dd96822
Match price change to the chart range and tidy its dates and axis
bradp Nov 25, 2026
7926268
Label the best rate when a charm beats it and drop mouse middots
bradp Nov 25, 2026
c6a3d6e
Match show-more labels and mark MH-Tools samples as unknown
bradp Nov 25, 2026
7045cff
Show type chips only while filtering and list rare types compactly
bradp Nov 25, 2026
f74f6ec
Retitle location pages and move broad guides to the bottom
bradp Nov 25, 2026
e268af5
Fold trap effect regions and keep commas with their location
bradp Nov 25, 2026
1ae427a
Update trap effects from the community sheet and add a script to refr…
bradp Nov 25, 2026
0eb69f6
Use sentence case for site page names and fix the essence calculator …
bradp Nov 25, 2026
c45f276
Add Glazy to the search examples and use the luck icon for minlucks
bradp Nov 25, 2026
cffef86
Count only matching items on the type chips and hide empty types
bradp Nov 25, 2026
5196e76
Rank a location above a mouse whose name starts the same way
bradp Nov 25, 2026
0348e67
Use a serial comma in the essence calculator summary
bradp Nov 25, 2026
ad7e071
Use the site's pink accent on the items and mice browsers and add Cle…
bradp Nov 25, 2026
a9d7322
Keep the Tradable only toggle in place as the type chips change
bradp Nov 25, 2026
6701398
Add a treasure map planner
bradp Nov 25, 2026
3e37eda
Add a rank-up calculator
bradp Nov 25, 2026
5f13b22
List the map planner and rank-up calculator on the site, and fix the …
bradp Nov 25, 2026
2c617c8
Call stat items Special and split the big item types into the game's …
bradp Nov 25, 2026
378e958
Add a page ranking every mouse by points, gold, or wisdom
bradp Nov 25, 2026
87544b6
Rework the mouse page around one How to catch panel and link its stat…
bradp Nov 25, 2026
dd821ea
Refresh the trap effects from the community sheet in the weekly data …
bradp Nov 26, 2026
14ddea9
Render the mouse rankings 100 rows at a time, and add a name filter i…
bradp Nov 26, 2026
0e1697e
Keep the rank-up calculator's entries in the URL and on the device, a…
bradp Nov 26, 2026
d4dc7aa
Move the rank-up maths, mouse ranking and planner places out of their…
bradp Nov 26, 2026
2930466
Make the map planner's hunts-to-clear estimate exact
bradp Nov 26, 2026
66dae7a
Fix search for plural names, apostrophe-free names, and a few everyda…
bradp Nov 26, 2026
c1e3232
Only save downloads that are images, and fetch images for item ids wi…
bradp Nov 26, 2026
2f1c63d
Add tests for the planner, search, rankings, item groups, page descri…
bradp Nov 26, 2026
7b7818c
Let search catch typos in four-letter words when nothing matches as t…
bradp Nov 26, 2026
0dbc4fe
Fix the contrast, link and label problems an accessibility audit found
bradp Nov 26, 2026
531376d
Add browser and accessibility tests, and run them in CI against a pro…
bradp Nov 26, 2026
5d86c6a
Try a warmer, friendlier style on the Tools and mouse pages
bradp Nov 26, 2026
02eea24
Keep focus visible in forced-colors mode on tool cards and the rankin…
bradp Nov 26, 2026
284d320
Use outline-hidden instead of outline-none for focus styles, so focus…
bradp Nov 26, 2026
f324b86
Add a catch rate engine with MH-Tools' and MH Improved's special case…
bradp Nov 26, 2026
68a427b
Add a catch rate estimator
bradp Nov 26, 2026
7fb90f5
List the catch rate estimator in search, and let exact shorthand like…
bradp Nov 26, 2026
4e6f613
Build each catch rate mouse group once, and share the estimator's for…
bradp Nov 26, 2026
158351c
Add the Best Setup search, and let sure catches beat a power type the…
bradp Nov 26, 2026
655ef01
Add a Best Setup page
bradp Nov 26, 2026
c9cf7c6
Show where to hunt and the power types side by side on mouse pages, a…
bradp Nov 26, 2026
ab59405
Use the warmer style across the whole site
bradp Nov 26, 2026
19090f7
Give item pages the mouse page's soft header, and the home page's qui…
bradp Nov 26, 2026
2643518
Remove the .hallmark folder's ignore file
bradp Nov 26, 2026
9e8931c
Lead the catch rate estimate with the overall catch rate, and drop th…
bradp Nov 26, 2026
6fdc888
Split the Tools page into tools on mouse.rip and tools on other sites
bradp Nov 26, 2026
d32d988
Add the catch rate estimator and Best Setup to the home page's tools,…
bradp Nov 26, 2026
c48c075
Only ask Best Setup about item details for items the hunter has ticke…
bradp Nov 26, 2026
3152af7
List the guides first on the Guides page, and show Game reference aft…
bradp Nov 26, 2026
a6902df
Add seed, pepper, cheese and mouse pictures and links to the Jungle o…
bradp Nov 26, 2026
290c68f
Trim the How to catch panel on mouse pages to the best spot and the p…
bradp Nov 26, 2026
4cf3e46
Show pictures of the traps, bases and charms on the trap effects page…
bradp Nov 26, 2026
91db0a3
Keep the estimator and Best Setup forms on a phone's screen, and say …
bradp Nov 26, 2026
3d19b63
Put item stats under the picture on phones so nothing is cut off, lis…
bradp Nov 26, 2026
08496d4
Offer a way out of an empty item search: search every type, or clear …
bradp Nov 26, 2026
eb2db11
Show every mouse on a map in the planner's first view, even when its …
bradp Nov 26, 2026
3175009
Drop the doubled empty state on mouse pages, and send the Relic Hunte…
bradp Nov 26, 2026
a23a48f
Show the next floors of each type from the floor you enter on Valour …
bradp Nov 26, 2026
8f6d98a
Link guide contents to their sections, starting with the Fort Rox guide
bradp Nov 26, 2026
6bbbd88
Link Sand Crypts, Cursed City and Twisted Garden to the location page…
bradp Nov 26, 2026
abaf4dc
Bring the rest of the site into the warmer style
bradp Nov 26, 2026
aa76ccd
Tell tsitu's tools apart from ours, and tidy names: Minlucks everywhe…
bradp Nov 26, 2026
163c4b5
Plain words for a guide's source, SUPER|brie+ prices and retired map …
bradp Nov 26, 2026
f070351
Bring the userscript install steps up to date for Chrome's Allow User…
bradp Nov 26, 2026
8061102
Link every location page to the catch rate estimator and Best Setup f…
bradp Nov 26, 2026
eb4113c
Mouse pages: rank under each stat for phones, Any power type, one rat…
bradp Nov 26, 2026
ebe84c2
Show the subgroup on rankings filtered to a group
bradp Nov 26, 2026
ed64547
Wrap long item names to two lines, icons for every search result, smo…
bradp Nov 26, 2026
98a5ee4
Find a Relic Hunter riddle by typing a few of its words
bradp Nov 26, 2026
bda6155
A See results button that follows the form on phones
bradp Nov 26, 2026
b27a1c1
Related items by their telling tags, and say when a convertible's con…
bradp Nov 26, 2026
e66b018
Picture tiles on the not-found page
bradp Nov 26, 2026
8d8e4b5
Remember essence and queso calculator entries on this device
bradp Nov 26, 2026
d514527
Name the item on each Best Setup and estimator extra
bradp Nov 26, 2026
55a0701
Split group pages into their subgroups
bradp Nov 26, 2026
20220f2
A picture for each item type on the items page
bradp Nov 26, 2026
dce2900
Shade the edge of a wide guide table that has more to scroll to
bradp Nov 26, 2026
4434a03
Userscript tags as filter chips, with names hunters know
bradp Nov 26, 2026
4752178
Pick the rank-up mouse from a list with pictures, like the trap pickers
bradp Nov 26, 2026
90830b0
Say what the counts in the search boxes count, and describe the minlu…
bradp Nov 26, 2026
fba06eb
Name Pastebin as a guide source
bradp Nov 26, 2026
3eeabc5
Add to Chrome and Add to Firefox buttons for MouseHunt Improved
bradp Nov 26, 2026
cec0e92
Put the Fort Rox loot table and the Champion's Fire grid into words
bradp Nov 26, 2026
8c55285
Check fetched data before the weekly job commits it, and pin Bun
bradp Nov 26, 2026
91ee276
Fix calculator bugs, cut page weight, and tighten accessibility and s…
bradp Nov 26, 2026
ae96f14
Widen the homepage search bar to match the cards, and tidy the catch …
bradp Nov 26, 2026
e45d85e
Match the Best Setup empty message exactly in its browser test
bradp Nov 26, 2026
062a648
Write out when each timer stage ends and when the day resets
bradp Nov 26, 2026
78ae958
Wait for a list's rows before scrolling back to where it was
bradp Nov 26, 2026
4de78de
Keep Show all on the items list after a visit to an item and Back
bradp Nov 26, 2026
c0e8edf
Keep Show all on the mice list after a visit to a mouse and Back
bradp Nov 26, 2026
1d2ec73
Drop the dot beside the social cards' eyebrow, and enlarge the site-w…
bradp Nov 26, 2026
937484b
Draw the square portrait on a mouse's social card
bradp Nov 26, 2026
a616f04
Put a location's header art across the top of its social card
bradp Nov 26, 2026
66905ef
Only draw social cards the site signed
bradp Nov 26, 2026
26ff1b8
Put the star beside the wordmark on the social cards
bradp Nov 26, 2026
9db6ebe
Put a mouse group's banner across the top of its social card
bradp Nov 26, 2026
ec14d6e
Let a social card draw an icon in place of a picture
bradp Nov 26, 2026
5fb25c1
Give the tool pages social cards of their own
bradp Nov 26, 2026
a0759ba
Keep a social card's title on one line where it fits
bradp Nov 26, 2026
17526b7
Add a count helper that picks the singular or plural noun
bradp Nov 27, 2026
a21795e
Format attraction rates the same way on every page
bradp Nov 27, 2026
eabc269
Work out the points, gold, and wisdom a hunt earns
bradp Nov 27, 2026
a2be446
Show what each hunt earns, and how many hunts a rank-up takes
bradp Nov 27, 2026
578c429
Link item and mouse pages to the catch rate estimator
bradp Nov 27, 2026
d5a272d
Let Best Setup aim for the most points or gold
bradp Nov 27, 2026
7699d53
Fold the site's own tool listings into their page results in search
bradp Nov 27, 2026
77dbc0f
Suggest the mouse or item a missing page's address names
bradp Nov 27, 2026
3186c76
Give long guides a contents list
bradp Nov 27, 2026
4bca326
Say one hunt, not one hunts, and use US spelling in the map planner
bradp Nov 27, 2026
b2c3802
Use US spelling and serial commas, and tighten guide descriptions
bradp Nov 27, 2026
fb830ef
Correct the Queso pump and map piece descriptions
bradp Nov 27, 2026
75baa09
List the Relic Hunter, titles, and special effects pages on About
bradp Nov 27, 2026
e444623
Split two long doc comments into a summary and detail
bradp Nov 27, 2026
e5f9b32
Wait for the Tradable only toggle before measuring its position
bradp Nov 27, 2026
2f23e19
Merge branch 'main' into feature/nov-update
bradp Nov 27, 2026
6a69997
Add Chrome and Firefox install links for MHCT MouseHunt Helper
bradp Nov 27, 2026
5ec3d25
Crop the location header art to a strip that's all scenery
bradp Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bun-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.3.9
15 changes: 14 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: 2
updates:
- package-ecosystem: 'npm'
# The lockfile is bun.lock, which the npm ecosystem can't update: its PRs changed package.json alone and
# failed `bun install --frozen-lockfile`.
- package-ecosystem: 'bun'
directory: '/'
schedule:
interval: 'weekly'
Expand All @@ -12,3 +14,14 @@ updates:
applies-to: version-updates
patterns:
- '*'
# The workflows pin actions to commit SHAs, so something has to move those forward.
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
assignees:
- 'bradp'
groups:
actions:
patterns:
- '*'
35 changes: 35 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,42 @@ jobs:
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
# One version everywhere, so a new Bun release can't change what the lockfile installs unannounced.
bun-version-file: .bun-version
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Check code quality
run: bun run check

browser:
name: Browser tests
runs-on: ubuntu-latest
timeout-minutes: 20
env:
# Any value: the build signs its social card links with it, and the server the tests run against checks them.
OG_CARD_SECRET: for-the-browser-tests-only

steps:
- name: Checkout code
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
# One version everywhere, so a new Bun release can't change what the lockfile installs unannounced.
bun-version-file: .bun-version
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build the site
run: bun run build
- name: Install Chromium
run: bunx playwright install --with-deps chromium
- name: Run the browser and accessibility tests
run: bun run test:e2e
- name: Keep the traces of failed tests
if: failure()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-traces
path: test-results/
retention-days: 7
16 changes: 15 additions & 1 deletion .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,32 @@ jobs:

- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
# One version everywhere, so a new Bun release can't change what the lockfile installs unannounced.
bun-version-file: .bun-version

- name: Install dependencies
run: bun install --frozen-lockfile --ignore-scripts

- name: Update data
run: bun run update:data

# The trap effects come from a community spreadsheet, not the API. If the sheet is down or reads
# wrong, the script exits without writing, and the rest of the update still goes out.
- name: Update trap effects
run: bun run update:trap-effects
continue-on-error: true

# The push below goes straight to main, and a push made with GITHUB_TOKEN doesn't start the Code Quality
# workflow. So this is the only check the new data gets: the unit tests read it (links, names, catch rates).
- name: Check the new data
run: bun run test

- name: Commit changes
run: |
git config --local user.name "Mousebot"
git config --local user.email "mousebot@mouse.rip"
git add src/data/generated
git add src/data/generated src/data/trap-effects.json
if git diff --cached --quiet; then
echo "No changes to commit"
exit 0
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ static-mouse-rip/
.open-next/
.wrangler/
scripts/tableau-out/

# Playwright
/test-results/
/playwright-report/
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ When you're finished, run lint, formatting, and TypeScript checks:

Use `bun run format` to apply formatting and `bun run build` to verify production page generation.

Mouse, item, group, location, and tool pages link to a social card that `/og/card` draws on request. The site signs those
links and the route only draws signed ones, so a production build needs `OG_CARD_SECRET` set to a long random string,
both when the pages are built and in the deployed Worker. An `.env.local` covers both when you deploy from your own
machine. Without it everything still works: those pages use the site-wide card, and `bun run dev` signs with a
stand-in key.

If you're happy with your changes, you can submit a Pull Request!

## 🗒️ Updating the content
Expand Down
1 change: 0 additions & 1 deletion _redirects

This file was deleted.

Loading
Loading