Commit graph

296 commits

Author SHA1 Message Date
William Casarin
70d0df5240 web: fix anon users resolving to the same robohash 2022-11-14 17:32:33 -08:00
William Casarin
42fd771333 web: only request filters if the authors list has items 2022-11-14 17:26:00 -08:00
William Casarin
b081e1cefc web: fix obscure relay bug 2022-11-14 16:57:54 -08:00
William Casarin
1192cd3b30 web: fix reply event rendering 2022-11-14 16:30:49 -08:00
William Casarin
0b37f5b3f3 Explore View 2022-11-14 15:46:36 -08:00
William Casarin
954870c445 web: add clickable style to thread expansion msg 2022-11-14 09:32:51 -08:00
William Casarin
9a02a55caa web: fix related event fetching
When fetching events, also fetch events that your friends are replying
to.
2022-11-14 09:03:29 -08:00
William Casarin
e0be7d15c3 Merge remote-tracking branch 'thomas/main' 2022-11-13 09:04:42 -08:00
Thomas Mathews
42163b1570 web: Fix README.md 2022-11-13 08:24:03 -08:00
Thomas Mathews
06137ab3f2 web: fix header z-index 2022-11-13 08:19:04 -08:00
Thomas Mathews
f5cd0e2e39 web: Updated deleted event style.
- Refactored event messages style
 - Added official z-index layering variables
 - Use a cool ghost for profile image of deleted content
2022-11-13 08:09:30 -08:00
Thomas Mathews
e50f3e542b web: fix linkify not readding end group 2022-11-13 07:17:09 -08:00
Thomas Mathews
389b3e9481 Updated README.md with roadmap. 2022-11-13 07:14:59 -08:00
Thomas Mathews
f1fecabd3f web: fixed reactions space collapse 2022-11-12 21:04:53 -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
0fdde7b384 web: added global nav for small devices 2022-11-12 20:10:56 -08:00
Thomas Mathews
5ad6201749 web: updated terminology. 2022-11-12 19:32:21 -08:00
Thomas Mathews
781f99e845 web: show profile picture in post box on desktop 2022-11-12 19:32:21 -08:00
Thomas Mathews
0616d963d5 web: fixed mobile issues
After doing thorough testing on mobile I have scrapped my original
flexbox design in favor of sticky headers. I will not be implmenting a
bottom toolbar like twitter. Instead I will find another way to add user
tools in mobile mode. This approach works better on desktop as well.

Let's simplify and use new CSS tools we have to our advantage and make a
unified design that works on both desktop and mobile better.
2022-11-12 19:32:19 -08:00
Thomas Mathews
5983a254df web: responsive navigation 2022-11-12 19:30:44 -08:00
Thomas Mathews
1136774283 web: Updated contribution guide. 2022-11-12 19:24:32 -08:00
William Casarin
75b7a74175 web: smaller header on mobile 2022-11-12 15:01:38 -08:00
William Casarin
ff74755f23 web: fix scrolling on desktop 2022-11-12 14:57:19 -08:00
William Casarin
8826acff6f web: make nav bar a bit smaller on mobile 2022-11-12 14:45:45 -08:00
William Casarin
c9a46b48fd web: a few responsive tweaks 2022-11-12 14:42:27 -08:00
Thomas Mathews
ddee626bf5 web: responsive navigation 2022-11-12 14:33:51 -08:00
William Casarin
59e25e9087 Revert "web: mobile-friendly nav"
This reverts commit 1b49a7029b.
2022-11-12 14:31:56 -08:00
William Casarin
3cb6a2f7b3 web: fetch even more unseen profiles from events 2022-11-12 14:29:59 -08:00
William Casarin
83ca480d31 web: remove damus.css 2022-11-12 14:17:23 -08:00
William Casarin
8b68c76951 web: cap the size of reply boxes
also add a nice divider line before the input box
2022-11-12 14:15:46 -08:00
William Casarin
1b49a7029b web: mobile-friendly nav 2022-11-12 14:06:15 -08:00
William Casarin
d6e65341dc web: decrease font sizes by 2px on mobile
looks a bit better
2022-11-12 13:50:05 -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
Thomas Mathews
08aeec6783 web: Updated contribution guide. 2022-11-12 12:54:24 -08:00
William Casarin
1a1a38ddf2 web: update style guide
we use tabs not spaces
2022-11-12 12:45:58 -08:00
William Casarin
2e568e4b44 web: focus reply box when replying 2022-11-12 12:38:09 -08:00
William Casarin
64db658eab readme: request-pull instructions 2022-11-12 11:37:32 -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
William Casarin
20a18ab95a web: remove pk querystring when logging out 2022-11-12 10:41:42 -08:00
Thomas Mathews
0ec857b554 web: removed non-working event buttons 2022-11-12 10:40:59 -08:00
William Casarin
897d837bf2 web: allow pubkey override via ?pk=.... 2022-11-12 10:37:19 -08:00
William Casarin
d63c15c8e8 web: max height on inline media content 2022-11-12 10:15:04 -08:00
William Casarin
66a688d950 web: rename DSTATE to DAMUS
why not
2022-11-12 09:54:00 -08:00
William Casarin
7ca2247919 web: refactor some cruft, fix error 2022-11-12 09:48:34 -08:00
Thomas Mathews
eac631f7f4 Deleted js/index.js 2022-11-12 09:48:25 -08:00
Thomas Mathews
5f8f041c34 Removed .DS_Store 2022-11-12 09:46:54 -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
8bec3e126c web: retab & avoid race condition on main js entry 2022-11-12 09:04:43 -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