Skip to content

Commit

Permalink
Release 1.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausSchaefersAtWork committed Jun 30, 2022
1 parent ba00650 commit bce8c9e
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RememberLi supports the following markups that make it easy for you to organize
5. ->: Create an arrow

## Download
Windows [Download](https://github.com/KlausSchaefers/rememberli/releases/download/v1.0.15/RememberLi-Setup-1.0.15.exe)
Windows [Download](https://github.com/KlausSchaefers/rememberli/releases/download/v1.0.17/RememberLi-Setup-1.0.17.exe)

Mac [Download](https://github.com/KlausSchaefers/rememberli/releases/download/v1.0.15/RememberLi-1.0.15.dmg)
Mac [Download](https://github.com/KlausSchaefers/rememberli/releases/download/v1.0.17/RememberLi-1.0.17.dmg)

Linux - Snapp [Download](https://github.com/KlausSchaefers/rememberli/releases/download/v1.0.13/RememberLi_1.0.13_amd64.snap)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RememberLi",
"version": "1.0.15",
"version": "1.0.17",
"private": true,
"repository": {
"type": "git",
Expand Down
2 changes: 0 additions & 2 deletions src/components/Note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,9 @@ export default {
this.insertAtCursor("\t")
return
}
// FIXME: add for enter insertDimatCursoer(br) to avoid ugly line fuckups?
if (this.$refs.typehead) {
this.$refs.typehead.onKeyDown(e)
}
},
insertAtCursor(text) {
if (this.$refs.input) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div :class="['rmli-sidebar-folder-list rmli-sidebar-list', {'rmli-sidebar-folder-list-dnd': isDndFolder} ]">

<div class="rmli-sidebar-section-header">
<div class="rmli-sidebar-section-header rmli-sidebar-section-header-top">
<span>{{$t('sidebar.folders')}}</span>
<i class="ri-add-line rmli-folder-add rmli-tooltip" @click="showNewFolder" >
<span class="rmli-tooltip-message"> {{$t('sidebar.new')}}</span>
Expand Down
3 changes: 1 addition & 2 deletions src/components/TypeAhead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
{{ o.label }}
</span>
</div>
<div class="rmli-type-ahead-backdrop" v-if="isVisible"/>
</template>

<style lang="scss">
Expand All @@ -21,8 +22,6 @@
<script>
import Logger from '../util/Logger'
import * as Util from '../util/Util'
//const breakChars = {' ':true, '.': true, ',': true, ':': true, '!': true, "?": true, '/': true, 'Escape': true, 'ArrowLeft': true, 'ArrowRight': true}
const validTagRegex = /[a-zA-Z0-9\-_&]/
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
"list": {
"pinned": "Pinned",
"pinnedAndDue": "Pinned & Due",
"pinnedAndDue": "Due",
"rest": "All notes"
},
"month": {
Expand Down
1 change: 1 addition & 0 deletions src/scss/highlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
padding: $spacing-xs;
box-sizing: border-box;
vertical-align: middle;
line-height: 1;
}


Expand Down
1 change: 1 addition & 0 deletions src/scss/note.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
.rmi-highlight-icon {
vertical-align: middle;
font-size: $font-size-xs;
line-height: 1;
}


Expand Down
10 changes: 8 additions & 2 deletions src/scss/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $spacing-action: 12px;
.rmli-sidebar {
border-right: rgba($color: #000000, $alpha: 0.1);
background: $background-secondary;
width: 200px;

display: flex;
flex-direction: column;
overflow: hidden;
Expand All @@ -16,7 +16,8 @@ $spacing-action: 12px;
height: 100vh;
overflow: scroll;

flex-basis: 200px;
width: 280px;
flex-basis: 280px;
flex-grow: 0;
flex-shrink: 0;

Expand All @@ -39,6 +40,11 @@ $spacing-action: 12px;
align-items: center;
padding: 0px;
padding-left: $spacing-action;


&.rmli-sidebar-section-header-top {
margin-top: $spacing-s;
}
}

.rmli-sidebar-folder-list {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
position: absolute;
padding: $spacing-s ;
left: 0px;
top:0px;
top:$spacing-s;
}
}

Expand Down
11 changes: 10 additions & 1 deletion src/scss/type-ahead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: none;
border:1px solid $border-color-hover;
box-shadow: $shadow-l;
z-index: 1000;
z-index: 1001;
max-height: 150px;
overflow: auto;
background: #fff;
Expand All @@ -31,4 +31,13 @@
position: fixed;
max-width: 200px;
max-height: 150px;
}

.rmli-type-ahead-backdrop {
position: fixed;
top:0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 1000;
}
14 changes: 13 additions & 1 deletion src/services/SearchService.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,21 @@ export default class SearchService {
indexPersons (text) {
let persons = text.match(/(@[a-zA-Z0-9\-_]+)/g)
if (persons) {
persons.forEach(p => this.persons.add(p.toLocaleLowerCase()))
persons.forEach(p => {
let person = p.toLocaleLowerCase()
person = this.capitalizePerson(person)
this.persons.add(person)
})
}
}

capitalizePerson(string) {
if (string.length > 2) {
return string.charAt(0) + string.charAt(1).toUpperCase() + string.slice(2);
}
return string
}


updateTagsAndPersons (list) {
Logger.log(1, 'SearchService.getTagsAndPersons() > enter')
Expand Down
2 changes: 1 addition & 1 deletion src/views/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
props:['value'],
data: function () {
return {
version: '1.0.15',
version: '1.0.17',
settings: {
theme: 'default',
fontSize: 's',
Expand Down

0 comments on commit bce8c9e

Please sign in to comment.