Add new category flow (#1857)

* resolve git issue

* Add new category flow

* Improve contrast checker

* make error message small

* update ui to match figma design

* realign color picker

* changes

* rename color picker controller to new category controller

* cleanup code

* cleanup code

* resize and realign icon avatar

* Fix js lint errors

Signed-off-by: Syed Bariman Jan <syedbarimanjan@gmail.com>

---------

Signed-off-by: Syed Bariman Jan <syedbarimanjan@gmail.com>
This commit is contained in:
Syed Bariman Jan
2025-02-24 21:08:05 +05:00
committed by GitHub
parent ac9703031f
commit 95989a6c9b
14 changed files with 335 additions and 40 deletions

4
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.2].define(version: 2025_02_20_153958) do
ActiveRecord::Schema[7.2].define(version: 2025_02_20_200735) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
@@ -192,7 +192,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_02_20_153958) do
t.datetime "updated_at", null: false
t.uuid "parent_id"
t.string "classification", default: "expense", null: false
t.string "lucide_icon"
t.string "lucide_icon", default: "shapes", null: false
t.index ["family_id"], name: "index_categories_on_family_id"
end