Simon

Results 205 comments of Simon

Concerning the first point, the `Browser.application` function: ![image](https://user-images.githubusercontent.com/6057298/73849265-8cb4c800-4821-11ea-8eea-16390ae4230e.png) This function creates the Elm web application however it will replace all the existing Phoenix endpoints and can't coexist with the other...

Thanks @iteles for these acceptance criteria. > Do not worry about leading and trailing spaces for now I think it shouldn't be too complicated to trim the spaces on tags....

I'm trying [Excalidraw](https://excalidraw.com/) to quickly create UI of the mvp: ![mvp](https://user-images.githubusercontent.com/6057298/190369561-3a462d8d-ab8c-455b-b1b9-35fd7b05fe92.svg) Excalidraw live session: https://excalidraw.com/#room=c7eca65eedec24628894,rm8LQPspjQO5OKF2gaxgsQ It's really quick to create something simple, it doesn't have a lot of Figma features...

# Create backend logic Currently we have the following tables: ![image](https://user-images.githubusercontent.com/6057298/190379436-d4994eb2-eec9-46ca-abbe-cc73750cdfad.png) We can now add the `tags` and `items_tags` table using migrations: ```sh mix ecto.gen.migration add_tags ``` We can now...

Creating `App.Tag` schema and use the `many_to_many` function to link tags to items: ```elixir defmodule App.Tag do use Ecto.Schema import Ecto.Changeset alias App.{Item, ItemTag} schema "tags" do field :text, :string...

My initial implementation was to make tags global to the all application, however I can easily change it to make tags unique to a user. For the first version I'm...

I've done more reading/testing with tags and items associations yesterday and I'm updating the documentation `BUILDIT` file: https://github.com/dwyl/mvp/pull/150/commits/e4df19290d377e6dcc060004d6de4545f780a66f I'll continue adding the doc and describe any blockers I encounter in...

All the backend logic for tags is now implemented. I've added a simple text input to allow people to link tags to a new item: ![image](https://user-images.githubusercontent.com/6057298/192378350-5a7dec15-ab86-442b-8333-0fccb58b7c5f.png) Next I will look...

I'm currently updating the following function to get the tags linked to the item: ```elixir def items_with_timers(person_id \\ 0) do sql = """ SELECT i.id, i.text, i.status, i.person_id, t.start, t.stop,...

I've updated the sql query to returns the list of tags for the items: ```elixir def items_with_timers(person_id \\ 0) do sql = """ SELECT i.id, i.text, i.status, i.person_id, t.start, t.stop,...