Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: new remix frontend #1409

Open
wants to merge 104 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
2ee8168
chore: init remix
yjl9903 Jul 23, 2024
d11bc9a
chore(remix): init some routes
yjl9903 Jul 23, 2024
6a920df
feat(remix): add api routes
yjl9903 Jul 23, 2024
6474a02
chore: add something
yjl9903 Jul 23, 2024
75c0754
refactor!: move to other dir
yjl9903 Aug 4, 2024
81b4756
chore: use flowind
yjl9903 Aug 7, 2024
ffd2b52
chore: wip
yjl9903 Aug 7, 2024
cd3cdff
feat(web): hero scroll
yjl9903 Sep 11, 2024
f8c0b91
chore: update
yjl9903 Sep 11, 2024
730b1ca
feat(web): deploy to cloudflare
yjl9903 Sep 11, 2024
f3c58b7
chore(web): add assets binding
yjl9903 Sep 11, 2024
d44b6fb
chore: add test ci
yjl9903 Sep 11, 2024
cf66361
fix(web): immutable headers
yjl9903 Sep 11, 2024
b0539e8
chore: format
yjl9903 Sep 11, 2024
9459ded
chore(web): handle error
yjl9903 Sep 11, 2024
4d362bc
chore(web): enable sourcemap
yjl9903 Sep 11, 2024
c9ceb58
chore: update remix server runtime
yjl9903 Sep 11, 2024
d86c8c2
fix(web): deploy worker
yjl9903 Sep 11, 2024
eb7c2ad
chore(web): fix warning
yjl9903 Sep 12, 2024
c71c2c2
feat(web): add some components
yjl9903 Sep 12, 2024
5036794
feat(web): add sonner
yjl9903 Sep 12, 2024
ebe43fd
feat(web): layouts
yjl9903 Sep 12, 2024
9b198dd
feat(web): main content
yjl9903 Sep 12, 2024
f53152b
chore(web): update vars
yjl9903 Sep 12, 2024
4ec6d09
chore(web): fix ts
yjl9903 Sep 12, 2024
a762282
chore(web): fix cloudflare build
yjl9903 Sep 12, 2024
c4d7683
feat(web): update resouces table
yjl9903 Sep 15, 2024
dc4af19
fix(web): add size
yjl9903 Sep 15, 2024
0838413
feat(web): init more pages
yjl9903 Sep 16, 2024
5f1b0e6
feat(web): handle 404
yjl9903 Sep 16, 2024
9c111e7
feat(web): loading indicator
yjl9903 Sep 16, 2024
467eda7
fix(web): resources pl
yjl9903 Sep 16, 2024
72adecb
feat(web): table mobile
yjl9903 Sep 16, 2024
8faf40b
fix(web): use builtin link comp
yjl9903 Sep 16, 2024
740bbae
feat(web): add filter card
yjl9903 Sep 16, 2024
be6e7df
chore: add example env
yjl9903 Sep 18, 2024
83e8266
fix(web): layouts
yjl9903 Sep 18, 2024
b3cf47b
feat(web): more icons
yjl9903 Sep 18, 2024
9d815c7
fix(web): more layouts padding bottom
yjl9903 Sep 18, 2024
7053d6f
fix(web): reorder navbar
yjl9903 Sep 18, 2024
0d77a07
feat(web): enlarge font
yjl9903 Sep 18, 2024
d7e82c3
fix(web): mobile layouts
yjl9903 Sep 18, 2024
35ec43e
chore: deploy to fly
yjl9903 Sep 20, 2024
ba08c9d
chore: fix pnpm-lock
yjl9903 Sep 27, 2024
b6a0f1a
feat(web): add search bar
yjl9903 Sep 28, 2024
be5979f
feat(web): add detail page
yjl9903 Oct 1, 2024
e48a5b0
fix(web): resource table keep search
yjl9903 Oct 1, 2024
72967b6
chore: fix test api
yjl9903 Oct 1, 2024
2d47d05
chore: revert
yjl9903 Oct 1, 2024
5c2736c
feat(web): use hono to deploy
yjl9903 Oct 1, 2024
9447ef4
feat(web): add node adapter
yjl9903 Oct 1, 2024
f23bd67
chore: enable cf log
yjl9903 Oct 1, 2024
0dcd9d6
chore: fix ts
yjl9903 Oct 1, 2024
6042067
chore: ctx execution context
yjl9903 Oct 1, 2024
b8cd557
feat(web): redirect api req
yjl9903 Oct 1, 2024
19d2ef3
feat(web): add pagination to table
yjl9903 Oct 1, 2024
5ac7383
feat(web): support feed.xml
yjl9903 Oct 1, 2024
f6f787b
feat(web): add rss feed url
yjl9903 Oct 1, 2024
82fc21f
chore: add floating ui
yjl9903 Oct 1, 2024
fb43f79
chore: fix import url
yjl9903 Oct 1, 2024
623f8f9
chore: format code
yjl9903 Oct 2, 2024
e852aca
feat(web): add sitemap
yjl9903 Oct 2, 2024
372f23d
chore: fix web robots txt
yjl9903 Oct 2, 2024
dd8b1c8
feat(web): move layout anime to an external script
yjl9903 Oct 2, 2024
844350e
fix(web): not use env in cloudflare
yjl9903 Oct 2, 2024
bc6657b
chore: use SSR_ADAPTER env var
yjl9903 Oct 2, 2024
25a2dae
feat(web): change scroll effect
yjl9903 Oct 2, 2024
f948214
fix(web): inline a piece of javascript
yjl9903 Oct 2, 2024
f88e9c7
feat(web): scroll event watch mousemove
yjl9903 Oct 2, 2024
328604d
fix(web): not update scroll after dom loaded
yjl9903 Oct 2, 2024
ee23717
fix(web): fallback style
yjl9903 Oct 2, 2024
8e58f3d
feat(web): not flash after scroll restoration
yjl9903 Oct 3, 2024
019cdd9
chore: add smooth scroll
yjl9903 Oct 3, 2024
3c4e6c3
fix(web): scroll restore callback
yjl9903 Oct 3, 2024
70c8e2b
fix(web): pass after scroll callback
yjl9903 Oct 3, 2024
76a330d
chore: fix remix react patch
yjl9903 Oct 3, 2024
57ff886
fix(web): add overlay after ssr
yjl9903 Oct 3, 2024
020ab4b
fix(web): add touchend event for ios
yjl9903 Oct 3, 2024
552f286
chore: add is client check
yjl9903 Oct 3, 2024
d7189cf
fix(web): search bar not overflow nav
yjl9903 Oct 3, 2024
4fb7ccc
chore: update mobile ui
yjl9903 Oct 3, 2024
889320a
chore: update deps
yjl9903 Oct 4, 2024
cc97c83
feat(web): add sidebar
yjl9903 Oct 4, 2024
652db53
feat(web): sidebar collection ui
yjl9903 Oct 4, 2024
8b22495
chore: init collection filter page
yjl9903 Oct 4, 2024
3422a5d
chore: install shadcn
yjl9903 Oct 4, 2024
7798ff5
feat(web): add to collection
yjl9903 Oct 4, 2024
3ba31fa
feat(web): collection item operataions
yjl9903 Oct 4, 2024
53a022f
feat(web): add search item tooltip
yjl9903 Oct 4, 2024
6c1481c
feat(web): sidebar add help
yjl9903 Oct 4, 2024
8164b73
fix(web): reset search bar input
yjl9903 Oct 4, 2024
f458613
feat(web): search add clear button
yjl9903 Oct 4, 2024
4be881b
fix(web): pagination not show
yjl9903 Oct 4, 2024
9633889
fix(web): collection item rename event handle
yjl9903 Oct 5, 2024
77613d6
feat(web): forbidden native scale
yjl9903 Oct 5, 2024
218cbac
feat(web): collection item display active state
yjl9903 Oct 5, 2024
6c02a00
chore: move search to layout
yjl9903 Oct 5, 2024
98a4a7d
feat(web): collection page
yjl9903 Oct 5, 2024
4e13d15
chore: fix hover
yjl9903 Oct 5, 2024
869f8ec
feat(web): share on twitter
yjl9903 Oct 5, 2024
433325e
fix(web): display only keywords
yjl9903 Oct 5, 2024
415bb5a
chore: use test app host
yjl9903 Oct 5, 2024
473b6dd
chore: not update app host
yjl9903 Oct 5, 2024
2323f14
fix(web): add cursor text
yjl9903 Oct 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PORT=8080
POSTGRES_URI=postgres://root:example@0.0.0.0:5432/animegarden
REDIS_URI=redis://0.0.0.0:6379
MEILI_URL=http://0.0.0.0:7700
MEILI_KEY=example
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:
- main
- remix
paths:
- apps/frontend/web/**
- packages/worker/**
- packages/anitomy/**
- packages/animegarden/**

jobs:
deploy:
worker:
runs-on: ubuntu-latest

if: github.ref == 'refs/heads/main'
Expand Down Expand Up @@ -62,6 +63,8 @@ jobs:

- name: Build
run: pnpm build:web
env:
SSR_ADAPTER: cloudflare

- name: Deploy
run: pnpm -C apps/frontend/web run deploy:worker
Expand Down
Empty file added apps/backend/database/.gitkeep
Empty file.
Empty file added apps/backend/manager/.gitkeep
Empty file.
Empty file added apps/backend/server/.gitkeep
Empty file.
Empty file added apps/frontend/app/.gitkeep
Empty file.
6 changes: 6 additions & 0 deletions apps/frontend/web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules

/.cache
/build
.env
.wrangler
Loading