diff --git a/.eslintrc.js b/.eslintrc.js
index 448e589e..b0727747 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -50,16 +50,8 @@ module.exports = {
},
globals: {},
rules: {
- // FIXME
- 'unicorn/prefer-dom-node-append': 'off',
-
- // TEMP
- // FIXME
- 'solid/reactivity': 'off',
-
- // Should be enabled
- // 'promise/catch-or-return': 'off',
-
+ // Solid
+ 'solid/reactivity': 'off', // FIXME
'solid/no-innerhtml': 'off',
/** Unicorn **/
@@ -73,8 +65,13 @@ module.exports = {
'unicorn/import-style': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-node-protocol': 'off',
+ 'unicorn/prefer-dom-node-append': 'off', // FIXME
+ 'unicorn/prefer-top-level-await': 'warn',
'unicorn/consistent-function-scoping': 'warn',
+ 'sonarjs/no-duplicate-string': 'warn',
+ // Promise
+ // 'promise/catch-or-return': 'off', // Should be enabled
'promise/always-return': 'off',
eqeqeq: 'error',
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index e1fb8c6d..58ca2ebc 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,9 @@
+[0.7.0]
+[+] inbox: context provider, chats
+[+] comments: show
+[+] session: context provider
+[+] views tracker: counting for shouts
+
[0.6.1]
[+] auth ver. 0.9
[+] load-by interfaces for shouts, authors and messages
diff --git a/README.md b/README.md
index e7ebf05d..5e3e66a1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,8 @@
+# How to start
+
+If you use yarn
+
```
-yarn install
-npm start
+yarn
+PUBLIC_API_URL=https://v2.discours.io yarn dev
```
diff --git a/package.json b/package.json
index e24f4129..fc781a91 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "discoursio-webapp",
- "version": "0.6.1",
+ "version": "0.7.0",
"private": true,
"license": "MIT",
"scripts": {
@@ -26,6 +26,7 @@
"server": "node server/server.mjs",
"start": "astro dev",
"start:local": "cross-env PUBLIC_API_URL=http://127.0.0.1:8080 astro dev",
+ "start:production": "cross-env PUBLIC_API_URL=https://v2.discours.io astro dev",
"start:staging": "cross-env PUBLIC_API_URL=https://testapi.discours.io astro dev",
"typecheck": "astro check && tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch",
@@ -34,6 +35,8 @@
"dependencies": {
"@aws-sdk/client-s3": "^3.216.0",
"@aws-sdk/s3-presigned-post": "^3.216.0",
+ "@aws-sdk/signature-v4-multi-region": "^3.215.0",
+ "@aws-sdk/util-user-agent-node": "^3.215.0",
"mailgun.js": "^8.0.2"
},
"devDependencies": {
@@ -54,6 +57,7 @@
"@solid-devtools/logger": "^0.5.0",
"@solid-primitives/memo": "^1.1.2",
"@solid-primitives/storage": "^1.3.3",
+ "@solid-primitives/upload": "^0.0.105",
"@types/express": "^4.17.14",
"@types/node": "^18.11.9",
"@types/uuid": "^8.3.4",
diff --git a/public/icons/apple.svg b/public/icons/apple.svg
new file mode 100644
index 00000000..5d9607c8
--- /dev/null
+++ b/public/icons/apple.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/icons/arrow-circle-left.svg b/public/icons/arrow-circle-left.svg
new file mode 100644
index 00000000..d5454bb1
--- /dev/null
+++ b/public/icons/arrow-circle-left.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/icons/arrow-circle-right.svg b/public/icons/arrow-circle-right.svg
new file mode 100644
index 00000000..6d6cc2b3
--- /dev/null
+++ b/public/icons/arrow-circle-right.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/icons/circle-plus.svg b/public/icons/circle-plus.svg
new file mode 100644
index 00000000..10485e2a
--- /dev/null
+++ b/public/icons/circle-plus.svg
@@ -0,0 +1,4 @@
+
diff --git a/public/icons/delete.svg b/public/icons/delete.svg
index 931cbe95..362d8665 100644
--- a/public/icons/delete.svg
+++ b/public/icons/delete.svg
@@ -1,3 +1,3 @@
diff --git a/public/icons/dislike.svg b/public/icons/dislike.svg
index ca18143f..ff8a48d9 100644
--- a/public/icons/dislike.svg
+++ b/public/icons/dislike.svg
@@ -1,4 +1 @@
-
+
\ No newline at end of file
diff --git a/public/icons/edit-2.svg b/public/icons/edit-2.svg
new file mode 100644
index 00000000..f1a2cd61
--- /dev/null
+++ b/public/icons/edit-2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/icons/eye.svg b/public/icons/eye.svg
index 54e28bdc..b13c2ac6 100644
--- a/public/icons/eye.svg
+++ b/public/icons/eye.svg
@@ -1,4 +1,6 @@
-