diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml new file mode 100644 index 00000000..d3d326a8 --- /dev/null +++ b/.github/workflows/devskim.yml @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: Copyright (c) 2022-2024 trobonox +# +# SPDX-License-Identifier: Apache-2.0 + +name: DevSkim + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: '33 12 * * 4' + +jobs: + lint: + name: DevSkim + runs-on: ubuntu-20.04 + permissions: + actions: read + contents: read + security-events: write + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run DevSkim scanner + uses: microsoft/DevSkim-Action@v1 + + - name: Upload DevSkim scan results to GitHub Security tab + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: devskim-results.sarif diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6aa4feb3..c3145396 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: yarn config delete proxy yarn config delete https-proxy yarn config delete registry - yarn install --network-timeout 1000000 + yarn install --network-timeout 1000000 --frozen-lockfile - name: Build frontend run: yarn generate @@ -88,7 +88,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/test_frontend.yml b/.github/workflows/test_frontend.yml index 22f19cbf..f374e0ed 100644 --- a/.github/workflows/test_frontend.yml +++ b/.github/workflows/test_frontend.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: setup node uses: actions/setup-node@v4 with: diff --git a/.github/workflows/test_tauri.yml b/.github/workflows/test_tauri.yml index 17261c6d..cdc8f5cd 100644 --- a/.github/workflows/test_tauri.yml +++ b/.github/workflows/test_tauri.yml @@ -22,7 +22,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: setup node uses: actions/setup-node@v4 with: diff --git a/README.md b/README.md index 85fc7bcf..b241c053 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,12 @@ SPDX-License-Identifier: Apache-2.0 Kanri banner Kanban boards done right. Made with simplicity and user experience in mind, Kanri helps you create Kanban boards easily, right from your desktop. No internet connection or account needed!

+ Release Version Badge GitHub Build Status
Repo license Reuse status
- Discord Status - Release Version Badge -
diff --git a/SECURITY.md b/SECURITY.md index 75dc7f92..c7e1d71a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -11,8 +11,8 @@ Since this app is constantly changing and previous versions are not receiving an | Version | Supported | | ------- | ------------------ | -| 0.6.1 | :white_check_mark: | -| < 0.6.1 | :x: | +| 0.7.0 | :white_check_mark: | +| < 0.7.0 | :x: | ## Reporting a Vulnerability If you find any vulnerability, please write an email at hello@trobo.dev with a short description, reproduction steps and possible attacks. diff --git a/components/kanban/Card.vue b/components/kanban/Card.vue index a26a29b2..aebd57e8 100644 --- a/components/kanban/Card.vue +++ b/components/kanban/Card.vue @@ -70,7 +70,9 @@ limitations under the License. class="-ml-0.5 -mt-0.5 mb-1 flex flex-row flex-wrap items-center gap-1" @click="$emit('openEditCardModal', index, card)" > -
{{ tag.text }}
+
+ +
{ } return cards.value.filter((card) => { - return fuzzyMatch(props.cardSearchQuery ?? "", card.name); + const searchQuery = props.cardSearchQuery ?? ""; + const cardName = card.name; + const cardTags = card.tags || []; + + return fuzzyMatch(searchQuery, cardName) || + cardTags.some(tag => tag.text.includes(searchQuery)); }); }) @@ -400,13 +405,13 @@ const addCard = () => { } else { cards.value[cards.value.length] = { id: generateUniqueID(), name: newCardName.value }; + scrollCardIntoView(); } newCardName.value = ""; cardAddMode.value = false; cardAddModeAddToTopOfColumn.value = false; updateStorage(); - scrollCardIntoView(); }; const scrollCardIntoView = () => { diff --git a/components/kanban/KanbanDescriptionEditor.vue b/components/kanban/KanbanDescriptionEditor.vue index cb9146be..228c254c 100644 --- a/components/kanban/KanbanDescriptionEditor.vue +++ b/components/kanban/KanbanDescriptionEditor.vue @@ -116,6 +116,7 @@ export default { height: 148px; overflow: auto; padding: 4px; + resize: vertical; } .tiptap ul, .tiptap ol { @@ -160,5 +161,4 @@ export default { .tiptap ul { list-style-type: disc; } - diff --git a/components/kanban/TagDisplay.vue b/components/kanban/TagDisplay.vue new file mode 100644 index 00000000..5dd3074b --- /dev/null +++ b/components/kanban/TagDisplay.vue @@ -0,0 +1,41 @@ + + + + + + + + diff --git a/components/kanban/TagEdit.vue b/components/kanban/TagEdit.vue index d39ddb1c..817c9f82 100644 --- a/components/kanban/TagEdit.vue +++ b/components/kanban/TagEdit.vue @@ -46,7 +46,12 @@ const props = defineProps<{ const tagColor = ref(props.tag.color); +onMounted(() => { + console.log(props.tag.color); +}) + const setTagColor = () => { + console.log(tagColor.value); emit("setTagColor", props.tag.id, tagColor.value); } diff --git a/components/modal/Changelog.vue b/components/modal/Changelog.vue index 010709e8..1f4d6c1e 100644 --- a/components/modal/Changelog.vue +++ b/components/modal/Changelog.vue @@ -44,22 +44,19 @@ along with this program. If not, see . -->


- New features: + Changes:

  • - New logo + Improved text contrast for card tags
  • - Card tags + Import tags and due date from Trello® boards
  • - Due dates on cards (without reminders for now) + Search bar now also includes card tags in search
  • - Search bar for cards -
  • -
  • - And much more... (full changelog on GitHub or the Discord announcement) + Remove scrolling to the bottom of a column when adding cards at the top

diff --git a/components/modal/EditCard.vue b/components/modal/EditCard.vue index 83b213ac..79df3a52 100644 --- a/components/modal/EditCard.vue +++ b/components/modal/EditCard.vue @@ -177,22 +177,22 @@ limitations under the License.

{{ title }}

- + />
+ +