-
Notifications
You must be signed in to change notification settings - Fork 17
web: Pack client JS and add hamburger menu to web frontend #121
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1970f19
docker: improve service inter-dependencies
ashquarky a9acfff
feat(build): Run client-facing JS+CSS through ESBuild pipeline
ashquarky 12f0ef9
feat(build): Remove pre-minified versions of client-facing JS+CSS
ashquarky cb96d34
fix(build): Don't minify identifiers
ashquarky 4afd67d
feat(lint): Add EJS linting
ashquarky 247947e
chore(web): Reformat post_template include
ashquarky 8dfea73
chore(docker): Add R2 to proxy
ashquarky caf6d7e
feat(web): Add hamburger to posts
ashquarky ee0020f
feat(web): Add reporting to hamburger (mmm)
ashquarky 23c40a7
feat(web): Add post delete button for moderators
ashquarky a27d1c6
fix(web): Highlights are light now
ashquarky 76ee157
chore(web): Use hasAttribute for boolean condition
ashquarky 3bf6b2d
chore(web): Clean up promises for deletePost
ashquarky 735c423
fix(build): Use npm-run-all instead of sh for cross-platform dev'ving
ashquarky 01147af
fix(web): Don't error on pages that don't have a report modal
ashquarky 2381c12
feat(web, console): Use IIFE bundle and unvendor PJAX
ashquarky 0937eab
feat(build): Enable minification and treeshaking
ashquarky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,7 @@ | |
|
|
||
| s3_domains = [ | ||
| "cdn.pretendo.cc", | ||
| "r2-cdn.pretendo.cc" | ||
| ] | ||
|
|
||
| def request(flow: http.HTTPFlow): | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "watch": [ | ||
| "src/" | ||
| ], | ||
| "ext": "js,ts,ejs,json,css", | ||
| "env": { | ||
| "NODE_ENV": "development" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <link rel="stylesheet" type="text/css" href="/css/juxt.min.css"> | ||
| <link rel="stylesheet" type="text/css" href="/css/juxt.css"> | ||
| <script src="/js/debug.js"></script> | ||
| <script src="/js/pjax.min.js"></script> | ||
| <script src="/js/juxt.min.js"></script> | ||
| <script src="/js/pjax.js"></script> | ||
| <script src="/js/juxt.js"></script> | ||
| <title><%= title %></title> | ||
| </head> |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.