Update version to 2.2.3

This commit is contained in:
Jiaxin Peng
2024-02-19 20:51:47 +00:00
parent 9e15044f6a
commit ee5aada1b9
5 changed files with 14 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
# Changelog v2.2.2 # Changelog v2.2.3
## Bug Fixes ## Bug Fixes
- Fix the setting description of database. 修复数据库设置的描述错误 - Fix a bug that 'text' property cannot be synchronized. 修复了一个无法同步'text'属性的bug

View File

@@ -7,6 +7,7 @@
[//]: # ([![Github all releases](https://img.shields.io/github/downloads/jxpeng98/obsidian-to-NotionNext/total.svg)](https://GitHub.com/jxpeng98/obsidian-to-NotionNext/releases/)) [//]: # ([![Github all releases](https://img.shields.io/github/downloads/jxpeng98/obsidian-to-NotionNext/total.svg)](https://GitHub.com/jxpeng98/obsidian-to-NotionNext/releases/))
[中文文档](README-zh.md) [中文文档](README-zh.md)
**Now, support both NotionNext and General databases with customised properties.** **Now, support both NotionNext and General databases with customised properties.**
@@ -15,13 +16,18 @@
## TODO List ## TODO List
- [x] Support custom properties for Notion General database. 支持自定义属性 - [ ] Modify the Edit function for the custom properties. 改进自定义属性的编辑功能
- [ ] Support group upload with one click 支持一键多数据库上传 - [ ] 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 preview for database details in plugin settings. 支持预览数据库详情
- [x] Support edit for database details in plugin settings. 支持编辑数据库详情 - [x] Support edit for database details in plugin settings. 支持编辑数据库详情
## Update ## Update
### 2.2.3
- Fix a bug that 'text' property cannot be synchronized. 修复了一个无法同步'text'属性的bug。
### 2.2.2 ### 2.2.2
- Fix the setting description of database. 修复数据库设置的描述错误。 - Fix the setting description of database. 修复数据库设置的描述错误。

View File

@@ -1,7 +1,7 @@
{ {
"id": "share-to-notionnext", "id": "share-to-notionnext",
"name": "Share to NotionNext", "name": "Share to NotionNext",
"version": "2.2.2", "version": "2.2.3",
"minAppVersion": "0.0.1", "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.", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
"author": "EasyChris, jxpeng98", "author": "EasyChris, jxpeng98",

View File

@@ -1,6 +1,6 @@
{ {
"name": "share-to-notionnext", "name": "share-to-notionnext",
"version": "2.2.2", "version": "2.2.3",
"type": "module", "type": "module",
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
"main": "main.js", "main": "main.js",

View File

@@ -60,6 +60,7 @@ export class CustomModal extends Modal {
propertyLine.addDropdown((dropdown) => { propertyLine.addDropdown((dropdown) => {
dropdown dropdown
// .addOption("none", '')
.addOption("text", "Text") .addOption("text", "Text")
.addOption("number", "Number") .addOption("number", "Number")
.addOption("select", "Select") .addOption("select", "Select")
@@ -78,7 +79,7 @@ export class CustomModal extends Modal {
// .addOption("created_by", "Created by") // .addOption("created_by", "Created by")
// .addOption("last_edited_time", "Last Edited Time") // .addOption("last_edited_time", "Last Edited Time")
// .addOption("last_edited_by", "Last Edited By") // .addOption("last_edited_by", "Last Edited By")
.setValue("text") .setValue("")
.onChange(async (value) => { .onChange(async (value) => {
this.properties[propertyIndex].customType = value; // Update the customType of the specific property this.properties[propertyIndex].customType = value; // Update the customType of the specific property
}); });