Add configuration files and update project documentation

- Introduced .editorconfig for consistent coding styles across the project.
- Added .golangci.yml for Go linting configuration.
- Updated AGENTS.md to clarify project structure and components.
- Enhanced CONTRIBUTING.md with Makefile usage for common tasks.
- Updated Dockerfiles to use Go 1.24 and improved build instructions.
- Refined README.md and deployment documentation for clarity.
- Added testing documentation in testing.md for backend and frontend tests.
- Introduced Makefile for streamlined development commands and tasks.
This commit is contained in:
2026-03-01 01:51:47 +03:00
parent 0466ff3087
commit 6529d7370e
92 changed files with 13411 additions and 8438 deletions

View File

@@ -24,7 +24,7 @@
class="flex items-center justify-between gap-3 w-full p-3 rounded-lg bg-base-300/50 hover:bg-base-300/70 transition-colors"
>
<div class="flex items-center gap-2 min-w-0">
<div class="avatar placeholder">
<div class="avatar avatar-placeholder">
<div class="bg-neutral text-neutral-content rounded-full w-8">
<span class="text-xs">{{ u[0]?.toUpperCase() }}</span>
</div>
@@ -57,7 +57,7 @@
<tr><th>ID</th><th>Name</th><th>Hidden</th><th>Priority</th><th class="text-right"></th></tr>
</thead>
<tbody>
<tr v-for="map in maps" :key="map.ID" class="hover">
<tr v-for="map in maps" :key="map.ID" class="hover:bg-base-300">
<td>{{ map.ID }}</td>
<td>{{ map.Name }}</td>
<td>{{ map.Hidden ? 'Yes' : 'No' }}</td>
@@ -84,25 +84,25 @@
Settings
</h2>
<div class="flex flex-col gap-4">
<div class="form-control w-full max-w-xs">
<fieldset class="fieldset w-full max-w-xs">
<label class="label" for="admin-settings-prefix">Prefix</label>
<input
id="admin-settings-prefix"
v-model="settings.prefix"
type="text"
class="input input-bordered input-sm w-full"
class="input input-sm w-full"
/>
</div>
<div class="form-control w-full max-w-xs">
</fieldset>
<fieldset class="fieldset w-full max-w-xs">
<label class="label" for="admin-settings-title">Title</label>
<input
id="admin-settings-title"
v-model="settings.title"
type="text"
class="input input-bordered input-sm w-full"
class="input input-sm w-full"
/>
</div>
<div class="form-control">
</fieldset>
<fieldset class="fieldset">
<label class="label gap-2 cursor-pointer justify-start" for="admin-settings-default-hide">
<input
id="admin-settings-default-hide"
@@ -112,7 +112,7 @@
/>
Default hide new maps
</label>
</div>
</fieldset>
</div>
<div class="flex justify-end mt-2">
<button class="btn btn-primary btn-sm" :disabled="savingSettings" @click="saveSettings">