updated folder colors, reordering, new todo page, updated sidebar
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-09-21 00:33:10 -07:00
parent df016dad14
commit f8fc561602
25 changed files with 1980 additions and 264 deletions
+7 -1
View File
@@ -16,17 +16,23 @@ use Illuminate\Support\Collection;
* @property int $id
* @property int $user_id
* @property string $name
* @property string|null $color
* @property int|null $parent_id
* @property Folder|null $parent
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
*/
#[Fillable(['user_id', 'name', 'parent_id'])]
#[Fillable(['user_id', 'name', 'parent_id', 'color'])]
class Folder extends Model
{
/** @use HasFactory<FolderFactory> */
use HasFactory;
public const COLORS = [
'zinc', 'red', 'orange', 'amber', 'green', 'emerald',
'sky', 'blue', 'indigo', 'violet', 'fuchsia', 'pink',
];
/** @return BelongsTo<User, $this> */
public function user(): BelongsTo
{