Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b9e907d
Add pet preferences page with Polish translations and routing
TomaszRebizant Aug 28, 2025
862cd93
edit style of form, add background, extract config adn styles
TomaszRebizant Aug 29, 2025
fe7899e
Improve form design and functionality
TomaszRebizant Aug 29, 2025
ef13c11
Restore all preference functionality
TomaszRebizant Sep 1, 2025
0a50c46
Refactor preferences page
TomaszRebizant Sep 2, 2025
d0d5e57
remove trails mode in background gradient
TomaszRebizant Sep 2, 2025
4eecd43
clean app.css
TomaszRebizant Sep 2, 2025
b1ff888
add pinia to the project
TomaszRebizant Sep 2, 2025
cf3fd8c
fix linter errors
TomaszRebizant Sep 3, 2025
695256a
make linter fixes
TomaszRebizant Sep 3, 2025
601fc45
Merge branch 'main' into 21-pet-preferences-selection-page
TomaszRebizant Sep 3, 2025
d19f219
resolve issue causing make test to fail
TomaszRebizant Sep 3, 2025
afe92b1
clean code
TomaszRebizant Sep 4, 2025
03db946
navigate to dashboard after applying filters
TomaszRebizant Sep 9, 2025
cfc2238
use database data in Pet Show view
TomaszRebizant Sep 10, 2025
d7c4f63
merge: main into 21-pet-preferences-selection-page; resolve Preferenc…
TomaszRebizant Sep 10, 2025
981e34c
remove dark mode
TomaszRebizant Sep 10, 2025
00d15c7
delete dark mode
TomaszRebizant Sep 10, 2025
97c7d2f
fix dark mode
TomaszRebizant Sep 10, 2025
e7f70f1
delete comment
TomaszRebizant Sep 10, 2025
069d421
fix linter errors
TomaszRebizant Sep 10, 2025
812ddb2
Revert package-lock.json to previous state
TomaszRebizant Sep 11, 2025
22e2be8
fix errors
TomaszRebizant Sep 11, 2025
6b83de6
fix test issues
TomaszRebizant Sep 11, 2025
67d21bd
Merge branch 'main' into 21-pet-preferences-selection-page
TomaszRebizant Sep 11, 2025
eb5b4be
add small fixes
TomaszRebizant Sep 11, 2025
0cccc0a
Add PR sugestions
TomaszRebizant Sep 12, 2025
c56b977
linter fixes
TomaszRebizant Sep 12, 2025
534dd9e
fix tags in specific pet view
TomaszRebizant Sep 15, 2025
a471ff8
linter fixes
TomaszRebizant Sep 15, 2025
7672601
delete comments
TomaszRebizant Sep 15, 2025
b8f13a0
improve accessibility across UI components
TomaszRebizant Sep 15, 2025
011a1d4
remoeve empty lines
TomaszRebizant Sep 15, 2025
602463c
fix linter errors
TomaszRebizant Sep 16, 2025
5beb228
Dashboard fixes, pet view improvements, preferences UX, connecting pr…
TomaszRebizant Sep 17, 2025
87045dd
Merge branch 'main' into 21-pet-preferences-selection-page
TomaszRebizant Sep 17, 2025
298ecfe
fix tests
TomaszRebizant Sep 17, 2025
e5e9cc7
Add cursor pointer improvements to UI elements
TomaszRebizant Sep 17, 2025
fe6a9e5
Merge branch 'main' into 21-pet-preferences-selection-page
TomaszRebizant Sep 18, 2025
7ed679a
Merge branch 'main' into 21-pet-preferences-selection-page
TomaszRebizant Sep 19, 2025
11d4a21
add image handling
TomaszRebizant Sep 21, 2025
25437e6
Delete .vite files
krzysztofkozyra021 Sep 21, 2025
e2fb116
linter
krzysztofkozyra021 Sep 21, 2025
cbd69bf
Merge main ,resolve conflicts
krzysztofkozyra021 Sep 21, 2025
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
2 changes: 1 addition & 1 deletion app/Http/Controllers/PreferenceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PreferenceController extends Controller
{
public function index(): Response
{
return Inertia::render("Dashboard/Dashboard");
return Inertia::render("Preferences/Preferences");
}

public function store(PreferenceRequest $request): RedirectResponse
Expand Down
4 changes: 2 additions & 2 deletions database/seeders/DemoSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public function run(): void
}

$pets->each(function (Pet $pet) use ($tags): void {
$pet->tags()->attach(
$tags->random(self::NUMBER_OF_TAGS_PER_PET)->pluck("id")->toArray(),
$pet->tags()->sync(
$tags->random(self::NUMBER_OF_TAGS_PER_PET)->pluck("id")->unique()->toArray(),
);
});
}
Expand Down
15 changes: 15 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
import blumilkDefault from '@blumilksoftware/eslint-config'
import globals from 'globals'

export default [
...blumilkDefault,
{
languageOptions: {
globals: {
...globals.browser,
...globals.es2022,
},
},
rules: {
'n/no-unsupported-features/node-builtins': ['error', {
allowExperimental: true,
ignores: ['fetch', 'localStorage', 'sessionStorage', 'AbortController'],
}],
},
},
]
136 changes: 136 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dompurify": "^3.2.6",
"laravel-vite-plugin": "^2.0.0",
"lodash": "^4.17.21",
"pinia": "^3.0.3",
"vue": "^3.5.17",
"vue-easy-lightbox": "^1.19.0",
"vue-i18n": "^11.1.11"
Expand Down
61 changes: 28 additions & 33 deletions resources/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,37 @@
--color-gradient-primary: oklch(0.95 0.05 85); /* Warm beige */
--color-gradient-secondary: oklch(0.92 0.08 120); /* Soft green */
}

@keyframes heartbeat {
0% {
transform: scale(1);
opacity: 1;
}
25% {
transform: scale(1.14);
opacity: 1;
}
50% {
transform: scale(1);
opacity: 1;
}
60% {
transform: scale(1.16);
opacity: 1;
}
75% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 1;
}
0% { transform: scale(1); opacity: 1; }
25% { transform: scale(1.14); opacity: 1; }
50% { transform: scale(1); opacity: 1; }
60% { transform: scale(1.16); opacity: 1; }
75% { transform: scale(1); opacity: 1; }
100% { transform: scale(1); opacity: 1; }
}

@layer utilities {
.animate-heartbeat {
animation: heartbeat 0.8s ease-out infinite;
}
.animate-heartbeat { animation: heartbeat 0.8s ease-out infinite; }
}

@layer components {
.heading-xl {
@apply text-xl font-semibold text-gray-900 mb-3;
}
.heading-lg {
@apply text-3xl sm:text-4xl font-bold text-gray-900;
}
.heading-xl { @apply text-xl font-semibold text-gray-900 mb-3; }
.heading-lg { @apply text-3xl sm:text-4xl font-bold text-gray-900; }

.disclosure { @apply overflow-hidden bg-white dark:bg-[#0b1220]; }
.disclosure[open] { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.disclosure-summary::-webkit-details-marker { display: none; }
.disclosure-summary { @apply list-none flex items-center justify-between py-3.5 px-4 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-b from-indigo-500/5 to-transparent hover:from-indigo-500/10 dark:from-indigo-500/12; }
.chevron { @apply transition-transform duration-200 ease-linear; }
.disclosure[open] .chevron { @apply rotate-180; }

.badge-selected { @apply inline-flex items-center rounded-full border px-2 py-0.5 text-xs bg-indigo-50 text-indigo-900 border-indigo-200 dark:bg-indigo-500/25 dark:text-indigo-100 dark:border-indigo-500/45; }

.tile-checkbox { @apply cursor-pointer transition-all; }
.checkbox-content { @apply flex flex-col items-center gap-1 sm:gap-2 p-3 sm:p-4 text-center min-h-[90px] sm:min-h-[100px] rounded-lg border-2 border-gray-200 bg-white transition; }
.tile-checkbox:hover .checkbox-content { @apply -translate-y-0.5 shadow-[0_8px_25px_rgba(0,0,0,0.15)]; }
.tile-checkbox input:checked + .checkbox-content { @apply -translate-y-0.5 shadow-[0_8px_25px_rgba(99,102,241,0.3)] border-indigo-500 bg-gradient-to-br from-indigo-500 to-violet-500 text-white; }
.icon-container { @apply flex items-center justify-center h-8 sm:h-10 w-full; }
.label-container { @apply break-words whitespace-normal leading-snug; }
}
Loading