Skip to content

Commit

Permalink
[#72] Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuapease committed Jan 10, 2024
1 parent 0369ad9 commit 0fe83c2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release Notes for Viget Base Module

## 5.0.5 - 2023-12-22 🎄
### Added
- Replaces our old Parts Kit UI with our [Decoupled, JS based interface](https://github.com/vigetlabs/parts-kit) - [#72](https://github.com/vigetlabs/craft-viget-base/issues/72)
- This script file is loaded at the root `/parts-kit` URL and on every parts kit part. This allows parts kit pages to use custom elements that are provided by the parts kit UI.
- Inserts `<meta name="robots" content="none">` on all parts kit pages.
### Changed
- Removes references to parts kit theme config
- Removes Asset bundle for old parts kit styles.
- Inlines "Edit Entry" button styes directly on tag.

## 5.0.4 - 2023-10-26
Add `disableEditButton` option to module config - [#69](https://github.com/vigetlabs/craft-viget-base/issues/69)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "viget/craft-viget-base",
"description": "Viget Base Module",
"type": "yii2-extension",
"version": "5.0.4",
"version": "5.0.5",
"keywords": [
"craft",
"cms",
Expand Down
9 changes: 9 additions & 0 deletions src/controllers/PartsKitController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ class PartsKitController extends \craft\web\Controller
{
protected array|int|bool $allowAnonymous = true;

/**
* Renders the JSON used by our parts kit ui
*
* @return Response
*/
public function actionConfig(): Response
{
return $this->asJson([
Expand All @@ -18,6 +23,10 @@ public function actionConfig(): Response
]);
}

/**
* Renders the template for visiting the /parts-kit URL
* @return Response
*/
public function actionRoot(): Response
{
return $this->renderTemplate(
Expand Down

0 comments on commit 0fe83c2

Please sign in to comment.