Commit Graph
148 Commits
Author SHA1 Message Date
Ilya Kreymer ad2ee1ed79 update sw for rewriting fixes 2020-05-15 11:16:13 -07:00
Ilya Kreymer e119a19386 add embed.js 2020-05-14 19:11:56 -07:00
Ilya Kreymer 84f4aa3717 embeds work:
- ability to specify an explicit collection and pass extra config
- reauth: don't show message if reauth pending
- add fullscreen toggle
2020-05-14 19:08:16 -07:00
Ilya Kreymer 822d459859 minor ui tweaks, switch to info icon 2020-05-12 14:07:02 -07:00
Ilya Kreymer 7294c05d2c misc fixes for FF and safari
navbar info item: add dropdown to show info about current archive, source, size and loading mode
2020-05-12 12:59:09 -07:00
Ilya Kreymer f54078627f ui responsiveness: make tabs appear in top bar if enough space, hide text and move to second row for smaller widths 2020-05-12 09:05:18 -07:00
Ilya Kreymer 780d5b74a9 add embed.js for embedding <replay-web-page>!
css tweaks for replay iframe, initial support embed param to hide nav bar
various css tweaks for scrolling!
2020-05-11 19:10:09 -07:00
Ilya Kreymer f6bcc95cdc fix for safari: use type='text', move input out of label 2020-05-10 13:26:33 -07:00
Ilya Kreymer 4132058282 colors: tweak curated page link color to green
sw: support offline loading!
2020-05-10 11:47:02 -07:00
Ilya Kreymer daaa0e8c0d curated pages: raise limit to 1000 for now 2020-05-09 16:25:31 -07:00
Ilya Kreymer ca83c80dc7 url mime search: switch radio buttons to drop down, add more mime type filters 2020-05-09 13:06:36 -07:00
Ilya Kreymer c00da11d10 backwards compat: fallback to sourceUrl if loadUrl not found 2020-05-09 11:05:07 -07:00
Ilya Kreymer eca03efbd9 cleanup info display:
- show sourceUrl for all, also show filename for googledrive:// urls
- remove displayName
- add loadUrl to specify actual loading url
- add support for canceling loading with cleanup
2020-05-09 10:58:02 -07:00
Ilya Kreymer 3cfc9acf17 auth: when using googledrive source, attempt getting new token automatically w/o prompt on replay load
ui: add input validation for file/url chooser, improved error messaging
detect if list is out of range for currList
style tweaks to info for buttons
2020-05-09 08:40:33 -07:00
Ilya Kreymer f37ba87107 gdrive auth work: experimental support to public files w/o auth, fallback to auth 2020-05-08 16:53:58 -07:00
Ilya Kreymer f9191f22d8 style/color tweaks, fix missing redirect after load! 2020-05-07 19:59:20 -07:00
Ilya Kreymer 0796e01068 color/typo tweaks 2020-05-07 15:39:15 -07:00
Ilya Kreymer b548e2fc15 reauth and terms:
- use modal display from sw message to request auth, as redirect may be on a non-html page
- also use modal for terms to avoid leaving page
2020-05-07 15:13:04 -07:00
Ilya Kreymer 4af7983355 fix reauth redirect 2020-05-07 11:19:46 -07:00
Ilya Kreymer 5f148a8325 fixes for firefox and safari:
- ensure progress bar % works on ff, and safari
- don't use URL for parsing custom schemes due to browser differences
- add error messaging for interrupted download
2020-05-07 11:11:14 -07:00
Ilya Kreymer 1cf32c7de4 auth improvements:
- add google drive reauth support, if auth expires (for on-demand downloaded content)
- fix curated page width
2020-05-06 18:09:42 -07:00
Ilya Kreymer c74d0ffaa1 gdrive integration: show authorize button if automatic authorization fails, eg. need to choose account 2020-05-06 09:50:35 -07:00
Ilya Kreymer 62f08f6dd9 more ui tweaks:
- make index scrollable
- don't show 'current archive' until successfully loaded
- begin embed view for wr-replay
- cleanup pageutils
2020-05-05 23:17:43 -07:00
Ilya Kreymer 9241294191 fixes for tab switching and naviation, ensure hash updated and history works
remove replay panel when on other tabs
add delete loader when deleting
adjust size of tabs
2020-05-05 21:16:10 -07:00
Ilya Kreymer 11dc6220a2 various fixes:
- more update related fixes, remove redundant firstUpdated handling, avoid double load()
- add refresh button, loading indicator for replay
- update wombat, add wombatWorkers
- use full bulma again
2020-05-05 00:24:00 -07:00
Ilya Kreymer 19de694d73 update gdrive client id 2020-05-04 12:51:05 -07:00
Ilya Kreymer 3b31490479 add terms page at /?terms 2020-05-04 12:32:21 -07:00
Ilya Kreymer 3a17e12e6c ui nav hashtag fixes: fix messaging to ensure hash tag updates correctly, replay always available, use url= and ts= for shorter hashtag location
jekyll: use remote_theme always to work with gh pages
2020-05-04 11:16:34 -07:00
Ilya Kreymer 0bb0a2e618 remove local theme config 2020-05-03 22:53:55 -07:00
Ilya Kreymer ed456fbb5f docs: add jekyll just-the-docs docs, initial pass 2020-05-03 22:21:07 -07:00
Ilya Kreymer 204d874471 replay ui: add location + datetime display, respond to user changes and wombat messages
location update: use replaceState instead of hash update to avoid duplicate history entries
rename currTab -> view
2020-05-03 22:20:59 -07:00
Ilya Kreymer 1a4793eefa css optimization: bundle bulma, main.scss as inline css injected directly into lit-element css
import a subset of bulma to decrease size in main.scss
import only base bulma for outer html page in base.scss
2020-05-03 14:57:51 -07:00
Ilya Kreymer 6f04588dfd add CNAME, add examples from wabac.js, build directly from wabac.js 2020-05-02 13:27:17 -07:00
Ilya Kreymer e023726fd2 split off from wabac.js:
- add pageembeds.js for now
- new webpack build, use /sw.js in prod, /dist/sw.js in dev to work with webpack-dev-server single directory
- add wombat dependency and webpack build
2020-05-02 11:27:48 -07:00
Ilya Kreymer 47108dc7d8 ui: improve resource view, add loader, ensure urls for ziparchive are loaded on-demand for prefix / exact match
add logo to loading screen
2020-05-01 23:59:33 -07:00
Ilya Kreymer 13ca1c0c2f load errors: detect non-200/206 response and return an error
local file loading support: fix blob reader, add UI for file chooser and url entry
ui: choose default tab after loading completed
remove some logs
2020-05-01 15:59:13 -07:00
Ilya Kreymer fb2c1f0f15 use http/blob readers for all loaders, not just ziparchivereader
support cdx indexing only for large warcs instead of storing entire warc
ziparchive cache zip entries in db, avoid reload of zip on each access
fix collections not being cached!
2020-04-30 23:32:49 -07:00
Ilya Kreymer 762df607df update litelement/lithtml dependencies 2020-04-30 10:54:06 -07:00
Ilya Kreymer 55f8546237 icons: use inline svgs for font-awesome icons, remove fa-icons dependency 2020-04-29 22:48:56 -07:00
Ilya Kreymer befc694046 fix sw for build 2020-04-29 20:18:48 -07:00
Ilya Kreymer ee78b3cdac update ui pass, add logo, branding colors! 2020-04-29 20:15:19 -07:00
Ilya Kreymer 72f60a0ccf update sw localtion for 404 2020-04-29 13:07:00 -07:00
Ilya Kreymer 7ca7cf4601 live proxy work: test /live/ via sw endpoint 2020-04-28 13:10:55 -07:00
Ilya Kreymer fb44e62ba4 back root sw for deploy 2020-04-26 21:51:41 -07:00
Ilya Kreymer 23deeb81e0 refactor components, save arguments via query
replay in new tab!
add frontendExternal
2020-04-26 21:37:27 -07:00
Ilya Kreymer 769cd020d8 update paths, update index.html 2020-04-26 12:57:26 -07:00
Ilya Kreymer 13b04fd2af update frontend.css paths 2020-04-26 12:54:03 -07:00
Ilya Kreymer 1ce2542007 new frontend first pass!
with index, collection page, loading screen, gdrive support
loaders, api split
progress update on load
2020-04-26 11:25:47 -07:00