Update TODOs

This commit is contained in:
cryptogopher 2024-01-17 21:59:28 +01:00
parent 1227c54e0e
commit 50eedf8b23
2 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,7 @@ textarea {
/* blue - target for interaction with pointer */
/* gray - target for interaction with keyboard */
/* TODO: remove non-font-size rems from buttons/inputs below */
a,
button {
white-space: nowrap;
@ -104,7 +105,6 @@ button > svg {
/* TODO: move normal non-button links (<a>:hover/:focus) styling here (i.e.
* page-wide, top-level) and remove from table.items - as the style should be
* same everywhere */
.button:focus-visible,
button:focus-visible,
input[type=submit]:focus-visible {
@ -255,6 +255,7 @@ input[type=text]:read-only {
}
/* TODO: Update styling, including rem removal. */
form table {
border-spacing: 0.8rem;
}
@ -354,6 +355,7 @@ table.items td.actions {
}
/* TODO: replace :hover:focus-visible combos with proper LOVE stye order */
/* TODO: Update styling, including rem removal. */
table.items td.link a:hover,
table.items td.link a:focus-visible,
table.items td.link a:hover:focus-visible {

View File

@ -1,5 +1,6 @@
class Unit < ApplicationRecord
belongs_to :user, optional: true
# TODO: validate base.user == user
belongs_to :base, optional: true, class_name: "Unit"
validates :symbol, presence: true, uniqueness: {scope: :user_id},