Commit graph

8 commits

Author SHA1 Message Date
Thomas Mathews
03d7d7b0cc web: revamp mainly done, couple bugs left 2022-12-17 21:13:37 -08:00
Thomas Mathews
e68a022952 web: break out damus.js into more files 2022-12-15 15:39:29 -08:00
Thomas Mathews
318cbe98ea web: Added media previewing 2022-12-15 10:00:20 -08:00
Thomas Mathews
fa9965b2a0 web: added open thread view 2022-11-19 11:20:15 -08:00
Thomas Mathews
9f2af26fa6 web: Add profile view.
Note that this is incomplete as I do not fetch the events for the user
and render them. I am also missing the state check for if you follow the
user.
2022-11-18 17:12:00 -08:00
Thomas Mathews
f773ab49f6 web: message textareas auto expand based on content 2022-11-16 20:18:12 -08:00
Thomas Mathews
0fdde7b384 web: added global nav for small devices 2022-11-12 20:10:56 -08:00
Thomas Mathews
6eb67bc3af web: Refactor UI code
* Created directory for UI
 * Moved rendering code to js/ui/render.js
 * Created initial js/ui/util.js for UI utilities

Notice I did not use modules. I was thinking of doing this but I am
avoiding it for now as it is much easier to just have everything
declared as global at this time. For onclick methods this makes sense;
but for code (such as rendering) I think it would be better off as a
module that gets imported. This is a task for another day.
2022-11-12 09:41:54 -08:00