James Culveyhouse
36a926e816
Aliases page
2023-02-28 00:22:48 -06:00
Sven Sauleau
d89ed5a8af
make getDatabase async
2023-02-27 17:37:03 +00:00
Dario Piotrowicz
f20fb8052b
improve typing around getDataBase
2023-02-24 10:19:25 +00:00
Sven Sauleau
279431fcdf
use getDatabase in frontend
2023-02-24 09:42:28 +00:00
Yuji Yamaguchi
c55b09a771
Changed to use getErrorHtml
2023-02-24 00:16:47 +09:00
Sven Sauleau
7dea01b781
extract database types
...
Refs https://github.com/cloudflare/wildebeest/issues/228
2023-02-22 16:18:06 +00:00
Dario Piotrowicz
4e0cf1da14
cleanup extra grid col and row classes
2023-02-22 14:22:16 +00:00
Dario Piotrowicz
d4aab92c79
make account card somewhat viewable on small screens
2023-02-22 13:03:00 +00:00
Dario Piotrowicz
530f46c8bb
remove break-all
2023-02-22 12:40:30 +00:00
Dario Piotrowicz
3d0e394a14
implement UI for about page
...
initial step for #282
2023-02-20 18:29:06 +00:00
Dario Piotrowicz
40d59fbccd
fix broken statusAPI.handleRequestGet call
...
likely broken by PR #309
2023-02-20 18:29:06 +00:00
Dario Piotrowicz
cd45aba28d
remove tabs and newlines from dummy status
2023-02-20 15:12:40 +00:00
Sven Sauleau
08a5bc4fa4
Merge pull request #305 from cloudflare/spoiler-contents
...
handle spoiler text in the statuses ui
2023-02-20 11:38:27 +00:00
Dario Piotrowicz
ec3a1e1bd5
simplify requestLoaders to requestUrlLoaders
2023-02-20 10:41:16 +00:00
Yuji Yamaguchi
137f885b22
fix: Changed line breaks so that text does not overflow
2023-02-19 23:10:33 +09:00
Dario Piotrowicz
97530bbc7a
handle spoiler text in the statuses ui
...
as part of this:
- wire up spoilter_text in the backend so that frontend can use it
- add spoiler_text to dummy data (+ related refactoring)
- show spoilter text in the ui (+ related refactoring)
- add/update e2e tests to check spoiler text
2023-02-17 23:05:45 +00:00
Dario Piotrowicz
f7df319831
update qwik and qwikCity packages
2023-02-17 17:02:18 +00:00
dependabot[bot]
9e6633f4fb
Bump undici from 5.14.0 to 5.19.1 in /frontend
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.14.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.14.0...v5.19.1 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:09:01 +00:00
Dario Piotrowicz
caf79ef0f3
make sure time indicator doesn't wrap
2023-02-16 16:22:36 +00:00
Dario Piotrowicz
85c15b0238
add missing margin-bottom in status page
2023-02-16 16:02:27 +00:00
Dario Piotrowicz
3296f2a3bf
add HtmlContent component to more cleanly handle user provided html content
...
and so that we no longer use useStyles$ for styling the html content
but we use a signle useStylesScoped$ instead
2023-02-16 16:02:25 +00:00
Dario Piotrowicz
e8e18f98e1
fix wrong background being applied to statuses
2023-02-16 15:59:56 +00:00
Dario Piotrowicz
beb2cfb8f0
add e2e ui test to check account posts and posts-and-replies tabs
2023-02-16 14:53:09 +00:00
Dario Piotrowicz
ffaba34966
implement posts and replies tab in account page
2023-02-16 14:48:25 +00:00
Dario Piotrowicz
bfc2817cd8
split account index.tsx into layout.tsx + index.tsx
...
perform such split so that we display the posts in the
index.tsx file and this will allow us to also show different
tabs on the page as well
2023-02-16 14:48:23 +00:00
Sven Sauleau
20be442595
Merge pull request #300 from cloudflare/account-link
...
Improve navigation to accounts and toots
2023-02-16 13:57:54 +00:00
Dario Piotrowicz
d6daa7bfb3
update e2e tests after previous navigation tweaks
2023-02-16 13:31:52 +00:00
Dario Piotrowicz
5b935a11e6
update status click handler not to include account
2023-02-16 13:00:26 +00:00
Dario Piotrowicz
bed859f737
create reusable StatusAccountCard component
2023-02-16 12:54:19 +00:00
Dario Piotrowicz
aa21606df1
add reblog to dummyData
2023-02-16 11:55:28 +00:00
Dario Piotrowicz
18ad1c7880
add ellipsis for truncated links back
...
also add a test in the e2e ui tests to prevent
the ellipsis to get removed again
resolves #289
2023-02-16 11:05:57 +00:00
Dario Piotrowicz
11a2c278b2
show custom emojis in display names
2023-02-15 14:16:14 +00:00
Dario Piotrowicz
c5ac435f53
Adjust account urls
...
second attempt after fist caused issues and had
to be reverted
2023-02-15 10:31:09 +00:00
Dario Piotrowicz
91d6bb0503
add infinite scrolling to local and federated timelines
2023-02-15 00:17:15 +00:00
Dario Piotrowicz
af1e333128
fetch more statuses dynamically for account on scroll
2023-02-14 23:52:00 +00:00
Dario Piotrowicz
08f57a7549
Merge pull request #285 from cloudflare/remove-real-dummy-data
...
improve dummy data and tests
2023-02-14 23:38:31 +00:00
Dario Piotrowicz
7700f40041
improve dummy data and tests
...
- improve the dummy data to be generated when building the mock db
- restructure dummy data folder structure
- remove all real data from the dummy data
- update the tests to use the new dummay data, and also
- fix the incorrect 404 test
- add a test for viewing images
2023-02-14 21:19:43 +00:00
Dario Piotrowicz
081a6e6c05
style scrollbar
2023-02-14 12:27:12 +00:00
Dario Piotrowicz
eaa42456d0
break words in mobile views to reduce need of scrolling
...
resolves #265
2023-02-13 17:34:15 +00:00
Sven Sauleau
d8e99e871b
Merge pull request #273 from cloudflare/account-toots
...
show account posts in account page
2023-02-13 14:50:04 +00:00
Dario Piotrowicz
37bddfbe19
show account posts in account page
2023-02-13 14:24:53 +00:00
imgbot[bot]
2a8e1fa553
[ImgBot] Optimize images ( #1 )
...
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: CyberFlame <cyberflameu@gmail.com>
2023-02-12 17:59:31 +13:00
Dario Piotrowicz
a7568b73a9
Merge pull request #246 from cloudflare/seo-metadata
...
add title, description and seo metadata to various pages
2023-02-10 15:23:14 +00:00
Dario Piotrowicz
e3271478e1
add title, description and seo metadata to various pages
...
resolves #218
2023-02-10 15:18:50 +00:00
Sven Sauleau
ff701bb05e
Revert "adjust account urls"
...
This reverts commit c8e9f04b9b
.
2023-02-09 17:24:01 +00:00
Sven Sauleau
51fb115b79
Merge pull request #221 from cloudflare/account-href
...
adjust account urls
2023-02-08 18:56:57 +00:00
Dario Piotrowicz
c8e9f04b9b
adjust account urls
...
resolves #216
2023-02-08 18:28:18 +00:00
Dario Piotrowicz
e1429629c3
change res.body.text() to res.text()
2023-02-08 11:00:22 +00:00
Dario Piotrowicz
66b4319bb3
add back button to stickyHeader
...
resolves #192
2023-02-07 14:37:59 +00:00
Dario Piotrowicz
d05de4868e
avoid destructuring status loader value
...
resolves #191
2023-02-07 11:17:31 +00:00
Dario Piotrowicz
25a6f12bb8
fix broken status loader
2023-02-07 09:56:26 +00:00
Dario Piotrowicz
c6694aa6ca
add missing favicon to 404 and 500 raw html pages
2023-02-06 23:28:05 +00:00
Dario Piotrowicz
5dad9b48fe
add nothing to see here message
2023-02-06 23:28:05 +00:00
Dario Piotrowicz
39b879e926
fix wildebeest logos not using QwikCity's Link
2023-02-06 23:28:05 +00:00
Sven Sauleau
cd9551b58f
MOW-132: redirect to /first-login for unkown user
2023-02-06 14:38:02 +00:00
Sven Sauleau
21c218b98d
Merge branch 'main' into error-page-1
2023-02-04 21:12:27 +00:00
Sven Sauleau
97eebfd3d3
Merge pull request #194 from cloudflare/status-content
...
replace wrong status-content with inner-html-content
2023-02-04 21:12:01 +00:00
Sven Sauleau
06c83ed2cf
Update frontend/src/utils/getNotFoundHtml/not-found-raw.html
2023-02-04 21:08:25 +00:00
dario-piotrowicz
8372ea296a
replace ui tests with e2e tests implemented with playwright
2023-02-04 17:50:24 +00:00
dario-piotrowicz
e9b33210ac
replace wrong status-content with inner-html-content
2023-02-04 17:00:29 +00:00
Dario Piotrowicz
c6410e27e2
add error page and redirect to such page in the various loader$s
2023-02-03 23:24:53 +00:00
Sven Sauleau
64f0984813
add more logging in /explore
2023-02-03 16:13:09 +00:00
Dario Piotrowicz
6298220010
implement account page
2023-02-03 12:43:27 +00:00
Dario Piotrowicz
215eac1ba8
make sure not-found responses have the 404 status
...
resolves #165
2023-02-01 14:32:00 +00:00
Dario Piotrowicz
88f6dbf676
improve images modal
...
improve the modal by:
- allowing the navigation of images
- making sure that the whole image is visible
- adding controls
- extracting the modal as a standalone component
2023-01-31 18:54:22 +00:00
Dario Piotrowicz
d77df85b6d
Merge pull request #159 from cloudflare/style-auth-screen
...
Style auth screen
2023-01-31 11:41:51 +00:00
Dario Piotrowicz
65af6ca9bc
style authorization screen
2023-01-31 10:51:19 +00:00
Dario Piotrowicz
2cdb55ed0f
improve image and video handling
...
by:
- adding MediaGallery
- adding missing controls to video element
- renaming ImageGallery to Image
- fixing video attachments not being correctly recognized
- standardizing mastodon media_attachmen types in mock db init
2023-01-30 15:38:13 +00:00
Sven Sauleau
4d68c3b27d
gh-86: implement authorization screen
2023-01-30 11:52:03 +00:00
Dario Piotrowicz
609e497deb
correct wrong console.warn for replies in mock db initialization ( #153 )
2023-01-24 12:47:51 +00:00
Dario Piotrowicz
67109a2601
implement createStatus to reduce code duplication
2023-01-23 21:31:48 +00:00
Dario Piotrowicz
e6e59c7b5e
implement createReply shared test util to reduce code duplication
2023-01-23 21:29:43 +00:00
Dario Piotrowicz
96c9242298
implement createReblog function to reduce reblog code duplication
2023-01-23 21:29:43 +00:00
Sven Sauleau
7694d7fca5
MOW-119: show video UI
2023-01-20 13:58:18 +00:00
Dario Piotrowicz
e464fe2bcd
add replies to dummy data and test them in the ui tests
...
as part of this change, refactor the ui tests so that they
use lower level backend apis instead of simulating http requests
(this allows us to mock replies as well)
2023-01-19 09:52:44 +00:00
Dario Piotrowicz
eea4599add
fetch status context instead of providing an empty one
2023-01-19 09:51:12 +00:00
Sven Sauleau
9c11b74c2e
MOW-118: switch from KV to DO for caching
2023-01-19 09:09:30 +00:00
Sven Sauleau
f86d5900a9
Merge pull request #112 from cloudflare/sven/MOW-101
...
MOW-101: update one-click deploy link
2023-01-18 11:06:06 +01:00
Dario Piotrowicz
3db6ca6602
improve the frontend lint coverage
...
by including in the lint check not only src
but also mock-db, test and adaptors
2023-01-16 21:30:08 +00:00
Sven Sauleau
fe547a7cb7
MOW-105: regenerate home timeline after post
2023-01-16 19:10:49 +00:00
Sven Sauleau
9020109736
format mjs files
2023-01-16 16:51:47 +00:00
Sven Sauleau
c0a6911570
MOW-75: deliver to followers via Queue
2023-01-16 12:24:49 +00:00
Dario Piotrowicz
f1890b88be
Merge pull request #98 from cloudflare/miscellaneous-fe-improvements
...
Miscellaneous fe improvements
2023-01-12 19:34:25 +00:00
Dario Piotrowicz
da40d56d2f
make sure reblog text doesn't shift on page load
2023-01-12 16:56:26 +00:00
Dario Piotrowicz
b363755500
apply Links for account links
2023-01-12 16:29:44 +00:00
Dario Piotrowicz
dd1f5ada44
remove unused class
2023-01-12 16:27:50 +00:00
Dario Piotrowicz
3ce6d35e25
remove incorrect argument in handleRequest() call
2023-01-12 16:27:50 +00:00
Dario Piotrowicz
281740b7cd
hide about link
2023-01-12 16:27:50 +00:00
Dario Piotrowicz
aa5cc5d4ae
add page not found
2023-01-12 15:48:21 +00:00
Sven Sauleau
cb7828821e
Merge pull request #93 from cloudflare/fix-commit-sha
...
fix commit hash setting
2023-01-12 15:02:47 +01:00
Dario Piotrowicz
5ec212f3df
fix commit hash setting
2023-01-12 13:11:15 +00:00
Dario Piotrowicz
e5688461ec
fix incorrect spacing for status infos
2023-01-12 10:56:51 +00:00
Dario Piotrowicz
8c2440e358
prevent text next to icont to shift on page load in status page
2023-01-12 10:56:51 +00:00
Dario Piotrowicz
24d70036c0
remove status eye icon
2023-01-12 10:56:51 +00:00
Dario Piotrowicz
951829443c
show status infos as spans if no status.url is available
2023-01-12 10:56:51 +00:00
Dario Piotrowicz
f0258e66d5
refactor status page component
2023-01-12 10:56:49 +00:00
Sven Sauleau
9256d39647
Merge pull request #83 from cloudflare/reblogs
...
Add reblogs (boosts) to the frontend UI
2023-01-12 11:39:01 +01:00
Dario Piotrowicz
f431edbb38
make sure text next to icons doesn't shift on page load
2023-01-11 23:20:32 +00:00
Dario Piotrowicz
6f47da7b70
get rid of non-themed colors
2023-01-11 22:33:07 +00:00
Dario Piotrowicz
cf32cf7d8b
add missing alt for instance thumbnail
2023-01-11 22:33:07 +00:00