Open nelsonic opened 11 months ago
Busy exploring the basic interface in Figma: https://www.figma.com/file/WrpkKGJNYZbeCzMRDVtvQLbC/dwyl-app?type=design&node-id=2204-279
Does your house look like this?
Probably not ...
Obviously most people don't experience this extreme:
What is your pain point with the clutter in your life?
@LuchoTurtle before you wrap up for the day and head back to Porto, π§βπ» -> π could you please take a quick look at the outline schema in the OP β¬οΈ and drop a comment if you think it's "OK" or needs any other fields. π¬ π
Looks good to me. However I think there's a typo in the person_id
of the Comment
description. You probably mean the person who created the comment, not the object.
Other than that, LGMTπ
Thanks for taking a look and fixing the typo + inconsistency @LuchoTurtle β€οΈ
I've updated the Figma
wireframes to reflect the object.location
field described in dwyl/imgup#3:
And show both comments
and updating the object
data:
To be clear: I don't think these wireframes are "complete" by any means.
And if anyone else
wants to take some time to improve/update them, please go for it.
My goal is just to have something to get started with.
After creating the Object
schema and re-running mix c
we see that the lib/tidy_web/live/object_live/form_component.ex
file has a few lines that are not reached by the default tests:
We won't be using these functions long-term so I've chosen to simply ignore the lines in the defp
functions for now.
Continue: https://dwyl.github.io/book/tidy/02-schema.html β³
While this is a "Mini App" that only has "one job", there are still several features that it needs to perform well.
Schemas
object
obj_id
-id
of the object captured by theperson
name
- name can be added/edited by anyone laterdesc
- brief description of theobject
color
- the predominant color of theobject
e.g.Black
person_id
- of theperson
who created the recordowner_id
- theid
of theperson
who owns the objectlocation
- a string describing where theobject
should be stored. ref: https://github.com/dwyl/tidy/issues/3status
- the status of theobject
record. Bydefault
a newobject
has thestatus=2
i.e.uncategorized
images
obj_id
-object.id
so that we can have one-to-many (object can have several images)url
- url of the uploaded photocomments
obj_id
-object.id
the comment is linked to.person_id
-id
of theperson
who created theobject
record.text
- text of the commentTodo
LiveView
or ideallyFlutter
@LuchoTurtle this is where the Image Classifier https://github.com/dwyl/image-classifier/issues/1 finally comes into play! π· πΌοΈ π€ π‘ π As soon as we have the "basic" functionality nailed/shipped we have a legit reason to apply image/
object
detection because if we can use a model to identify anobject
it can be tidied in the correct place without theowner
having to respond. π