Skip to content

Commit

Permalink
complete article approval workflow, splitscreenlayout, searchablelist
Browse files Browse the repository at this point in the history
  • Loading branch information
dinakar17 committed Jul 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e89b14c commit 10f1ed4
Showing 104 changed files with 6,532 additions and 3,970 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -37,6 +37,13 @@
"@tiptap/react": "^2.4.0",
"@tiptap/starter-kit": "^2.4.0",
"@tremor/react": "^3.17.3",
"@yoopta/blockquote": "^4.6.5-rc.1",
"@yoopta/code": "^4.6.5-rc.1",
"@yoopta/editor": "^4.6.5-rc.1",
"@yoopta/headings": "^4.6.5-rc.1",
"@yoopta/link": "^4.6.5-rc.1",
"@yoopta/lists": "^4.6.5-rc.1",
"@yoopta/paragraph": "^4.6.5-rc.1",
"axios": "^1.7.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
@@ -56,8 +63,11 @@
"react-hot-toast": "^2.4.1",
"react-loader-spinner": "^6.1.6",
"react-quill": "^2.0.0",
"slate": "^0.103.0",
"slate-react": "^0.107.1",
"sonner": "^1.5.0",
"tailwind-merge": "^2.3.0",
"use-debounce": "^10.0.1",
"zustand": "^4.5.2"
},
"devDependencies": {
950 changes: 856 additions & 94 deletions public/sw.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/sw.js.map

This file was deleted.

39 changes: 39 additions & 0 deletions public/swe-worker-5c72df51bb1f6ee0.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
self.onmessage = async (e) => {
switch (e.data.type) {
case '__START_URL_CACHE__': {
let t = e.data.url,
a = await fetch(t);
if (!a.redirected) return (await caches.open('start-url')).put(t, a);
return Promise.resolve();
}
case '__FRONTEND_NAV_CACHE__': {
let t = e.data.url,
a = await caches.open('pages');
if (await a.match(t, { ignoreSearch: !0 })) return;
let s = await fetch(t);
if (!s.ok) return;
if (
(a.put(t, s.clone()),
e.data.shouldCacheAggressively && s.headers.get('Content-Type')?.includes('text/html'))
)
try {
let e = await s.text(),
t = [],
a = await caches.open('static-style-assets'),
r = await caches.open('next-static-js-assets'),
c = await caches.open('static-js-assets');
for (let [s, r] of e.matchAll(/<link.*?href=['"](.*?)['"].*?>/g))
/rel=['"]stylesheet['"]/.test(s) &&
t.push(a.match(r).then((e) => (e ? Promise.resolve() : a.add(r))));
for (let [, a] of e.matchAll(/<script.*?src=['"](.*?)['"].*?>/g)) {
let e = /\/_next\/static.+\.js$/i.test(a) ? r : c;
t.push(e.match(a).then((t) => (t ? Promise.resolve() : e.add(a))));
}
return await Promise.all(t);
} catch {}
return Promise.resolve();
}
default:
return Promise.resolve();
}
};
140 changes: 0 additions & 140 deletions public/swe-worker-development.js

This file was deleted.

Loading

0 comments on commit 10f1ed4

Please sign in to comment.