Skip to content

Migrate admin reference-data pages to Vue + /api/v2 CRUD#863

Closed
edwh wants to merge 23 commits into
developfrom
blade-vue-reference-data
Closed

Migrate admin reference-data pages to Vue + /api/v2 CRUD#863
edwh wants to merge 23 commits into
developfrom
blade-vue-reference-data

docs: update migration plan — Group 2.2 complete, remaining work clas…

8125aef
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 3, 2026 in 1m 3s

Annotations

Check warning on line 76 in resources/js/components/CategoriesPage.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh2zDjQygVdrMXKy1&open=AZ8oh2zDjQygVdrMXKy1&pullRequest=863

Check failure on line 121 in tests/Feature/Role/APIv2RolesTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/permissions?api_token=admin1" 4 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh224jQygVdrMXKzI&open=AZ8oh224jQygVdrMXKzI&pullRequest=863

Check failure on line 15 in tests/Feature/Role/RoleTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/role" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh23LjQygVdrMXKzK&open=AZ8oh23LjQygVdrMXKzK&pullRequest=863

Check failure on line 86 in tests/Feature/GroupTags/APIv2GroupTagsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/group-tags?api_token=admin1" 5 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22ojQygVdrMXKzC&open=AZ8oh22ojQygVdrMXKzC&pullRequest=863

Check warning on line 315 in resources/js/components/AdminCrudPage.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh2zNjQygVdrMXKy3&open=AZ8oh2zNjQygVdrMXKy3&pullRequest=863

Check warning on line 32 in app/Exceptions/Handler.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 6 returns, which is more than the 3 allowed.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh21UjQygVdrMXKy6&open=AZ8oh21UjQygVdrMXKy6&pullRequest=863

Check failure on line 23 in tests/Feature/Skills/APIv2SkillsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/skills" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22wjQygVdrMXKzG&open=AZ8oh22wjQygVdrMXKzG&pullRequest=863

Check warning on line 84 in resources/js/components/CategoriesPage.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh2zDjQygVdrMXKy2&open=AZ8oh2zDjQygVdrMXKy2&pullRequest=863

Check failure on line 24 in tests/Feature/Brands/APIv2BrandsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/brands" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22fjQygVdrMXKzA&open=AZ8oh22fjQygVdrMXKzA&pullRequest=863

Check failure on line 312 in routes/web.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/edit/{editId}" 5 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh23xjQygVdrMXKzL&open=AZ8oh23xjQygVdrMXKzL&pullRequest=863

Check warning on line 23 in app/Http/Resources/CategoryCollection.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this method "toArray" to simply inherit it.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh20qjQygVdrMXKy4&open=AZ8oh20qjQygVdrMXKy4&pullRequest=863

Check warning on line 15 in tests/Feature/Brands/BrandsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "$brand" local variable.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22XjQygVdrMXKy-&open=AZ8oh22XjQygVdrMXKy-&pullRequest=863

Check failure on line 71 in tests/Feature/Brands/APIv2BrandsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/brands?api_token=admin1" 4 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22fjQygVdrMXKy_&open=AZ8oh22fjQygVdrMXKy_&pullRequest=863

Check warning on line 57 in resources/js/components/SkillsPage.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh2wTjQygVdrMXKy0&open=AZ8oh2wTjQygVdrMXKy0&pullRequest=863

Check failure on line 15 in tests/Feature/Groups/GroupTagsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/tags" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh216jQygVdrMXKy7&open=AZ8oh216jQygVdrMXKy7&pullRequest=863

Check failure on line 74 in tests/Feature/Skills/APIv2SkillsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "CAD modelling" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22wjQygVdrMXKzD&open=AZ8oh22wjQygVdrMXKzD&pullRequest=863

Check failure on line 35 in tests/Feature/Skills/APIv2SkillsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Zucchini growing" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22wjQygVdrMXKzE&open=AZ8oh22wjQygVdrMXKzE&pullRequest=863

Check failure on line 37 in tests/Feature/Skills/APIv2SkillsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Mead brewing" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22wjQygVdrMXKzF&open=AZ8oh22wjQygVdrMXKzF&pullRequest=863

Check warning on line 23 in app/Http/Resources/BrandCollection.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this method "toArray" to simply inherit it.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh20yjQygVdrMXKy5&open=AZ8oh20yjQygVdrMXKy5&pullRequest=863

Check failure on line 73 in tests/Feature/Skills/APIv2SkillsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/skills?api_token=admin1" 5 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22wjQygVdrMXKzH&open=AZ8oh22wjQygVdrMXKzH&pullRequest=863

Check failure on line 68 in tests/Feature/Category/APIv2CategoriesTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/categories/222?api_token=admin1" 4 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22CjQygVdrMXKy9&open=AZ8oh22CjQygVdrMXKy9&pullRequest=863

Check warning on line 17 in tests/Feature/Groups/GroupTagsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "$tag" local variable.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh216jQygVdrMXKy8&open=AZ8oh216jQygVdrMXKy8&pullRequest=863

Check failure on line 64 in tests/Feature/Role/APIv2RolesTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/roles/" 8 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh224jQygVdrMXKzJ&open=AZ8oh224jQygVdrMXKzJ&pullRequest=863

Check failure on line 26 in tests/Feature/GroupTags/APIv2GroupTagsTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/api/v2/group-tags" 3 times.

See more on https://sonarcloud.io/project/issues?id=TheRestartProject_restarters.net&issues=AZ8oh22ojQygVdrMXKzB&open=AZ8oh22ojQygVdrMXKzB&pullRequest=863