-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test PR #12
base: main
Are you sure you want to change the base?
Test PR #12
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,111 @@ | ||
.vxg-icon{padding:20px}.vxg-app-bar{height:64px;background-color:#fff;margin-left:25px}.vxg-head-btn{height:100%;background-color:#fff!important;color:rgb(var(--vxg-ct0));text-transform:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;margin-left:10px}.vxg-head-btn .v-icon{color:rgb(var(--vxg-ci0))!important}.basic-footer[data-v-edc4307a]{padding:1rem;text-align:center;background-color:#f5f5f5;color:#333}nav.vxg-side,nav.vxg-side .v-sheet{background-color:rgb(var(--vxg-cb1))!important}nav.vxg-side .v-divider{border-color:rgb(var(--vxg-ct2))!important;margin:16px 8px}.btn-style{background-color:#283348!important;width:141px;height:281px;margin:4px!important}.btn-style.selected-btn{background-color:rgb(var(--vxg-cb1))!important}.btn-style.selected-btn,.btn-style.selected-btn .v-icon{color:rgb(var(--vxg-ct1))!important}.vxg-toggle{background-color:rgb(var(--vxg-cb1))!important;padding:10px!important;padding-bottom:10px;padding-top:10px;margin-right:10px}a.vxg-router-link{display:block;margin:0 8px;padding:16px 8px;text-decoration:none!important;color:rgb(var(--vxg-ct1))!important;border-radius:8px}a.vxg-router-link .v-icon{color:rgb(var(--vxg-ct2))!important}a.vxg-router-link.router-link-active{background-color:rgb(var(--vxg-cb2))!important;color:rgb(var(--vxg-ct1))!important}a.vxg-router-link.router-link-active .v-icon{color:rgb(var(--vxg-ct1))!important}.vxg-side-open{width:48px;height:48px}.drawer-toggle{width:48px}.font-size-13{font-size:13px}.vxg-form-field{text-align:right;padding:0 8px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}div.changes{width:100%;color:rgba(0,0,0,.26)!important;background-color:transparent!important}div.changes table{width:100%;background-color:#fff!important;border-bottom:0;border-left:0;border-right:1px solid rgba(0,0,0,.26);border-top:1px solid rgba(0,0,0,.26)}div.changes td,div.changes th{background-color:#fff!important;border-right:0;border-top:0;border-left:1px solid rgba(0,0,0,.26);border-bottom:1px solid rgba(0,0,0,.26);padding:4px} | ||
.vxg-icon { | ||
padding: 20px; | ||
} | ||
.vxg-app-bar { | ||
height: 64px; | ||
background-color: white; | ||
margin-left: 25px; | ||
} | ||
.vxg-head-btn { | ||
height: 100%; | ||
background-color: white !important; | ||
color: rgb(var(--vxg-ct0)); | ||
text-transform: none !important; | ||
-webkit-box-shadow: none !important; | ||
box-shadow: none !important; | ||
margin-left: 10px; | ||
} | ||
.vxg-head-btn .v-icon { | ||
color: rgb(var(--vxg-ci0)) !important; | ||
} | ||
.basic-footer[data-v-d93f7088] { | ||
padding: 1rem; | ||
text-align: center; | ||
background-color: #f5f5f5; | ||
color: #333; | ||
} | ||
nav.vxg-side { | ||
background-color: rgb(var(--vxg-cb1)) !important; | ||
} | ||
nav.vxg-side .v-sheet { | ||
background-color: rgb(var(--vxg-cb1)) !important; | ||
} | ||
nav.vxg-side .v-divider { | ||
border-color: rgb(var(--vxg-ct2)) !important; | ||
margin: 16px 8px; | ||
} | ||
.btn-style { | ||
background-color: #283348 !important; | ||
width: 141px; | ||
height: 281px; | ||
margin: 4px !important; | ||
} | ||
.btn-style.selected-btn { | ||
background-color: rgb(var(--vxg-cb1)) !important; | ||
color: rgb(var(--vxg-ct1)) !important; | ||
} | ||
.btn-style.selected-btn .v-icon { | ||
color: rgb(var(--vxg-ct1)) !important; | ||
} | ||
.vxg-toggle { | ||
background-color: rgb(var(--vxg-cb1)) !important; | ||
padding: 10px !important; | ||
padding-bottom: 10px; | ||
padding-top: 10px; | ||
margin-right: 10px; | ||
} | ||
a.vxg-router-link { | ||
display: block; | ||
margin: 0px 8px; | ||
padding: 16px 8px; | ||
text-decoration: none !important; | ||
color: rgb(var(--vxg-ct1)) !important; | ||
border-radius: 8px; | ||
} | ||
a.vxg-router-link .v-icon { | ||
color: rgb(var(--vxg-ct2)) !important; | ||
} | ||
a.vxg-router-link.router-link-active { | ||
background-color: rgb(var(--vxg-cb2)) !important; | ||
color: rgb(var(--vxg-ct1)) !important; | ||
} | ||
a.vxg-router-link.router-link-active .v-icon { | ||
color: rgb(var(--vxg-ct1)) !important; | ||
} | ||
.vxg-side-open { | ||
width: 48px; | ||
height: 48px; | ||
} | ||
.drawer-toggle { | ||
width: 48px; | ||
} | ||
.font-size-13 { | ||
font-size: 13px; | ||
} | ||
.vxg-form-field { | ||
text-align: right; | ||
padding: 0px 8px 0px 0px; | ||
-webkit-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
div.changes { | ||
width: 100%; | ||
color: rgba(0, 0, 0, 0.26) !important; | ||
background-color: rgba(0, 0, 0, 0) !important; | ||
} | ||
div.changes table { | ||
width: 100%; | ||
background-color: #FFF !important; | ||
border-bottom: 0px; | ||
border-left: 0px; | ||
border-right: 1px solid rgba(0, 0, 0, 0.26); | ||
border-top: 1px solid rgba(0, 0, 0, 0.26); | ||
} | ||
div.changes th, div.changes td { | ||
background-color: #FFF !important; | ||
border-right: 0px; | ||
border-top: 0px; | ||
border-left: 1px solid rgba(0, 0, 0, 0.26); | ||
border-bottom: 1px solid rgba(0, 0, 0, 0.26); | ||
padding: 4px; | ||
} |
Large diffs are not rendered by default.
This file was deleted.
Large diffs are not rendered by default.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,8 @@ function makeStore(Vue) { | |
add: 0 | ||
}, | ||
search: { | ||
term: '' | ||
a: '', | ||
b: '' | ||
}, | ||
}, | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,7 +259,7 @@ export default { | |
|
||
|
||
watch: { | ||
'$store.state.trigger.search.term' (term) { | ||
'$store.state.trigger.search.a' (term) { | ||
if(term == '' && this.$refs.search) { | ||
this.$refs.search.reset() | ||
// this.tag_items = this.items.map(v => v.tag) | ||
|
@@ -275,7 +275,7 @@ export default { | |
// term = m[1].trim() | ||
// } | ||
// this.$store.dispatch('trigger_search', {term:this.search}) | ||
this.$store.dispatch('trigger_search', {term}) | ||
this.$store.dispatch('trigger_search', {a: term}) | ||
}, | ||
select () { | ||
this.$store.dispatch('trigger_select', {value:this.select}) | ||
|
@@ -367,6 +367,7 @@ export default { | |
let out = await this.$seneca.post('sys:search, cmd:search', | ||
{ query: term, params: this.search_config } | ||
) | ||
console.log('Search result:', out); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Remove Console Logs in Production Code While Apply this diff to remove the console log: -console.log('Search result:', out); |
||
// this.tag_items = out.data.hits.map(v => v.id) | ||
this.tag_items = out.data.hits.map(v=>tag_alias(v.doc)) | ||
} | ||
|
@@ -378,6 +379,10 @@ export default { | |
}, 11) | ||
|
||
}, | ||
tag_alias(item) { | ||
// Define your tag_alias function here | ||
return item.tag; // Example implementation | ||
}, | ||
Comment on lines
+382
to
+385
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Avoid Duplicate The |
||
|
||
filterAssets () { | ||
this.$store.dispatch('vxg_trigger_go') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
Improve State Property Names for Clarity
The properties
a
andb
in thesearch
state may not clearly convey their purpose. Descriptive names enhance code readability and maintainability.Apply this diff to rename the properties:
📝 Committable suggestion