Skip to content

Commit

Permalink
v2.5.0; remove unused npm; remove emoji button not @commit; some linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rind committed Aug 30, 2024
1 parent 6234790 commit 315b89a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 50 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# easyNWK Version History

## version 2.5.0, released ... 2024

* (feature) optionally set emoji for ego and each alter
* (usability) version slider always on as soon as more than 1 version
* (usability) filename of PDF with date in YYYY-MM-dd

## version 2.4.0, released 28 Aug 2024

* (feature) opening and importing .nwk files created with easyNWK 1.5
Expand Down
43 changes: 2 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easynwk",
"version": "2.4.0",
"version": "2.5.0",
"private": true,
"author": "Alexander Rind (https://github.com/alex-rind/)",
"repository": "https://github.com/fhstp/easynwk-web/",
Expand All @@ -19,7 +19,6 @@
"core-js": "^3.8.3",
"d3": "^7.0.0",
"vue": "^3.2.13",
"vue-emoji-mart": "^1.0.5",
"vue-router": "^4.0.3",
"vue3-emoji-picker": "^1.1.8",
"vuex": "^4.0.0"
Expand Down
15 changes: 8 additions & 7 deletions src/components/AlteriEditForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<br />
<div class="field-body">
<div>
<div style="display: flex; align-items: center; margin-top: 10px;">
<div style="display: flex; align-items: center; margin-top: 10px">
<div>
{{
selectedEmoji == null || selectedEmoji.length < 1
Expand All @@ -88,21 +88,22 @@
</div>
<div class="field-body">
<div class="dropdown" :class="{ 'is-active': showEmojiPicker }">
<div >
<div>
<button
type="button"
class="button is-small"
@click="toggleEmojiPicker"
>
<span>{{ t("selectemoji") }}</span>
<span>{{ t("selectemoji") }}</span>
</button>
<button
v-if="selectedEmoji != null && selectedEmoji.length > 0"
@click="removeEmoji"
type="button"
class="button is-small"
style="margin-left: 10px;"
style="margin-left: 10px"
>
<span>{{t("removeemoji")}}</span>
<span>{{ t("removeemoji") }}</span>
</button>
</div>
<div class="dropdown-menu">
Expand Down Expand Up @@ -349,7 +350,7 @@ export default defineComponent({
});
const selectedEmoji = ref(props.alter?.emoji || "");
function onSelectEmoji(emoji: any) {
selectedEmoji.value = emoji.i;
Expand Down Expand Up @@ -573,7 +574,7 @@ input::-webkit-calendar-picker-indicator {
@import "~bulma/sass/base/_all.sass";
.autovalue {
color: #656565
color: #656565;
}
.autovalue:focus {
Expand Down

0 comments on commit 315b89a

Please sign in to comment.