mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 08:08:34 +08:00
Update version to 2.2.3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Changelog v2.2.2
|
||||
# Changelog v2.2.3
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
- Fix the setting description of database. 修复数据库设置的描述错误。
|
||||
- Fix a bug that 'text' property cannot be synchronized. 修复了一个无法同步'text'属性的bug。
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
[//]: # ([](https://GitHub.com/jxpeng98/obsidian-to-NotionNext/releases/))
|
||||
|
||||
|
||||
[中文文档](README-zh.md)
|
||||
|
||||
**Now, support both NotionNext and General databases with customised properties.**
|
||||
@@ -15,13 +16,18 @@
|
||||
|
||||
## TODO List
|
||||
|
||||
- [x] Support custom properties for Notion General database. 支持自定义属性
|
||||
- [ ] Modify the Edit function for the custom properties. 改进自定义属性的编辑功能
|
||||
- [ ] Support group upload with one click 支持一键多数据库上传
|
||||
- [x] Support custom properties for Notion General database. 支持自定义属性
|
||||
- [x] Support preview for database details in plugin settings. 支持预览数据库详情
|
||||
- [x] Support edit for database details in plugin settings. 支持编辑数据库详情
|
||||
|
||||
## Update
|
||||
|
||||
### 2.2.3
|
||||
|
||||
- Fix a bug that 'text' property cannot be synchronized. 修复了一个无法同步'text'属性的bug。
|
||||
|
||||
### 2.2.2
|
||||
|
||||
- Fix the setting description of database. 修复数据库设置的描述错误。
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "share-to-notionnext",
|
||||
"name": "Share to NotionNext",
|
||||
"version": "2.2.2",
|
||||
"version": "2.2.3",
|
||||
"minAppVersion": "0.0.1",
|
||||
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
|
||||
"author": "EasyChris, jxpeng98",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "share-to-notionnext",
|
||||
"version": "2.2.2",
|
||||
"version": "2.2.3",
|
||||
"type": "module",
|
||||
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
|
||||
"main": "main.js",
|
||||
|
||||
@@ -45,7 +45,7 @@ export class CustomModal extends Modal {
|
||||
}
|
||||
)
|
||||
} else {
|
||||
propertyLine
|
||||
propertyLine
|
||||
.setName(i18nConfig.CustomProperty + (propertyIndex))
|
||||
|
||||
propertyLine.addText((text) => {
|
||||
@@ -60,6 +60,7 @@ export class CustomModal extends Modal {
|
||||
|
||||
propertyLine.addDropdown((dropdown) => {
|
||||
dropdown
|
||||
// .addOption("none", '')
|
||||
.addOption("text", "Text")
|
||||
.addOption("number", "Number")
|
||||
.addOption("select", "Select")
|
||||
@@ -78,7 +79,7 @@ export class CustomModal extends Modal {
|
||||
// .addOption("created_by", "Created by")
|
||||
// .addOption("last_edited_time", "Last Edited Time")
|
||||
// .addOption("last_edited_by", "Last Edited By")
|
||||
.setValue("text")
|
||||
.setValue("")
|
||||
.onChange(async (value) => {
|
||||
this.properties[propertyIndex].customType = value; // Update the customType of the specific property
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user