Skip to content

Commit

Permalink
add initial wireframes for tidy app dwyl/tidy#1 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Oct 4, 2023
1 parent 0c90e73 commit 3dd076b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/tidy/02-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ This allows `people` to discuss the `object` in a conversational style
similar to what they are already used to
from using **Instant Messaging**.

+ `obj_id` - the `id` of the `object` the `image` belongs to.
+ `person_id` - `id` of the `person` who uploaded the `image`.
+ `obj_id` - the `id` of the `object` the `comment` belongs to.
+ `person_id` - `id` of the `person` commenter.
+ `text` - the `string` of their comment.


Expand All @@ -48,7 +48,9 @@ from using **Instant Messaging**.
Using the
[`mix phx.gen.live`](https://hexdocs.pm/phoenix/Mix.Tasks.Phx.Gen.Schema.html)
command,
we can create the `object` schema and `LiveView` pages,
run:

```sh
mix phx.gen.live Objects Object objects name:binary desc:binary color:binary person_id:integer owner_id:integer location:binary status:integer
```
Expand Down
11 changes: 10 additions & 1 deletion src/tidy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@ and prevents us from living our "best life".
More detailed background/reasoning in:
[dwyl/tidy](https://github.com/dwyl/tidy)

Here we are only documenting how we built it!
Here we are only documenting how we built it!

Our guiding wireframes
for this mini project were:

<img width="1399" alt="tidy-first-screen" src="https://github.com/dwyl/tidy/assets/194400/2d0f3a0f-21ca-48d1-a864-ef60a13d4fef">

<img width="1401" alt="tidy-app-comment-update" src="https://github.com/dwyl/tidy/assets/194400/7d9856d4-0790-472f-b1fd-9ae0de953b7a">

We will refer back to these in the next few pages.

0 comments on commit 3dd076b

Please sign in to comment.