44 Commits

Author SHA1 Message Date
66432c05be
feat(chat): add username to the registration page 2025-02-15 23:06:03 +00:00
10c905249c
feat(chat): improve user pages layout + redirect 2025-02-15 22:01:58 +00:00
24b609ec3a
feat(chat): add username to users
And use it instead of hacky email transformation.
2025-02-13 23:13:36 +00:00
489be57db7
feat(chat): simplify socket response
Add helper methods to create the tuples `{:ok, socket}` and
`{:noreply, socket}`, and make them available in `SlaxWeb` module.
2025-02-05 00:05:49 +00:00
7f510ba9c7
feat(chat): extract room forms to SlaxWeb.RoomComponents 2025-02-03 23:47:32 +00:00
2ca3e26a6e
feat(chat): add route to handle new room modal
Also, show/hide the modal using `live_action`.
2025-02-03 23:37:11 +00:00
cf925bb87b
feat(chat): add form to new room modal 2025-01-30 00:47:50 +00:00
33f36a5254
feat(chat): add placeholder modal for new room 2025-01-28 00:06:12 +00:00
e96efdecfa
feat(chat): updates made on Jan-2025
Some updates were made to the course and described in this post:

* https://arrowsmithlabs.com/blog/learn-phoenix-liveview-update-guide-january-2025
2025-01-27 23:58:19 +00:00
ada10afa96
chore(chat): interpolate values using new curly braces syntax 2024-12-24 12:35:20 +00:00
cd45664a63
feat(chat): toggle room/user list with Phoenix.LiveView.JS 2024-12-24 00:05:13 +00:00
f5704fa13c
feat(chat): show unread message counter 2024-12-19 00:40:24 +00:00
2dd258ad3d
feat(chat): add placeholder avatar 2024-12-10 00:48:11 +00:00
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
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
367f306297
feat(chat): add formatted timestamps with Timex 2024-10-30 23:56:39 +00:00
af2c4e4e95
feat(chat): use streams to show messages 2024-10-30 23:39:56 +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
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
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
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
7d537c8148
feat: show room info on chat live view 2024-10-09 00:12:59 +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