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

Working #12

Merged
merged 42 commits into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c1f5b90
Added info on #1
Apr 26, 2022
6bd4ecc
Issue #5 work
Apr 28, 2022
ac840ab
Merged in master
Apr 28, 2022
e605bd4
Turns out I own the domain
Apr 30, 2022
7625031
Resolves #8
May 4, 2022
236d9a0
Merge branch 'master' into working
May 4, 2022
26be895
Fixes #10. Added tests. Bumped up the versions of everything for some…
May 17, 2022
eb4dff9
Missing eslint?
May 17, 2022
e1c71c3
Bump version. Add more actions
May 17, 2022
9824624
Build only on pr. Build just the latest
May 17, 2022
07b1045
Wait for the input before firing a new location
May 17, 2022
05c037b
More tests
May 17, 2022
1754934
Release code testing
May 19, 2022
bc27d84
Release code testing
May 19, 2022
93ee7ea
Release code testing
May 19, 2022
edc70d9
Release code testing
May 19, 2022
e838fc9
Release code testing to much indent?
May 19, 2022
be269ff
Release relative path
May 19, 2022
9253ed5
Release relative path
May 19, 2022
24de379
Im an expert at these sorts of things
May 19, 2022
992ef91
just not a very good expert
May 19, 2022
fb5f70e
or I am just a really good random number generator
May 19, 2022
2acd6f5
Why is it failing just in github
May 19, 2022
7e587be
To annoying to pass in the whole working directory between jobs
May 19, 2022
b9c2e2d
Fix the test
May 19, 2022
5ca5bd5
Fix the test
May 19, 2022
fb43a0d
Getting closer
FoxUSA May 19, 2022
14670ce
I tire of the search tests random failures only on actions
FoxUSA May 19, 2022
d57351a
Back to two files
FoxUSA May 19, 2022
761f9bb
Back to two files
FoxUSA May 19, 2022
c1000c7
Back to two files
FoxUSA May 19, 2022
88be298
Correct variable syntax
FoxUSA May 19, 2022
9503919
release files artifact
FoxUSA May 19, 2022
c193f3e
helps if you save
FoxUSA May 19, 2022
849c3c7
Testing things
FoxUSA May 19, 2022
701cbd5
Testing things
FoxUSA May 19, 2022
807dd30
Testing things
FoxUSA May 19, 2022
667e432
Testing things
FoxUSA May 19, 2022
fbe0f9c
Testing things
FoxUSA May 19, 2022
180d21f
Testing things
FoxUSA May 19, 2022
5160e37
Auto create release
FoxUSA May 19, 2022
2fbf657
Hopefully this works
FoxUSA May 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Resolves #8
  • Loading branch information
Jake committed May 4, 2022
commit 762503159c25db895d86b47afc748efaa4454dc6
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Click `RUN IN LOCAL MODE` in the bottom left to quickly demo/test.
- [Config/Custom field customization](./docs/config.schema.md)
- [How I use StoreDown](./docs/system.md)
- [Sub Reddit](https://www.reddit.com/r/storedown/)
- [Like us on Alternative To][alternativeto]



---

Expand Down Expand Up @@ -73,4 +76,6 @@ Labeling items allows some unforeseen benefits like:
> I don't like xyz about StoreDown, do you know of any alternatives?

I would really like to be friends with the folks in orbit around [InvenTree](https://github.com/inventree/InvenTree) and [Grocy](https://github.com/grocy/grocy).
So go check those out.
So go check those out. More alternatives on [Alternative To][alternativeto].

[alternativeto]: https://alternativeto.net/software/storedown/
2 changes: 1 addition & 1 deletion src/components/ListColumnTypes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</template> <!-- Render only last 6 characters of id -->

<template v-else-if="header.item.type=='path'">
{{header.item.prefixes[props.item[header.value]]}}{{props.item[header.value]}}
{{header.item.prefixes[(props.item[header.value] || '').toLowerCase()]}}{{props.item[header.value].toLowerCase()}}
</template>

<template v-else-if="header.item.type=='list'">
Expand Down
6 changes: 3 additions & 3 deletions src/views/Entry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<v-text-field :color="field.color ? field.color :'white'" v-if="field.type=='string'" v-model="item[field.name]" :label="field.displayName" :disabled="field.disabled"></v-text-field>

<!-- path -->
<v-text-field :color="field.color ? field.color :'white'" v-if="field.type=='path'" v-model="item[field.name]" :label="field.displayName" :prefix="field.prefixes[item[field.name]]" :disabled="field.disabled"></v-text-field>
<v-text-field :color="field.color ? field.color :'white'" v-if="field.type=='path'" v-model="item[field.name]" :label="field.displayName" :prefix="field.prefixes[(item[field.name]|| '').toLowerCase()]" :disabled="field.disabled"></v-text-field>

<!-- lastDate or last modified-->
<v-text-field :color="field.color ? field.color :'white'" v-if="field.type=='lastDate' || field.type=='lastModified' " v-model="item[field.name]" :label="field.displayName" :disabled="true"></v-text-field>
Expand Down Expand Up @@ -168,7 +168,7 @@ export default {
* Duplicate and existing item
*/
duplicate () {
this.item._id = null // Removing _id and _rev and saving is equivilent to creating a copy. A new item will be created and the existing item with remain
this.item._id = null // Removing _id and _rev and saving is equivalent to creating a copy. A new item will be created and the existing item with remain
this.item._rev = null
},
/**
Expand Down Expand Up @@ -216,7 +216,7 @@ export default {
}
}))

// Buisness end of saving
// Business end of saving
let callback = (response, error) => {
if (error || !response.ok) {
return this.$toasted.error(`Received save error ${error}`)
Expand Down
2 changes: 1 addition & 1 deletion src/views/Tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default {
i += data.rows.length || 10// If no items are returned the database only has config. We need to add some manually so we dont loop forever

data.rows.forEach((item) => {
let prefix = this.pathField.prefixes[item[this.pathField.name]]
let prefix = this.pathField.prefixes[(item[this.pathField.name] || '').toLowerCase()]
if (!prefix) {
prefix = '' // Blanks it out instead of printing undefined.
}
Expand Down