Commit graph

11 commits

Author SHA1 Message Date
Thomas Mathews
e50f3e542b web: fix linkify not readding end group 2022-11-13 07:17:09 -08:00
Thomas Mathews
b214b6e2a0 web: fix anchor detection
This fixes an issue where text was being hyperlinked when the "http"
pattern was detected in a character block. This looks that there is
whitespace or such to correctly assume it's a link. This may not be the
best implementation, but it seems to resolve issues for me so far. Unit
tests would be good.
2022-11-12 20:36:48 -08:00
Thomas Mathews
781f99e845 web: show profile picture in post box on desktop 2022-11-12 19:32:21 -08:00
William Casarin
3cb6a2f7b3 web: fetch even more unseen profiles from events 2022-11-12 14:29:59 -08:00
William Casarin
331eeb066b web: fix threads not getting expanded 2022-11-12 13:34:02 -08:00
William Casarin
67b2461771 update ctags command 2022-11-12 13:13:20 -08:00
William Casarin
2e568e4b44 web: focus reply box when replying 2022-11-12 12:38:09 -08:00
William Casarin
c3b4ac0d5b Merge remote-tracking branch 'thomas/main'
web: removed non-working event buttons
Deleted js/index.js
Removed .DS_Store
web: Refactor UI code
web: retab & avoid race condition on main js entry
web: reconstructed project
2022-11-12 11:14:54 -08:00
Thomas Mathews
0ec857b554 web: removed non-working event buttons 2022-11-12 10:40:59 -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
Thomas Mathews
353eb0872f web: reconstructed project
* Added initial README.md
 * Removed old Make command for webv2
 * Created js, css folders and moved files accordingly
2022-11-12 08:43:23 -08:00
Renamed from web/damus.js (Browse further)