Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 65 #144

Merged
merged 13 commits into from
Mar 18, 2024
Merged

Issue 65 #144

merged 13 commits into from
Mar 18, 2024

Conversation

devknight216
Copy link
Contributor

@devknight216 devknight216 commented Mar 14, 2024

Pull Request type

  • Feature

What is the current behavior?

Issue Number: 65

What is the new behavior?

  • Tags are saved once the note/audio... is saved.
  • TypeAhead for tags is now enabled. Tag list is from the saved tags.

Does this introduce a breaking change?

  • No

@devknight216 devknight216 requested a review from dacoaster as a code owner March 14, 2024 19:47
@dacoaster dacoaster linked an issue Mar 15, 2024 that may be closed by this pull request
src/components/dialogs/AddEvidenceDialog.vue Show resolved Hide resolved
src/components/dialogs/EditEvidenceDialog.vue Show resolved Hide resolved
src/components/dialogs/NoteDialog.vue Show resolved Hide resolved
Comment on lines 11 to 22
<input
type="text"
placeholder="Add tag"
@input="
(evt) =>
$store.commit('config/editTagText', {
id: tag.id,
text: evt.target.value,
})
"
:value="tag.text"
/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make this a vue-tags-input that they can enter tags directly into. (Without autocomplete.)

@@ -34,6 +34,7 @@ const defaultConfig = {
ai: {
enabled: false,
},
tags: [],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the name to defaultTags.

@@ -16,6 +16,7 @@ export const config = {
debugMode: false,
summary: false,
templates: [],
tags: [{ id: "1", text: "Canada" }],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to defaultTags.

@@ -114,6 +131,7 @@ export const config = {
fullConfig: (state) => {
return state;
},
tags: (state) => state.tags,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to defaultTags.

src/views/NoteEditorView.vue Show resolved Hide resolved
@devknight216 devknight216 requested a review from dacoaster March 17, 2024 11:44
Copy link
Collaborator

@dacoaster dacoaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devknight216 this needs one small update and then its ready to merge

@@ -733,6 +734,7 @@
<AddEvidenceDialog
v-if="evidenceData"
v-model="addEvidenceDialog"
:evidenceData="evidenceData"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devknight216 - This looks like a duplicate of the line below and doesn't exist in the props of AddEvidenceDialog so please remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dacoaster, just removed that. :) Please merge it on your side.

@dacoaster dacoaster merged commit 27b89e3 into testfiesta:ok/integration Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: TypeAhead for tags
2 participants