46 Commits

Author SHA1 Message Date
2430b41ce1
feat(chat): add unread message divider 2024-11-25 23:22:31 +00:00
24c457413d
feat(chat): toggle room membership on index page 2024-11-17 22:18:34 +00:00
3f97444908
feat(chat): show joined rooms on index page 2024-11-17 21:40:46 +00:00
9755dc2b9e
feat(chat): add auth logic for room memberships 2024-11-17 21:16:52 +00:00
d3253bd900
feat(chat): add schema to handle room membership 2024-11-17 13:39:49 +00:00
afea52077b
feat(chat): add room index page 2024-11-13 23:25:20 +00:00
124e18d656
feat(chat): use Phoenix.Presence to show online users 2024-11-12 23:56:28 +00:00
503efaf10b
feat(chat): usage improvements with hooks
1. scroll room messages to the bottom
2. submit message on `enter`
2024-11-06 00:55:03 +00:00
137b9b4581
feat(chat): notify message add/removal with pubsub 2024-11-06 00:22:50 +00:00
c788bfa8d8
feat(chat): show delete button on hover 2024-11-01 21:43:44 +00:00
ee4cb20e46
feat(chat): delete message from user 2024-11-01 21:36:51 +00:00
e342814550
feat(chat): shot timestamp in correct timezone 2024-10-31 00:08:29 +00:00
e37ad5b0c9
chore: format app.js 2024-10-31 00:03:04 +00:00
367f306297
feat(chat): add formatted timestamps with Timex 2024-10-30 23:56:39 +00:00
697ba23614
chore: upgrade deps of deps
* `tesla` from 1.12.2 to 1.13.0
2024-10-30 23:48:20 +00:00
4d9c233628
chore: upgrade deps
* `phoenix_ecto` from 4.6.2 to 4.6.3
* `postgrex` from 0.19.1 to 0.19.2
2024-10-30 23:43:30 +00:00
af2c4e4e95
feat(chat): use streams to show messages 2024-10-30 23:39:56 +00:00
a13a47a697
feat(chat): add seed data 2024-10-30 01:03:47 +00:00
b2e04be7ec
feat(chat): validate and submit messages 2024-10-24 17:21:49 +00:00
6581aa3ba5
feat(chat): show username using preload 2024-10-23 22:49:23 +00:00
ca90b77bcb
feat(chat): add messages 2024-10-23 22:33:47 +00:00
b6a78ef403
chore: expose the service using caddy proxy 2024-10-23 11:43:18 +00:00
3f40253559
feat(auth): add auth through phx.gen.auth 2024-10-22 00:19:26 +00:00
64016ef098
feat(chat): debounce chat input validation 2024-10-21 23:54:59 +00:00
af21885a46
feat(chat): chat name is unique 2024-10-21 23:50:23 +00:00
3e71c0e5ba
fix: remove running services 2024-10-21 23:41:31 +00:00
03aed73d35
chore: upgrade deps of deps
* `tesla` from 1.12.1 to 1.12.2
2024-10-21 23:32:27 +00:00
757c0a747b
chore: upgrade deps
* `esbuild` from 0.8.1 to 0.8.2
* `floki` from 0.36.2 to 0.36.3
* `phoenix_live_view` from 1.0.0-rc.6 to 1.0.0-rc.7
* `tailwind` from 0.2.3 to 0.2.4
2024-10-21 23:30:09 +00:00
6c4819e5c7
chore: upgrade runtimes
* `erlang` from 27.0.1 to 27.1.2
* `elixir` from 1.17.2 to 1.17.3
* `task` from 3.38.0 to 3.39.2
2024-10-21 23:28:52 +00:00
2064ea8fb6
feat(chat): add events to validate/save chat in live view 2024-10-18 11:07:26 +00:00
a0d23e5672
feat(chat): initial implementation for edit live view 2024-10-16 01:04:47 +00:00
32350431f8
feat: add context methods to mutate rooms
Also, improve user input validation.
2024-10-16 00:31:12 +00:00
c6ee2bbf0b
feat(chat): order chats by their names
This is achieved by improving `Ecto.Query` usage.
2024-10-15 00:44:41 +00:00
7de16a0ea2
feat: set proper page title for chats rooms 2024-10-15 00:35:20 +00:00
0ae441c31a
feat(chat): add context and use it in live view 2024-10-15 00:27:18 +00:00
fb7dff1f6f
feat: use link patch to navigate between rooms
Also, implement `c:handle_params/3` to allow the usage of `link patch`.
2024-10-10 23:40:44 +00:00
e20857f1d6
feat: map rooms route and add it to sidebar room list 2024-10-10 00:45:16 +00:00
7765b11f46
feat: list all rooms in sidebar 2024-10-10 00:30:46 +00:00
091a60eea4
refac: use update/3 to change handle_topic?
Untracked files:
2024-10-10 00:29:23 +00:00
b05b844b6c
feat: handle event to toggle topic on click 2024-10-09 23:50:50 +00:00
54ce8b9b1b
chore: reorder tasks 2024-10-09 00:23:39 +00:00
7d537c8148
feat: show room info on chat live view 2024-10-09 00:12:59 +00:00
efd8914d74
feat: add chat schema and migration 2024-10-09 00:12:39 +00:00
7766585e07
chore: clean up app layout
* Remove header
* Simplify main structure
2024-10-08 23:44:16 +00:00
63eff84a58
chore: first liveview route 2024-10-07 23:21:49 +00:00
ec3b82cd00
initial: first commit ever 2024-10-07 23:20:11 +00:00