diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ccdab4..511e1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,53 @@ +## 1.3.1 (2021-10-29) + + +### Bug Fixes + +* click note then select the note ([774f7c5](https://github.com/betterRunner/context-note/commit/774f7c54ce4d033be5427c2030506583011f51e5)) +* css on windows ([4e6f22c](https://github.com/betterRunner/context-note/commit/4e6f22ca5cfd43f25500bf63c78d064e3bbe778e)) +* delete tags when delete note ([c945ccb](https://github.com/betterRunner/context-note/commit/c945ccb132b17f988d9c14f3ad4409467c546255)) +* delete the tag while deleting a note who is the only one that owns the this tag ([f3e7ee9](https://github.com/betterRunner/context-note/commit/f3e7ee95213bc7538570a0035a27c2b22fd7e9d9)) +* getDomQueryPath filter #text ([5aa1dd1](https://github.com/betterRunner/context-note/commit/5aa1dd19f427ce30165cc02e7940fc002e030ab1)) +* getDomQueryPath hasAttribute ([d35add2](https://github.com/betterRunner/context-note/commit/d35add2dd2aae54dbbce7b6d4f558d4ed804638a)) +* minifeat remove some permissions ([12a1b41](https://github.com/betterRunner/context-note/commit/12a1b41c272d9c2f0baa21313f25408ece80a6eb)) +* not create tag if searchtags has this one ([020dae4](https://github.com/betterRunner/context-note/commit/020dae4e8577b77a4ad82fc5b515cf947ef042af)) +* note list css ([0ea20b6](https://github.com/betterRunner/context-note/commit/0ea20b67f4d5fea71cfa499964e730577d3bba33)) +* note note not update ([3c6a028](https://github.com/betterRunner/context-note/commit/3c6a02844659b94d865384d6372f1d3adf5155ef)) +* notebook empty ([c189c2e](https://github.com/betterRunner/context-note/commit/c189c2ec7fac94a12e9ee16bbeb803c0efd00484)) +* open page by noteId should jump to the note ([14d0751](https://github.com/betterRunner/context-note/commit/14d07517f87cf569f15207b241e17ec4a044845c)) +* scoll to center when create the note ([e54ee80](https://github.com/betterRunner/context-note/commit/e54ee80c97efb816fb17b630a9373d804eeba6b1)) +* scrollbar of page disappers ([3f5dc31](https://github.com/betterRunner/context-note/commit/3f5dc319dc0149dbf18863ec2d66ca92ad124752)) +* search-filter ignore case ([485e157](https://github.com/betterRunner/context-note/commit/485e157bffee32c1a628a4425bd5fb3417ccb722)) +* spelling error ([d84f5e3](https://github.com/betterRunner/context-note/commit/d84f5e31f5f7b9f0c709c375761790e3ad5a0797)) +* storage write not working ([bf5827b](https://github.com/betterRunner/context-note/commit/bf5827b56b1f5cc02ac53d37554d85b44d9500ed)) +* ui color and opacity ([ce48b8a](https://github.com/betterRunner/context-note/commit/ce48b8a7691e0607209bac7f6c44830d691089f9)) + + +### Features + +* 1.2.0 ([3fd60d1](https://github.com/betterRunner/context-note/commit/3fd60d18e8fdb81549e5d41996f89f7a8845eb57)) +* delete button put into more opers ([c16c3eb](https://github.com/betterRunner/context-note/commit/c16c3eb7943c8d21b99f087d3a7eb526f9bbc90f)) +* demo-dbs ([2583f55](https://github.com/betterRunner/context-note/commit/2583f55a2f8c74065df5d64fb003739a0c7ca80c)) +* expand notebook: listing notes by tags ([90595d7](https://github.com/betterRunner/context-note/commit/90595d79157ecdabce391b624f9937a7ae55a8b4)) +* export notes to json ([318a036](https://github.com/betterRunner/context-note/commit/318a036480fc0b9e062f91f29fc6bd9b20436d9b)) +* footer ([3e47823](https://github.com/betterRunner/context-note/commit/3e47823707ac723ea4e9bd196f8d4f03abc7e96f)) +* footer ([ce2e2a7](https://github.com/betterRunner/context-note/commit/ce2e2a7162db8dd6a733bbf01a7d9fa3911d16a0)) +* highlight color ([48c074a](https://github.com/betterRunner/context-note/commit/48c074ae906faa57deab410cbc2038dc727c7219)) +* highlight text when selected in a demo page ([d4e03fd](https://github.com/betterRunner/context-note/commit/d4e03fd35c4a13b15fdc26edc51d579bbc12f7d0)) +* import notes ([74857b1](https://github.com/betterRunner/context-note/commit/74857b12d45ba41cd0bb1a6db4823134a419f884)) +* main.ts & main.css ([0e98068](https://github.com/betterRunner/context-note/commit/0e98068d8838f06811e8f64e3bf070a28eff4f02)) +* note-list search ([668b406](https://github.com/betterRunner/context-note/commit/668b406d3fdb5d4697d4828a623021fc8bf31786)) +* open link brings the note-id so can jump to note also ([8f12f19](https://github.com/betterRunner/context-note/commit/8f12f198817a15d387f3acd80c5796cfe569a818)) +* parse dom queryPath ([d04a6f4](https://github.com/betterRunner/context-note/commit/d04a6f41b30aa4eaf5251ba6d1350297a42f3065)) +* parser folder ([89a0440](https://github.com/betterRunner/context-note/commit/89a04403a548d762cf766ac2744d5e16de185ed1)) +* renderer folder ([2e5dd50](https://github.com/betterRunner/context-note/commit/2e5dd5056596bd008e6ebe8cb12e09b7b3adabbe)) +* tagbook open autofocus tag searcher ([1ff0484](https://github.com/betterRunner/context-note/commit/1ff04842204d09945847c6eebd4e3c279c3e8d50)) +* types ([15eeca7](https://github.com/betterRunner/context-note/commit/15eeca76f493cfa8ea3f410f02d0a889b45912cb)) +* update storage data when switching page or updating url ([af77b2b](https://github.com/betterRunner/context-note/commit/af77b2b25167831680a4daa02377c1a7b675a126)) +* utils ([7c63c9d](https://github.com/betterRunner/context-note/commit/7c63c9d85ae7257a3c6bcd5f63673330c87ee683)) + + + ## 1.2.1 (2021-10-04) diff --git a/package.json b/package.json index 5d1d44c..68aa00c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "context-note", - "version": "1.3.0", + "version": "1.3.1", "scripts": { "dev": "vite build --mode developmemnt", "build": "vite build", diff --git a/src/content-scripts/renderer/popup/index.vue b/src/content-scripts/renderer/popup/index.vue index 7bdc33a..c2feb7f 100644 --- a/src/content-scripts/renderer/popup/index.vue +++ b/src/content-scripts/renderer/popup/index.vue @@ -30,11 +30,15 @@ export default defineComponent({ appExpanded.value = e as boolean; appWidth.value = e ? AppWidth.expanded : AppWidth.normal; }); - const wrapperStyle = computed(() => ({ - width: `${appWidth.value}px`, - "min-width": `${appWidth.value}px`, - transition: "1.0s", - })); + const wrapperStyle = computed(() => { + const maxWidth = window.innerWidth * 0.8; + const width = appWidth.value > maxWidth ? maxWidth : appWidth.value; + return { + width: `${width}px`, + "min-width": `${width}px`, + transition: "0.5s", + }; + }); const visible = ref(false); const handleClickOutside = () => { diff --git a/src/content-scripts/renderer/popup/note-book/note.vue b/src/content-scripts/renderer/popup/note-book/note.vue index 98716ce..adbcb00 100644 --- a/src/content-scripts/renderer/popup/note-book/note.vue +++ b/src/content-scripts/renderer/popup/note-book/note.vue @@ -265,7 +265,7 @@ export default { text-align: left; text-overflow: ellipsis; overflow: hidden; - width: 400px; + width: auto; color: #409eff; } .note-link-content { @@ -284,7 +284,7 @@ export default { display: flex; flex-direction: row; flex-wrap: wrap; - width: 300px; + width: auto; position: relative; font-size: 14px; @@ -298,6 +298,8 @@ export default { } } .note-time { + width: 100px; + min-width: 100px; text-align: right; user-select: none; } diff --git a/src/manifest.json b/src/manifest.json index 6a1c19f..c73a23f 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { "name": "context-note", - "version": "1.3.0", + "version": "1.3.1", "manifest_version": 3, "action": { "default_icon": {