Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: remove monographs before "new" features

thecodrr8ea6276634b9
diff --git a/apps/web/src/common/index.js b/apps/web/src/common/index.js
index 2b4aa0a96..33c31da75 100644
--- a/apps/web/src/common/index.js
+++ b/apps/web/src/common/index.js
@@ -64,7 +64,7 @@ export const CREATE_BUTTON_MAP = {
export async function introduceFeatures() {
const hash = getCurrentHash().replace("#", "");
if (!!hash || isTesting()) return;
- const features = ["monographs"];
+ const features = [];
for (let feature of features) {
if (!Config.get(`feature:${feature}`)) {
await showFeatureDialog(feature);
diff --git a/apps/web/src/components/editor/toolbar.js b/apps/web/src/components/editor/toolbar.js
index 8f3a2644e..627953967 100644
--- a/apps/web/src/components/editor/toolbar.js
+++ b/apps/web/src/components/editor/toolbar.js
@@ -117,7 +117,6 @@ function Toolbar(props) {
title: "Publish",
icon: Icon.Publish,
enabled: !isLocked,
- new: true,
onClick: () => showPublishView(store.get().session.id, "top"),
},
{
diff --git a/apps/web/src/components/navigation-menu/index.js b/apps/web/src/components/navigation-menu/index.js
index 14dea3776..475781ff6 100644
--- a/apps/web/src/components/navigation-menu/index.js
+++ b/apps/web/src/components/navigation-menu/index.js
@@ -39,7 +39,6 @@ const routes = [
title: "Monographs",
path: "/monographs",
icon: Icon.Monographs,
- isNew: true,
},
{ title: "Trash", path: "/trash", icon: Icon.Trash },
];
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.js
index 403f93ad3..ab5ce4965 100644
--- a/apps/web/src/components/note/index.js
+++ b/apps/web/src/components/note/index.js
@@ -168,7 +168,6 @@ const menuItems = [
},
{
key: "publish",
- isNew: true,
disabled: ({ note }) => !db.monographs.isPublished(note.id) && note.locked,
disableReason: "You cannot publish a locked note.",
icon: Icon.Publish,