Skip to content

Commit 63cc8ae

Browse files
authored
hotfix(v2026.1.2): Fix some NoteFilters missing details
1 parent 4bad5d8 commit 63cc8ae

File tree

7 files changed

+20
-14
lines changed

7 files changed

+20
-14
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ tech changes will usually be stripped from release notes for the public
1010

1111
## Unreleased
1212

13+
## [2026.1.2]
14+
15+
### Fixed
16+
17+
- A bug causing the location and shape note filters to not show the proper details
18+
1319
## [2026.1.1]
1420

1521
### Fixed

client/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "client",
3-
"version": "2026.1.1",
3+
"version": "2026.1.2",
44
"private": true,
55
"type": "module",
66
"scripts": {

client/src/game/ui/notes/NoteList.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { computed, onActivated, onDeactivated, onMounted, onUnmounted, reactive,
44
import { useI18n } from "vue-i18n";
55
66
import type { DefaultNoteFilter } from "../../../apiTypes";
7-
import type { GlobalId, LocalId } from "../../../core/id";
7+
import type { GlobalId } from "../../../core/id";
88
import { mostReadable, word2color } from "../../../core/utils";
99
import { coreStore } from "../../../store/core";
1010
import { socket } from "../../api/socket";
@@ -119,10 +119,6 @@ const debouncedSearch = useDebounceFn(() => void search(), 300);
119119
const searchResults = ref<(Omit<QueryNote, "tags"> & { tags: NoteTag[] })[]>([]);
120120
const totalCount = ref(0);
121121
const loading = ref(false);
122-
const filterOptions = reactive({
123-
locations: [] as { id: number; name: string }[],
124-
shapes: [] as { id: LocalId; name: string; src: string }[],
125-
});
126122
127123
enum DefaultFilter {
128124
NO_FILTER = "NO_FILTER",
@@ -169,7 +165,7 @@ async function search(): Promise<void> {
169165
170166
async function updateLocationFilter(): Promise<void> {
171167
const filters = (await socket.emitWithAck("Note.Filters.Location.Get")) as { id: number; name: string }[];
172-
filterOptions.locations = filters.sort((a, b) => a.name.localeCompare(b.name));
168+
customFilterOptions.locations = filters.sort((a, b) => a.name.localeCompare(b.name));
173169
}
174170
175171
async function updateShapeFilter(): Promise<void> {
@@ -178,7 +174,7 @@ async function updateShapeFilter(): Promise<void> {
178174
name: string;
179175
src: string;
180176
}[];
181-
filterOptions.shapes = filters
177+
customFilterOptions.shapes = filters
182178
.map(({ uuid, ...s }) => ({ ...s, id: getLocalId(uuid, false)! }))
183179
.filter((s) => s.id !== undefined)
184180
.sort((a, b) => a.name.localeCompare(b.name));

server/VERSION

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
2026.1.1
1+
2026.1.2
2+
3+
### Hotfixes
4+
5+
- 2026.1.1 fixed a bug with templates not applying properly on drop.
6+
- 2026.1.2 fixed a bug with the new note filters not showing location and shape details.
27

3-
2026.1.1 fixed a bug with templates not applying properly on drop.
48
The rest of this changelog is from 2026.1.0
59

610
### Added

server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "planarally-server"
3-
version = "2026.1.1"
3+
version = "2026.1.2"
44
description = "Planarally server"
55
readme = "README.md"
66
requires-python = ">=3.13.2"

server/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)