Skip to content

Commit

Permalink
Merge branch 'release/2024.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein committed May 18, 2024
2 parents bd752bb + f711f79 commit 742541d
Show file tree
Hide file tree
Showing 121 changed files with 5,506 additions and 1,997 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
build-windows:
executor:
name: win/server-2022
name: win/default
size: large

working_directory: ~/PlanarAlly/server
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: kruptein/planarally

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
CLIENT-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm i
Expand All @@ -23,9 +23,9 @@ jobs:
CLIENT-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm i
Expand All @@ -39,9 +39,9 @@ jobs:
CLIENT-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm i
Expand All @@ -55,11 +55,11 @@ jobs:
SERVER:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: black
uses: psf/black@stable
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
Expand Down
74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,80 @@ tech changes will usually be stripped from release notes for the public

## Unreleased

## [2024.2.0] - 2024-05-18

### Added

- New grid section in Edit Shape dialog
- Configure manual size for shape
- Used for finetuning snapping behaviour
- Show grid cells the shape occupies
- Configure hex orientation
- This is used to determine which orientation even-sized shapes should use in hex grids
- Client Setting "Grid Mode Label Format" to decide what the ruler should show in grid mode
- This can be set to either '#cells only', 'distance only' or 'both'
- Import: option to specify the name for the imported campaign

### Changed

- Export/Import:
- Error toasts no longer have a timeout
- (Shape)Labels are no longer exported/imported
- Ruler tool: allows Unit Size less than 1.0
- Context menus have been restyled
- [tech] Select tool: only take shapes in view into account
- [tech] Properties System can now handle multiple shapes loaded at once

### Fixed

- Draw Tool:
- snapping mode was also snapping to the point being moved
- now also snaps to hex vertices
- the first mouse press now also properly snaps to the grid
- fix small point changes when flipping the rectangle axis while drawing
- Select Tool:
- resizing in snapping mode was also snapping to the point being resized
- polygon edit UI had a small visual glitch on appearance causing a circle to appear around (0, 0)
- Snap to Grid:
- This now has an implementation for hex grids
- This should now more properly snap shapes that are larger than 1x1
- Ruler Tool:
- Snap now properly works for hex grids
- Map Tool:
- Now better supports hex grids
- Spell tool:
- selecting another tool would swap to the Select tool instead
- Change 'Size' input box to allow entering numbers less than 1 easily
- Polygon:
- selection/contains check went wrong if a polygon used the same point multiple times
- selection/contains check was also hitting on the line between the first and last points when not closed
- Moving shapes to front/back not updating immediately
- Export:
- Missing Character, DataBlock and new Note data
- Fixed note data migration crashing due to new format
- Import:
- Prevent a potential timing edgecase causing import to run twice
- If an import fails, the newly created (faulty) room will be removed
- Notes:
- The filter was not properly rerunning when opening shape notes, causing notes from the previous shape to still be visible sometimes
- When shape filtering, the shape name in the UI would change if you clicked on another shape with the select tool.
- Note icons drawn on a shape could be drawn behind the shape in some circumstances.
- Fix 'add shape' and 'remove shape' events not being synced immediately if you only have view access
- Note icon on shape was drawn in strange locations for shapes larger than 1x1
- Fix shape removal not properly removing the shape from related notes client-side
- Fix notes not being stored in shape templates
- Groups:
- The 'edit shape' groups tab was completely broken, this has been resolved
- Multiple things in the groups tab have become more responsive to changes
- Everything badge related is now updating as it happens
- Members will now appear/disappear immediately
- Initiative:
- Fixed an issue where Initiative.Order.Change would fail when called with some Shape Ids.
- Annotations:
- Fixed rendering of markdown which included raw HTML elements.
- Changing client settings for the grid would not immediately update the screen
- [tech] FloorSystem's layers properties are now only reactive on the array level and are raw for the actual elements.

## [2024.1.0] - 2024-01-27

### Added
Expand Down
14 changes: 7 additions & 7 deletions admin-client/package-lock.json

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

2 changes: 1 addition & 1 deletion admin-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prettier": "^2.5.1",
"sass": "^1.47.0",
"typescript": "^4.5.4",
"vite": "^2.9.17",
"vite": "^2.9.18",
"vue-eslint-parser": "^8.0.1",
"vue-tsc": "^0.30.2"
}
Expand Down
Loading

0 comments on commit 742541d

Please sign in to comment.