feeds-fun 1.18.1 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -3
- package/src/App.vue +25 -1
- package/src/components/EntryForList.vue +6 -2
- package/src/components/FeedForList.vue +8 -5
- package/src/components/RuleForList.vue +3 -2
- package/src/components/collections/FeedItem.vue +10 -4
- package/src/components/main/Description.vue +7 -7
- package/src/components/main/Item.vue +1 -3
- package/src/components/main/NewsTitle.vue +1 -1
- package/src/components/page_footer/Footer.vue +106 -0
- package/src/components/page_header/ExternalLinks.vue +24 -46
- package/src/components/page_header/HomeButton.vue +14 -0
- package/src/components/side_pannel/CollapseButton.vue +7 -5
- package/src/components/tags/Base.vue +3 -1
- package/src/css/page_header.css +6 -2
- package/src/css/side_panel_layout.css +1 -1
- package/src/layouts/SidePanelLayout.vue +13 -9
- package/src/layouts/WideLayout.vue +2 -0
- package/src/logic/api.ts +15 -0
- package/src/logic/events.ts +17 -0
- package/src/logic/marketing.ts +54 -0
- package/src/logic/settings.ts +16 -0
- package/src/main.ts +14 -13
- package/src/plugins/CookieConsent.ts +170 -0
- package/src/router/index.ts +14 -0
- package/src/stores/globalState.ts +1 -1
- package/src/style.css +0 -2
- package/src/values/ExternalUrl.vue +4 -1
- package/src/values/Icon.vue +71 -0
- package/src/values/SocialLink.vue +81 -0
- package/src/views/AuthView.vue +22 -9
- package/src/views/CRMView.vue +41 -0
- package/src/views/MainView.vue +32 -17
- package/src/views/SettingsView.vue +33 -0
package/src/views/MainView.vue
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<main-header-line> Smarter way to read news </main-header-line>
|
|
29
29
|
|
|
30
30
|
<main-block>
|
|
31
|
-
<main-description
|
|
31
|
+
<main-description step="1">
|
|
32
32
|
<template #caption> Subscribe to sites </template>
|
|
33
33
|
|
|
34
34
|
<template #description>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</template>
|
|
37
37
|
</main-description>
|
|
38
38
|
|
|
39
|
-
<main-description
|
|
39
|
+
<main-description step="2">
|
|
40
40
|
<template #caption> Get automatic tagging </template>
|
|
41
41
|
|
|
42
42
|
<template #description>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
</template>
|
|
74
74
|
</main-description>
|
|
75
75
|
|
|
76
|
-
<main-description
|
|
76
|
+
<main-description step="3">
|
|
77
77
|
<template #caption> Create scoring rules </template>
|
|
78
78
|
|
|
79
79
|
<template #description>
|
|
@@ -85,9 +85,12 @@
|
|
|
85
85
|
:link="null"
|
|
86
86
|
css-modifier="positive" />
|
|
87
87
|
|
|
88
|
-
<
|
|
88
|
+
<icon
|
|
89
|
+
icon="arrow-right"
|
|
90
|
+
size="small"
|
|
91
|
+
class="mx-0.5" />
|
|
89
92
|
|
|
90
|
-
<span class="cursor-default text-purple-700 text-lg md:text-xl">+5</span>
|
|
93
|
+
<span class="inline-block align-middle cursor-default text-purple-700 text-lg md:text-xl">+5</span>
|
|
91
94
|
</div>
|
|
92
95
|
|
|
93
96
|
<div class="">
|
|
@@ -97,9 +100,12 @@
|
|
|
97
100
|
link="http://example.com"
|
|
98
101
|
css-modifier="negative" />
|
|
99
102
|
|
|
100
|
-
<
|
|
103
|
+
<icon
|
|
104
|
+
icon="arrow-right"
|
|
105
|
+
size="small"
|
|
106
|
+
class="mx-0.5" />
|
|
101
107
|
|
|
102
|
-
<span class="cursor-default text-purple-700 text-lg md:text-xl">-55</span>
|
|
108
|
+
<span class="inline-block align-middle cursor-default text-purple-700 text-lg md:text-xl">-55</span>
|
|
103
109
|
</div>
|
|
104
110
|
|
|
105
111
|
<div class="">
|
|
@@ -109,7 +115,10 @@
|
|
|
109
115
|
:link="null"
|
|
110
116
|
css-modifier="positive" />
|
|
111
117
|
|
|
112
|
-
<
|
|
118
|
+
<icon
|
|
119
|
+
icon="plus"
|
|
120
|
+
size="small"
|
|
121
|
+
class="mx-0.5" />
|
|
113
122
|
|
|
114
123
|
<fake-tag
|
|
115
124
|
uid="new-york"
|
|
@@ -117,9 +126,12 @@
|
|
|
117
126
|
:link="null"
|
|
118
127
|
css-modifier="positive" />
|
|
119
128
|
|
|
120
|
-
<
|
|
129
|
+
<icon
|
|
130
|
+
icon="arrow-right"
|
|
131
|
+
size="small"
|
|
132
|
+
class="mx-0.5" />
|
|
121
133
|
|
|
122
|
-
<span class="cursor-default-purple-700 text-lg md:text-xl">+8</span>
|
|
134
|
+
<span class="inline-block align-middle cursor-default text-purple-700 text-lg md:text-xl">+8</span>
|
|
123
135
|
</div>
|
|
124
136
|
|
|
125
137
|
<div class="">
|
|
@@ -129,15 +141,18 @@
|
|
|
129
141
|
:link="null"
|
|
130
142
|
css-modifier="positive" />
|
|
131
143
|
|
|
132
|
-
<
|
|
144
|
+
<icon
|
|
145
|
+
icon="arrow-right"
|
|
146
|
+
size="small"
|
|
147
|
+
class="mx-0.5" />
|
|
133
148
|
|
|
134
|
-
<span class="cursor-default text-purple-700 text-lg md:text-xl">+21</span>
|
|
149
|
+
<span class="inline-block align-middle cursor-default text-purple-700 text-lg md:text-xl">+21</span>
|
|
135
150
|
</div>
|
|
136
151
|
</div>
|
|
137
152
|
</template>
|
|
138
153
|
</main-description>
|
|
139
154
|
|
|
140
|
-
<main-description
|
|
155
|
+
<main-description step="4">
|
|
141
156
|
<template #caption> Read what matters </template>
|
|
142
157
|
|
|
143
158
|
<template #description>
|
|
@@ -151,7 +166,9 @@
|
|
|
151
166
|
title="Sci-fi novel about UFO in New Yourk"
|
|
152
167
|
:score="13" />
|
|
153
168
|
|
|
154
|
-
<
|
|
169
|
+
<div class="opacity-65 block justify-self-center">
|
|
170
|
+
<icon icon="dots" />
|
|
171
|
+
</div>
|
|
155
172
|
|
|
156
173
|
<main-news-title
|
|
157
174
|
class="opacity-55"
|
|
@@ -171,9 +188,7 @@
|
|
|
171
188
|
<template
|
|
172
189
|
v-for="collectionId in collections.collectionsOrder"
|
|
173
190
|
:key="collectionId">
|
|
174
|
-
<main-item
|
|
175
|
-
v-if="collections.collections[collectionId].showOnMain"
|
|
176
|
-
icon="ti-arrow-narrow-right">
|
|
191
|
+
<main-item v-if="collections.collections[collectionId].showOnMain">
|
|
177
192
|
<template #caption>
|
|
178
193
|
{{ collections.collections[collectionId].name }}
|
|
179
194
|
</template>
|
|
@@ -116,6 +116,32 @@
|
|
|
116
116
|
</tr>
|
|
117
117
|
</tbody>
|
|
118
118
|
</table>
|
|
119
|
+
|
|
120
|
+
<h3>Danger Zone</h3>
|
|
121
|
+
|
|
122
|
+
<div class="ffun-info-bad">
|
|
123
|
+
<p><strong>ATTENTION!</strong></p>
|
|
124
|
+
|
|
125
|
+
<p> Operations in this section are irreversible and may lead to data loss and even account deletion. </p>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div
|
|
129
|
+
v-if="!settings.isSingleUserMode"
|
|
130
|
+
class="ffun-info-bad">
|
|
131
|
+
<button
|
|
132
|
+
@click.prevent="removeAccount()"
|
|
133
|
+
class="ffun-form-button bad short ml-1"
|
|
134
|
+
>Remove Account</button
|
|
135
|
+
>
|
|
136
|
+
|
|
137
|
+
<label class="ml-1"> Permanently remove your account and all your data. </label>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
<div
|
|
141
|
+
v-else
|
|
142
|
+
class="ffun-info-common">
|
|
143
|
+
<p> Account removal in the single-user mode is not available. </p>
|
|
144
|
+
</div>
|
|
119
145
|
</side-panel-layout>
|
|
120
146
|
</template>
|
|
121
147
|
|
|
@@ -125,6 +151,7 @@
|
|
|
125
151
|
import * as api from "@/logic/api";
|
|
126
152
|
import * as t from "@/logic/types";
|
|
127
153
|
import * as e from "@/logic/enums";
|
|
154
|
+
import * as settings from "@/logic/settings";
|
|
128
155
|
import {useRouter} from "vue-router";
|
|
129
156
|
import {useGlobalSettingsStore} from "@/stores/globalSettings";
|
|
130
157
|
|
|
@@ -158,6 +185,12 @@
|
|
|
158
185
|
router.push({name: e.MainPanelMode.Collections, params: {}});
|
|
159
186
|
}
|
|
160
187
|
|
|
188
|
+
function removeAccount() {
|
|
189
|
+
if (confirm("Are you sure you want to remove your account? THIS OPERATION IS NOT REVERSIBLE!")) {
|
|
190
|
+
api.removeUser();
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
161
194
|
// TODO: check api keys on setup
|
|
162
195
|
// TODO: basic integer checks
|
|
163
196
|
</script>
|