Commit Graph
405 Commits
Author SHA1 Message Date
Ilya Kreymer 15ee50e793 update wabac.js (db ref count fix) 2020-10-19 21:13:18 -07:00
Ilya Kreymer 92b875a29b location bar fixes:
- fix url not being updated from navigation
- reload current url when pressing enter in location bar
- revert to current url when losing focus and url is blank
- fix hitting 'escape' resets location bar to current url
- bump version to 1.2.0-beta.1

latest wabac.js: fixes for fetch credentials override, use wabac.js 2.1.0-beta.4
2020-10-19 17:43:18 -07:00
Ilya Kreymer cc370a2261 wabac.js update: rewriting improvements, fix web worker rewriting and enable legacy <object> tag rewriting for youtube flash video 2020-10-17 01:00:02 -07:00
Ilya Kreymer 8144b602a7 ui work:
- show favicon in location bar, if available
- editable mode: experimental allow editing collection title from pages view, update using new api
- editable mode: disable selected only downloads if nothing is selected
- pageentry: simplify, use passed in date

wabac.js: update to latest dev wabac.js 2.1.0-beta.2, including improved fuzzy matching system, new rules for fb and twitter (beta)
2020-10-14 23:42:10 -07:00
Ilya Kreymer a9c6148d67 packaging: add assets to packaging
build with wabac.js develop
fix bulma import to help loading as module
bump version to 1.2.0-beta.0
2020-10-14 23:41:51 -07:00
Ilya Kreymer 221cb73b82 update CHANGES for 1.1.2 and bump version 2020-10-02 17:53:05 -07:00
Ilya Kreymer 5d44a7f8d9 wabac.js update
url search: fix loading of additional items for mime type search, sorter optionally pages results
bump to 1.1.2-beta.1
2020-10-02 16:09:28 -07:00
Ilya Kreymer b2fcc4ced1 rewriting fixes: update to latest wabac.js (2.0.8) for rewriting, fuzzy matching improvements, including fixing replay of embedded tweets
bump to 1.1.2-beta.0
2020-09-30 20:42:09 -07:00
Ilya Kreymer 66552aae6c Update CHANGES.md for 1.1.1 release 2020-09-30 13:40:26 -07:00
Ilya Kreymer 83ac63d0d8 sorter and search fixes:
- sorter: ensure sort settings are remembered
- sorter: remoe default attrs, just bind to 'sortKey' and 'sortDesc' to set the defaults
- pages: override sort order by best match when doing a text search, back to by date when showing page list
- page entries: fix date sorting, normalize page.timestamp and page.date on all page results
- url resources: fix 'contains' search, add highlighting to search results
- ensure textIndex cache is deleted when collection is removed
- bump electron to 10.1.3
- bump version to 1.1.1
2020-09-30 12:40:44 -07:00
Ilya Kreymer 4315a54263 bump version to 1.1.0-beta.1
rebuild ui.js
2020-09-29 17:55:52 -07:00
Ilya Kreymer b0799256b3 embeds: only show replay in embedded mode when visible, using IntersectionObserver to detect when off-screen 2020-09-29 16:19:00 -07:00
Ilya Kreymer 5b1431fc5b update to wabac.js 2.0.7 (includes rewriting fixes for webworkers, wix, and embedded pages about:blank)
minor tweaks to pages/pageentry in editable mode
bump version to 1.1.0-beta.0
2020-09-27 11:31:52 -07:00
Ilya Kreymer 3f8bdf1ad1 ci: try splitting windows and linux builds into seperate passes to only build appimage for 64-bit, to address #20 2020-09-17 09:13:41 -07:00
Ilya Kreymer 9e23433dae location change: ensure plain search in location bar go to fully expanded view, clear out url/ts 2020-09-16 18:28:06 -07:00
Ilya Kreymer ac93f0f52d build: fix branch for release build 2020-09-16 15:55:12 -07:00
Ilya Kreymer 5e5cdbbd7b add CHANGES and update README 2020-09-16 13:58:07 -07:00
Ilya Kreymer 4068a0265d misc usability fixes:
- links: make all replay links valid hashtags instead of empty "#"
- replaybar: fix padding on dropdown menu button
- a11y/focus: only set focus on replay frame if no sidebar is visible
bump electron to latest 10.1.2
set version to 1.1.0!
2020-09-16 13:27:10 -07:00
Ilya Kreymer c5fecb88b2 Dependabot Updates (#19)
* Bump websocket-extensions from 0.1.3 to 0.1.4 (#3)
* Bump elliptic from 6.5.2 to 6.5.3 (#11)
* Bump lodash from 4.17.15 to 4.17.20 (#13)
* Bump node-fetch from 2.6.0 to 2.6.1 (#18)
2020-09-16 12:53:36 -07:00
Rebecca Lynn CremonaandIlya Kreymer 05adead57c Accessibilty, first pass (#17)
* Placeholder color contrast @ WCAG 2.0 level AA

* Trailing whitespace removed.

* Remove redundant labels.

* Logo is a link in mobile, if not-embedded; otherwise, span. Fix link labels.

* HREF mandatory on A; menu behaves like a popup button.

* Hide icons from screen readers.

* About icon id keyboard-operarable and is labeled.

* Note about inaccessible modal.

* Missing closing tag.

* Fix nesting/indentation.

* Fix nesting/indentation; add missing closing tag.

* Trailing whitespace removed.

* Don't use NAV landmark for non-nav; add heading for page structure.

* Hide icon.

* Load archive form's buttons visibly receive keyboard focus.

* Trailing whitespace removed.

* "Hide" header button is keyboard-operable, and more-verbosely labeled for screenreader users.

* Don't use NAV landmark for non-nav; add heading for page structure.

* Sort order announced to screen reader users.

* Trailing whitespace removed.

* Delete button only a button when it can be pressed; announce in progress deletion.

* Trailing whitespace removed.

* Use a NAV landmark for replay controls.

* Remove "menu" role, to avoid having to implement arrow key support https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus

* Hide icons.

* Label buttons.

* Links in disguise as buttons need HREF, and to respond to spacebar.

* Re-dub "main menu" to distinguish from replay menu

* Replay nav buttons visually get keyboard focus.

* Trailing whitespace removed.

* Hiding icons; button labels; links-as-buttons are operable.

* Use type=search for additional clarity.

* Add appropriate landmarks and a heading for structure and clarity.

* Tab selection is a nav, and is keyboard operable.

* Indentation; missing closing tag.

* Trailing whitespace removed.

* Title iframe.

* Not a navigation.

* Per discussion, rename tab to "URLs" (label only; route etc. the same while experimenting).

* Announce when expanded/collapsed.

* Remove "menu" to avoid having to implement expected keyboard support.

* Use correct heading level when in sidebar and when main.

* Trailing whitespace removed.

* Semantic markup of table; headings and captions; link-buttons are keyboard operable.

* Skip links for keyboard users.

* Title iframe; hide icon.

* Just a list, not an aside.

* Not an article.

* Remove trailing whitespace.

* Make each page in the list a heading.

* link-buttons are keyboard operable.

* Use semantic list for page list.

* Announce changes to search results.

* More wayfinding tweaks.

* Landmark and heading for replay.

* Dynamic page titles.

* Remove redundant labels from main landmarks.

* additional tweaks after rebase
- add 'role' to each of the tabs, dependent if sidebar or not
- add 'role=main' for replay
- add sr-only headers to each tab

* fix typos

* remaining tweaks:
- url-resources: fix sorter getting moved into notification
- url-resources: fix border for mobile view
- add screenreader labels to expand/hide buttons

* Show hover effect on focus.

* Wrap the whole sidebar is role=complementary, including the tab navigation.

* Make buttons keyboard operable; fix typos.

* Programmatically associate sidebar toggle button with sidebar.

* Per discusson, try calling this "URLs"

* Different heading levels for sidebar and main.

* Announce changes to search results.

* Correct dynamic page title, whe not in sidebar.

* Remove hyperlink focus decoration; reveal obscured focus indicator.

* Focus on replay, when replay changes.

* Make buttons keyboard operable.

* Move spacebar helper to misc instead of duplicating.

* Bump compiled assets.

* Use disabled attribute to match css; update label to describe new sidebar.

* Adjust replay focus styles.

* Adjust replay nav button focus, so visuals onclick in Chrome are less prominent.

* Put wordmark with logo on non-embed desktop, so that logo and wordmark make a single link.

Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2020-09-16 12:46:44 -07:00
Ilya Kreymer 7d9ce2b952 safari fixes: update to latest wabac.js (fix bug with cacheing responses to safari's 0-1 range check)
fix spinner in safari by adding keyframes to document itself
2020-09-10 23:17:26 -07:00
Ilya Kreymer 1790a1a73e update wabac.js (support for native hls videos for safari) 2020-09-10 19:05:54 -07:00
Ilya Kreymer d0cc1acb71 ui tweaks for mobile:
- fix url chooser cut-off in mobile (#14)
- sidebar toggle goes directly to full view (no sidebar) in mobile mode
2020-09-09 09:41:47 -07:00
Ilya Kreymer 851ce9bf90 sidebar refactor:
- support all view tabs (story, pages, resources) appearning as possible sidebar
- remove 'replay' as view, show replay if url= is set
- story: support splitter view for both sidebar/mobile and full view
- urlresources: support sidebar view, default to prefix search as default search type
- embeds: don't show sidebar for 'replayonly' embed mode
2020-09-08 15:03:58 -07:00
Ilya Kreymer 3f5431b7d7 embed: support referencing specific pages by index into page list, eg. url="page:0" will load the first page
sorter: use defaultKey / defaultDesc for url-resources sorter
2020-09-06 20:42:32 -07:00
Ilya Kreymer a3214dc081 minor tweaks:
- add padding to markdown <p> in story mode, fixing #6?
- fix page sorting: switch to best match if searching, otherwise default to date
2020-09-06 17:10:48 -07:00
Ilya Kreymer 2212678ed7 embed: add allow-forms to sandbox, otherwise location bar is disabled
update to latest wabac.js
2020-09-02 21:17:49 -07:00
Ilya Kreymer 889f51171a splitter fixes:
- fix readding splitter after switch to different views
- fix size of standalone pages
2020-09-01 22:05:04 -07:00
Ilya Kreymer d6515152c0 splitter: use more lightweight split.js for sidebar splitter 2020-09-01 21:42:44 -07:00
Ilya Kreymer 457b980af1 sidebar: ensure hiding sidebar is correctly saved in localStorage 2020-09-01 12:51:02 -07:00
Ilya Kreymer 557b528ca6 build: disable automatic chunking for now 2020-08-31 19:40:04 -07:00
Ilya Kreymer f8120adbbd splitter tweaks: pass array to splitter,
bump version to 1.1.0-beta.2
rebuild
2020-08-31 19:27:09 -07:00
Ilya Kreymer 609bcaff85 split pageentry into pageentry.js
text snippet: only include the first match to limit size of snippets
2020-08-31 19:20:09 -07:00
Ilya Kreymer 804529aeea sidebar support + pageview sidebar work!
- pages view now appears as sidebar in table/desktop sizes when clicking show pages button
- using <split-me> webcomponent to support adjustable splitter for sidebar
- pages view includes list filter if lists exist
- current page is highlighted when selected in sidebar
- date appears below url for each when in sidebar/mobile view mode
2020-08-31 18:47:24 -07:00
Ilya Kreymer 910e4795a5 collection fixes:
- default to pages tab if story not available
- fix location bar
2020-08-29 17:26:59 -07:00
Ilya Kreymer e580a63e7e update to latest wabac sw.js 2020-08-27 16:06:51 -07:00
Ilya Kreymer 57ec6acd38 embeds: fix reloading: reload only the embed frame, add counter to only reload twice 2020-08-26 12:59:20 -07:00
Ilya Kreymer 4d4889b1b6 embed: default to 'default' instead of 'full' if unset
update wabac.js (remove query when checking for ext)
2020-08-26 09:18:47 -07:00
Ilya Kreymer a330c2c5c2 update to latest wabac.js -- fix reading small wacz files
embed fixes: fix 'replayonly' mode to hide locationbar
embed loading screen: simplify, don't show cancel button, filename
bump to electron 10.0.0
bump to beta.1
2020-08-24 23:09:18 -07:00
Ilya Kreymer 33cc6b2082 update wabac.js/wombat.js (apply override, window.chrome fixes) 2020-08-18 10:47:23 -07:00
Ilya Kreymer 429f06453e ui text tweak: update location placeholder to mention text search 2020-08-12 15:49:34 -07:00
Ilya Kreymer 531f16a433 pages tweaks:
- display no results message in main view
- better view of score column in mobile view
- rename: rwp:// -> search://, Score -> Match
- only cache textIndex if non-zero result
2020-08-10 23:49:00 -07:00
Ilya Kreymer 4efce70a39 text search and ui fixes:
- text support via <coll>/textIndex api, fallback to existing pageList text data
- page sorting: add score column for page search results with query
- safari: add min-height: fit-content for safari
- refresh: ensure replay refresh triggers refresh icon
- embeds: ensure deep linking working for search view pages (map view and query params)
2020-08-07 16:48:02 -07:00
Ilya Kreymer 69e7982d31 ui tweaks:
- show pages found in sidebar if in desktop mode
- allow refresh on search views, just do reload
2020-08-05 23:05:53 -07:00
Ilya Kreymer 849f8ff4eb ui refactoring on search views:
- fix flexbox sizing
- update icons
- url-resources view: make responsive, use wr-sorter
- pages: various tweaks, hide sidebar for better responsive view!
- app: hide nav buttons when in archive view to avoid redundant
- add page view button to context menu
2020-08-05 20:05:12 -07:00
Ilya Kreymer 6b343e7e65 move tabs below location bar
pages: move sidebar below search bar, hide if no lists
use 'min-height: 0' to finally fix flexbox layout on all tabs!
2020-08-04 23:12:44 -07:00
Ilya Kreymer bb20379336 add location bar to be part of collection,
use rwp:// scheme to indicate search pages
2020-08-01 08:47:08 -07:00
Ilya Kreymer 3f51f35b9f embeds: add automatic reload if serivceWorker is available but controller is not to catch any race condition where serviceWorker has not yet been activated 2020-07-27 17:29:58 -07:00
Ilya Kreymer 8737319b5b embeds: tweak no service-worker error message, update to latest wabac/sw 2020-07-23 08:35:39 -07:00
Ilya Kreymer 05b2e96ca5 sw update: update to latest wabac.js (improved fuzzy matching for yt embeds) 2020-07-19 20:28:04 -07:00