Commit graph

244 commits

Author SHA1 Message Date
58128c925b feat: first post; ssr index 2024-08-14 15:35:48 +02:00
ad7f30bb17 feat: initial /blog site 2024-08-14 14:56:01 +02:00
ad265a4d71 feat: use astro-sw automatic service worker registration 2024-08-13 20:44:48 +02:00
42b47da504 feat: activated update sw 2024-08-04 13:01:31 +02:00
07ee133ec7 refactor: move service-worker out of utils 2024-08-03 09:30:16 +02:00
ec60ebf87c chore: update sw.js docs 2024-08-03 09:15:53 +02:00
38db5a26e9 feat: use published @ayco/astro-sw 2024-08-03 08:58:57 +02:00
881c946a0a refactor: config prop rename serviceWorkerPath -> path 2024-08-03 01:10:00 +02:00
ea673e6bdd feat: implement assetCachePrefix & set sw config defaults 2024-08-03 01:01:58 +02:00
6562f35c0c chore: add to-do 2024-08-02 23:21:17 +02:00
612b7e64b4 refactor: cozy-build -> astro-sw astro integration 2024-08-02 23:17:21 +02:00
c5a3b85390 refactor: move sw & cozy-build into src/plugins 2024-08-02 22:22:59 +02:00
391cfe628b feat: remove unregister logic 2024-08-02 17:26:53 +02:00
fc9684fa99 feat: dynamically fill up initial cache with generated assets 2024-08-02 17:09:20 +02:00
e25fa1a941 feat: unregister sw for now 2024-08-02 16:30:33 +02:00
f42b1b313c feat: don't cache missing file 2024-08-02 16:20:44 +02:00
Ayo Ayco
c2ab1fc2c6
feat: add simple service worker (#98) 2024-08-02 15:34:47 +02:00
7ad30da26f feat: use favicon.ico 2024-08-02 15:21:11 +02:00
4d0772a9ae feat: remove fastify-cli 2024-07-27 11:42:41 +02:00
892b030a01 feat: add build-preview script 2024-07-27 11:32:22 +02:00
Ayo
45faa00c43 feat: cozify cached articles 2023-10-01 09:36:21 +02:00
Ayo
9c1627b3e5 feat: cozify to prefetch links and open in cozy 2023-10-01 08:48:33 +02:00
Ayo
8470e5bee6 chore: update deps; add ultrahtml dep 2023-10-01 08:36:48 +02:00
Ayo Ayco
9fd8eba7c5 fix: settings popover not showing
- removed conflict of IDs
- removed home btn getting disabled
2023-08-23 22:32:31 +02:00
Ayo
b357ee58c4 fix: submit button not enabled 2023-08-16 15:37:53 +02:00
Ayo
cc36a859d3 feat: progressively enhanced home link
- global app config via serializer/deserializer
- home link becomes router link if js enabled
2023-08-15 23:07:19 +02:00
Ayo
460aa22f6a refactor: use astro-resume 2023-07-28 10:06:46 +02:00
Ayo
a97106e263 refactor: Feature type 2023-07-28 10:06:46 +02:00
Ayo
ad62e9ee0c feat: disable hide-images feature 2023-07-27 18:42:04 +02:00
Ayo
8eff875340 refactor: feature flags 2023-07-27 18:42:04 +02:00
Ayo
3b2a863b6c fix: feature flag checkbox name 2023-07-25 23:44:42 +02:00
Ayo
2cb23529ef feat: dynamic checkbox id for settings 2023-07-25 23:29:56 +02:00
Ayo
74c501a7bd feat: hide settings popover by default 2023-07-25 23:26:09 +02:00
Ayo
9b2f656a6a feat: settings popover expainer; set feature flags to false 2023-07-25 23:23:12 +02:00
Ayo
e86d9bc04c feat: implement feature flags 2023-07-25 23:23:12 +02:00
Ayo
1a36871616 feat: hide buttons if js disabled 2023-07-25 23:23:12 +02:00
Ayo
54a91b51d6 style: settings popover spacing 2023-07-25 23:23:12 +02:00
Ayo
8bcff3268f feat: temporary js solution for close/open 2023-07-25 23:23:12 +02:00
Ayo
8339b2b4ea feat: popover close icon 2023-07-25 23:23:12 +02:00
Ayo
d794633ed5 feat: initial SettingsPopover 2023-07-25 23:23:12 +02:00
Ayo
4a41624015 refactor: use .btn class; use querySelector
- use .btn class as selector to all clickable icons
- use querySelector for selecting icons
2023-07-25 23:23:12 +02:00
Ayo Ayco
bad650e12b feat: initial settings toggle 2023-07-25 23:23:12 +02:00
Ayo
470152ea32 refactor: use Astro.props directly for @ayco/astro-resume 2023-07-16 22:05:34 +02:00
Ayo
2e574e289f refactor: update usage of @ayco/astro-resume 2023-07-16 22:01:16 +02:00
Ayo
a8b5513f00 feat: strictly typed resumed preferences 2023-07-16 20:24:34 +02:00
Ayo Ayco
664d81d86b feat: use @ayco/astro-resume 2023-07-16 13:19:37 +02:00
Ayo
70a2fb856f style: readability improvements 2023-07-02 21:22:48 +02:00
Ayo Ayco
4cbd95d911
refactor: minor clean up (#71)
* remove unnecessary leftovers

* add comment
2023-06-30 12:57:25 +02:00
Ayo
8dc528b39c feat: get last url param 2023-06-26 14:17:26 +02:00
Ayo Ayco
34e32abe51
fix: prevent history mess (#70)
* chore: add favicon

* fix: home article url

* fix: prevent duplicated history entry (unencoded & encoded)

* fix: prevent own app

* remove console.log

* fix: prevent showing cached cozy
2023-06-26 14:10:51 +02:00
Ayo Ayco
7c67e674e5
refactor: lots of improvements (#69) 2023-06-24 22:32:20 +02:00
Ayo
f8e07c3195 style: spacing and text sizes 2023-06-24 11:30:37 +02:00
Ayo
5b091337cf style: spacing 2023-06-24 11:09:06 +02:00
Ayo
bd100977ab style: footer improvements 2023-06-24 11:01:40 +02:00
Ayo
52507d0b41 style: code block 2023-06-24 10:17:54 +02:00
Ayo
4e26302101 feat: address bar improvements 2023-06-19 16:43:50 +02:00
Ayo
ea6b0d7658 feat: home link 2023-06-19 10:14:31 +02:00
Ayo
e51bb46f48 style: max width for footer 2023-06-18 18:30:39 +02:00
Ayo
d0954e387f feat: footer improvements 2023-06-18 13:25:19 +02:00
Ayo
c7e48939c4 feat: footer improvements 2023-06-15 17:01:30 +02:00
Ayo
f512731cab feat: require url input 2023-06-15 13:15:14 +02:00
Ayo
d4ff337844 feat: update document.title on navigation 2023-06-15 13:03:49 +02:00
Ayo Ayco
76e92ddee9
feat: address bar improvements (#55)
* feat: address bar UX improvements

* 0.1.25
2023-06-15 11:42:46 +02:00
Ayo Ayco
8011bbd930
fix: address bar nav buttons are enabled on home (#54)
* fix: disable the nav buttons on home

* style: subtler color of address bar text

* 0.1.24
2023-06-15 10:04:10 +02:00
Ayo
f913b1f3d2 fix: page title missing space 2023-06-15 08:52:00 +02:00
Ayo
9e2818004a fix: history heading shows when only index is cached 2023-06-15 08:43:41 +02:00
Ayo Ayco
7c949d6030
feat: preserve home scroll position (#52)
* feat: preserve home scroll position

* 0.1.23
2023-06-14 23:31:06 +02:00
Ayo Ayco
99a028a64f
fix: index not cached (#48)
* fix: make sure to cache index

* 0.1.22
2023-06-14 22:55:00 +02:00
Ayo Ayco
b2541606e4
feat: preserve history (#47)
* feat: preserve history

* 0.1.21
2023-06-14 22:38:06 +02:00
Ayo
d2f698571e style: footer spacing 2023-06-14 21:20:14 +02:00
Ayo Ayco
968cc03cd4
feat: update disclaimer (#46)
* feat: update disclaimer

* 0.1.20

* 0.1.21

* 0.1.19

* 0.1.20
2023-06-14 21:15:02 +02:00
Ayo Ayco
3a49d5d0b5
feat: add footer description, disclaimers, attribution, links (#43) 2023-06-14 20:49:33 +02:00
Ayo Ayco
c8cc39958c
feat: hide dynamic buttons if js not allowed (#42)
* feat: hide dynamic buttons by default & show if js allowed

* 0.1.18
2023-06-14 19:59:20 +02:00
Ayo
16a00d7c9d style: adjust disabled button color 2023-06-14 19:48:41 +02:00
Ayo Ayco
b76f00ac35
feat: address bar button states (#41)
* feat: address bar button states

* 0.1.17
2023-06-14 19:45:57 +02:00
Ayo
5e8d2cf495 fix: typo 2023-06-14 18:18:06 +02:00
Ayo Ayco
68aa6b1502
a11y: add accessible button names (#40)
* a11y: add accessible button names

* 0.1.16
2023-06-14 18:12:53 +02:00
Ayo
fe8de18019 feat: add submit button; some styles 2023-06-14 17:12:08 +02:00
Ayo
c6d0b071e9 feat: add dynamic home button + gh link 2023-06-14 16:46:41 +02:00
Ayo
ad1b670ddc style: spacing adjustments 2023-06-12 22:33:01 +02:00
Ayo
9f0eb454a3 style: spacing adjustments 2023-06-12 22:17:55 +02:00
Ayo
4b9c005bed style: add bottom padding to main content 2023-06-12 22:07:29 +02:00
Ayo
739d1bf175 style: spacing and cursor 2023-06-12 22:06:33 +02:00
Ayo
66238c1169 style: address bar color adjustments 2023-06-12 22:00:06 +02:00
Ayo
4bae7cb0b9 style: removed borders and made heading small 2023-06-12 21:53:01 +02:00
Ayo Ayco
c4d5815740
fix+style: errors got cached (#35) 2023-06-12 21:39:54 +02:00
Ayo
e9c819876a style: spacing, colors, typography 2023-06-10 19:45:22 +02:00
Ayo Ayco
5d23320d04
style: colors and spacing (#33) 2023-06-10 13:21:45 +02:00
Ayo Ayco
54831dcbb0
style: cozier list (#32)
* style: cozy list

* style: remove heading margin
2023-06-10 13:05:40 +02:00
Ayo Ayco
50fc6edd51
style/spacing fixes (#31)
* style: spacing fixes

* 0.1.8
2023-06-10 12:17:40 +02:00
Ayo Ayco
d6e89e5f7d
feat: single column layout w/ fancy cards (#30) 2023-06-10 12:00:20 +02:00
Ayo
5135623562 style: apply max-width to post 2023-06-06 08:48:31 +02:00
Ayo Ayco
c01ade5951
feat: desktop layout (#26) (#27)
fixes #26
2023-06-06 08:45:57 +02:00
Ayo
dbedcc9d1e fix: add fix for older cached items 2023-06-05 17:20:21 +02:00
Ayo
af4ece6d77 style: forced fix for older cached items 2023-06-05 17:16:02 +02:00
Ayo
78d0fec795 style: add fix for older cached items 2023-06-05 17:13:41 +02:00
Ayo Ayco
0b74ae5b4f
refactor: eliminate is:inline by using :global() (#23) 2023-06-05 16:57:02 +02:00
Ayo
5ed5a92a05 fix: img alt 2023-06-05 10:12:19 +02:00
Ayo
2dc9cec8db style: add top margin to elements back 2023-06-04 21:47:19 +02:00
Ayo
1022d8696d chore: link to latest release 2023-06-04 21:42:36 +02:00
Ayo
077d56b3be feat: show alpha version 2023-06-04 21:35:42 +02:00
Ayo
7a33e91651 feat reverse ordering of library items 2023-06-04 21:03:55 +02:00
Ayo
8e7528efd3 feat: add library link on to address bar 2023-06-04 19:59:42 +02:00
Ayo
fc1818b915 feat: Home link 2023-06-04 19:47:51 +02:00
Ayo
1ecc7f541d feat: library on homepage 2023-06-04 19:34:33 +02:00
Ayo
327ea620be feat: skip save if extractor error 2023-06-04 16:28:22 +02:00
Ayo
7e337ff4bf chore: update build command for netlify 2023-06-04 16:14:40 +02:00
Ayo
3b6e6c36b1 feat: skip save if no article 2023-06-04 16:14:40 +02:00
Ayo
4e2256c6d3 style: layout 2023-06-04 15:46:48 +02:00
Ayo
c8672fc4eb feat: render cached post to page 2023-06-04 14:56:04 +02:00
Ayo
42e71df3c6 feat: initial use of cache api 2023-06-04 14:03:28 +02:00
Ayo
37c755bc14 refactor: component and layout file names 2023-06-04 13:27:19 +02:00
Ayo
b1e93845ec style: center images if less than post width 2023-06-04 13:26:10 +02:00
Ayo
9a7c372ca8 refactor: use url.searchParams 2023-06-04 13:10:17 +02:00
Ayo
3e95f853af change name to cozy 2023-06-03 01:09:46 +02:00
Ayo
8412601a3c style: add iframe to media reset; center media if not full-width 2023-05-27 20:29:49 +02:00
Ayo
008209242a chore: add reset.css attribution 2023-05-27 10:16:36 +02:00
Ayo
08ec7e9994 style: borders for table cells and headers 2023-05-27 10:12:01 +02:00
Ayo
f196df0068 remove is-url checker
we get url validation for free with `extract`
2023-05-27 10:10:40 +02:00
Ayo
1d1b31f524 fix: remove test author data 2023-05-14 00:15:19 +02:00
Ayo
6491693099 style: typography of publish info and source 2023-05-14 00:14:42 +02:00
Ayo
30e185b0f7 feat: display article source 2023-05-13 23:35:26 +02:00
Ayo
6a4221d34a style: make repo link bigger 2023-05-13 23:35:16 +02:00
Ayo
69822cce22 style: spacing for lists & tables 2023-05-13 23:19:00 +02:00
Ayo
7283b22a13 refactor: make the catch-all content HTML 2023-05-13 14:51:36 +02:00
Ayo
80190edb7b refactor: simpler jsx 2023-05-13 11:48:17 +02:00
Ayo
60a866e2b4 Merge branch 'main' of github.com:ayoayco/cozy-reader 2023-05-13 11:47:02 +02:00
Ayo
da83d551df refactor: remove unused imports 2023-05-13 11:46:18 +02:00
Ayo Ayco
093a3c5cac style: smaller repo link 2023-05-13 08:55:30 +02:00
Ayo Ayco
89679a8af5 feat: link to repo 2023-05-13 08:35:27 +02:00
Ayo
72aa15f6ce style: more readable paragraph font size 2023-05-12 22:39:24 +02:00
Ayo
9c6fb3eaa6 fix: typo 2023-05-12 22:13:47 +02:00
Ayo
c9e7c103c7 fix: catch error response 2023-05-12 22:11:46 +02:00
Ayo
79279e4ab1 fix: catch undefined article 2023-05-12 21:27:03 +02:00
Ayo
19010d2d72 style: cozy! 2023-05-12 19:16:43 +02:00
Ayo
4f7311d02b refactor: clean code 2023-05-12 08:49:06 +02:00
Ayo
7764c3e06e refactor: rename component 2023-05-11 18:18:16 +02:00
Ayo
e49f3ca831 chore: add link to repo 2023-05-11 17:28:28 +02:00
Ayo
bab04a4057 refactor: use semantic elements 2023-05-11 17:16:14 +02:00
Ayo
75a8ab3124 feat: make title h1 2023-05-11 17:10:52 +02:00
Ayo
4539bb9e79 fix: url validation if empty string 2023-05-11 16:51:06 +02:00
Ayo
695b9d337c feat: simple url validation 2023-05-11 16:50:17 +02:00
Ayo
e9fc737ce3 feat: article component for extracted content 2023-05-11 16:42:15 +02:00
Ayo
e2c0e77c4b feat: accept URL from form or searchParam 2023-05-11 16:19:57 +02:00