There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
refactor(src): change affine to AFFiNE in string
tzhangchib5cc15287fd9
diff --git a/apps/ligo-virgo/src/index.html b/apps/ligo-virgo/src/index.htmlindex 1291a10917..94f01b6db7 100644--- a/apps/ligo-virgo/src/index.html+++ b/apps/ligo-virgo/src/index.html@@ -5,7 +5,7 @@<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="icon" href="https://app.affine.pro/favicon.ico" />- <title>Affine | Local Dev Environment</title>+ <title>AFFiNE | Local Dev Environment</title><script>window.global = window;</script>diff --git a/apps/ligo-virgo/src/pages/ui/index.tsx b/apps/ligo-virgo/src/pages/ui/index.tsxindex cc8273dbe7..be4d79a688 100644--- a/apps/ligo-virgo/src/pages/ui/index.tsx+++ b/apps/ligo-virgo/src/pages/ui/index.tsx@@ -3,7 +3,7 @@ import React from 'react';export const UIPage = () => {return (<div className="">- This page is used to show ui components of Affine ~+ This page is used to show ui components of AFFiNE ~</div>);};diff --git a/apps/ligo-virgo/webpack.config.js b/apps/ligo-virgo/webpack.config.jsindex 4d7500c60f..c147f3e14b 100644--- a/apps/ligo-virgo/webpack.config.js+++ b/apps/ligo-virgo/webpack.config.js@@ -161,7 +161,7 @@ module.exports = function (webpackConfig) {}),isProd &&new HtmlWebpackPlugin({- title: 'Affine - All In One Workos',+ title: 'AFFiNE - All In One Workos',favicon: path.resolve(__dirname,'./src/assets/images/favicon.ico'diff --git a/docs/affine-icons-user-guide.md b/docs/affine-icons-user-guide.mdindex 70e9742af8..0e376a4099 100644--- a/docs/affine-icons-user-guide.md+++ b/docs/affine-icons-user-guide.md@@ -1,7 +1,7 @@-## Affine Icons+## AFFiNE Icons> Abundant and colorful icon resource for free free useWebsite: [http://localhost:4200/tools/icons](http://localhost:4200/tools/icons)-Figma: [Figma Affine Icons](https://www.figma.com/file/7pyx5gMz6CN0qSRADmScQ7/AFFINE?node-id=665%3A1734)+Figma: [Figma AFFiNE Icons](https://www.figma.com/file/7pyx5gMz6CN0qSRADmScQ7/AFFINE?node-id=665%3A1734)diff --git a/docs/how-to-add-ui-component-in-affine.md b/docs/how-to-add-ui-component-in-affine.mdindex dc7ea52c5c..acb2a80911 100644--- a/docs/how-to-add-ui-component-in-affine.md+++ b/docs/how-to-add-ui-component-in-affine.md@@ -1,6 +1,6 @@# Tutorial-Affine defines a new component development specification in Figma, extends Affine UI Components based on MUI BASE and MUI SYSTEM, and supplements as needed https://github.com/toeverything/AFFiNE/tree/master/libs/components/ui , eg `src/libs/components/ui/src/button/base-button.ts`+AFFiNE defines a new component development specification in Figma, extends AFFiNE UI Components based on MUI BASE and MUI SYSTEM, and supplements as needed https://github.com/toeverything/AFFiNE/tree/master/libs/components/ui , eg `src/libs/components/ui/src/button/base-button.ts````jsximport ButtonUnstyled, {diff --git a/libs/components/account/src/login/firebase.tsx b/libs/components/account/src/login/firebase.tsxindex e2f0a6b08d..55453782bd 100644--- a/libs/components/account/src/login/firebase.tsx+++ b/libs/components/account/src/login/firebase.tsx@@ -106,7 +106,7 @@ export const Firebase = () => {/><MuiGrid item xs={8}><Error- title="Welcome to Affine"+ title="Welcome to AFFiNE"subTitle="blocks of knowledge to power your team"action1Text="Login or Register"/>diff --git a/libs/components/common/src/lib/Logo/LogoImg.tsx b/libs/components/common/src/lib/Logo/LogoImg.tsxindex d104588fe3..1048f8a364 100644--- a/libs/components/common/src/lib/Logo/LogoImg.tsx+++ b/libs/components/common/src/lib/Logo/LogoImg.tsx@@ -6,7 +6,7 @@ export const LogoImg = ({ style = {} }: { style: CSSProperties }) => {<imgstyle={style}src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZV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uZ0uN/7QDWCCWcC2Lxa6881PKQOIjqhfdnjxo90AawPo4j68rrZ3sdCdLs5OFR/973rqZLQbYKMQurCNi4W++t7HNBPw98AJ+rgg58EsY/VAND+rf5xNrAWaXJnTzVXlv0bL7WOnxuZgiHuz2b7+ILN7vMw850EFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMC2+0+AAQDgljs/XVSdVAAAAABJRU5ErkJggg=="- alt="Affine Logo"+ alt="AFFiNE Logo"/>);};diff --git a/libs/components/editor-core/src/editor/editor.ts b/libs/components/editor-core/src/editor/editor.tsindex 45db53c678..da46769ed5 100644--- a/libs/components/editor-core/src/editor/editor.ts+++ b/libs/components/editor-core/src/editor/editor.ts@@ -59,7 +59,7 @@ export class Editor implements Virgo {public bdCommands: Commands;public ui_container?: HTMLDivElement;public version = '0.0.1';- public copyright = '@Affine 2019-2022';+ public copyright = '@AFFiNE 2020-2022';private plugin_manager: PluginManager;private hooks: Hooks;private views: Record<string, BaseView> = {};diff --git a/libs/components/layout/src/header/file-exporter/file-exporter.ts b/libs/components/layout/src/header/file-exporter/file-exporter.tsindex 428ae0dd6e..ccbe9bc5f5 100644--- a/libs/components/layout/src/header/file-exporter/file-exporter.ts+++ b/libs/components/layout/src/header/file-exporter/file-exporter.ts@@ -34,7 +34,7 @@ const FileExporter = {</html>`;},decoreateAffineBrand: (pageTitle: string) => {- return pageTitle + ` Created in Affine`;+ return pageTitle + ` Created in AFFiNE`;},exportHtml: (pageTitle: string, htmlContent: string) => {FileExporter.exportFile(diff --git a/libs/components/layout/src/settings-sidebar/Settings/util/file-exporter.ts b/libs/components/layout/src/settings-sidebar/Settings/util/file-exporter.tsindex 99b17d8858..bb561a1399 100644--- a/libs/components/layout/src/settings-sidebar/Settings/util/file-exporter.ts+++ b/libs/components/layout/src/settings-sidebar/Settings/util/file-exporter.ts@@ -34,7 +34,7 @@ export const fileExporter = {</html>`;},decoreateAffineBrand: (pageTitle: string) => {- return pageTitle + ` Created in Affine`;+ return pageTitle + ` Created in AFFiNE`;},exportHtml: (pageTitle: string, htmlContent: string) => {fileExporter.exportFile(diff --git a/libs/datasource/db-service/src/services/editor-block/templates/group-templates.ts b/libs/datasource/db-service/src/services/editor-block/templates/group-templates.tsindex 75f0b219c6..3888b54333 100644--- a/libs/datasource/db-service/src/services/editor-block/templates/group-templates.ts+++ b/libs/datasource/db-service/src/services/editor-block/templates/group-templates.ts@@ -200,7 +200,7 @@ const groupTemplateMap: GroupTemplateMap = {text: {value: [{- text: 'As a collaborative real-time editor, Affine aims to resolve problems in three situations:',+ text: 'As a collaborative real-time editor, AFFiNE aims to resolve problems in three situations:',},],},diff --git a/libs/datasource/db-service/src/services/editor-block/templates/template-factory.ts b/libs/datasource/db-service/src/services/editor-block/templates/template-factory.tsindex 5a381b1751..3fa16ac460 100644--- a/libs/datasource/db-service/src/services/editor-block/templates/template-factory.ts+++ b/libs/datasource/db-service/src/services/editor-block/templates/template-factory.ts@@ -13,7 +13,7 @@ const defaultTemplateList: Array<TemplateMeta> = [const TemplateFactory = {defaultTemplateList: defaultTemplateList,generatePageTemplateByGroupKeys(props: TemplateMeta): Template {- const newTitle = props.name || 'Get Started with Affine';+ const newTitle = props.name || 'Get Started with AFFiNE';const keys = props.groupKeys || [];const blankPage: Template = {type: 'page',diff --git a/libs/datasource/jwt/src/adapter/yjs/index.ts b/libs/datasource/jwt/src/adapter/yjs/index.tsindex 2d14aec56a..ddace6db7c 100644--- a/libs/datasource/jwt/src/adapter/yjs/index.ts+++ b/libs/datasource/jwt/src/adapter/yjs/index.ts@@ -343,10 +343,10 @@ export class YjsAdapter implements AsyncDatabaseAdapter<YjsContentOperation> {const handles = await window.showOpenFilePicker({types: [{- description: 'Affine Package',+ description: 'AFFiNE Package',accept: {// eslint-disable-next-line @typescript-eslint/naming-convention- 'application/affine': ['.apk'],+ 'application/AFFiNE': ['.apk'],},},],diff --git a/libs/utils/src/types/user-workspace.ts b/libs/utils/src/types/user-workspace.tsindex e6d4fc58cb..85f46a49fe 100644--- a/libs/utils/src/types/user-workspace.ts+++ b/libs/utils/src/types/user-workspace.ts@@ -1,4 +1,4 @@-/** user model for Affine */+/** user model for AFFiNE */export type UserInfo = {id: string;nickname: string;