Skip to content

Commit 2d879b3

Browse files
committed
fixing autocomplete dialog and mistaken label
1 parent 613bfab commit 2d879b3

7 files changed

Lines changed: 21 additions & 32 deletions

File tree

book/src/developers/release.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,6 @@ To create an installer locally (for the current OS), enter the following command
4848
npm run tauri build
4949
```
5050

51-
This will create an installer under ``src-tauri/target/release/bundle/``.
51+
This will create an installer under ``src-tauri/target/release/bundle/``.
52+
53+

book/src/help/installation.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,10 @@ Because this application is open-source and distributed for free, it is not sign
1111

1212
1. Download the `.dmg` file from the [Releases](https://github.com/p2gx/phenoboard/releases) page
1313
2. Open the DMG and drag the app into your Applications folder
14-
3. When you try to open it, macOS may show an error message:
15-
*"App can't be opened because it is from an unidentified developer"*
16-
or
17-
*“phenoboard is damaged and can’t be opened. You should move it to the Trash"*
18-
19-
This error happens because macOS applies strict security checks for programs downloaded from the Web that are not signed with a paid Apple Developers account.
20-
There are at least two ways of dealing with this. (Of course, do not move the app to the trash!)
21-
22-
23-
**1) xattr**
24-
> **Terminal Command:** Fix "App is Damaged" or "Unverified Developer" errors
25-
>
26-
> ```bash
27-
> xattr -cr /Applications/phenoboard.app
28-
> ```
29-
30-
(to open the Terminal, search for Terminal in Spotlight and then paste the above text into it and press Enter)
31-
32-
**2) System Settings**
33-
Depending on our OS version, you may also be able to do the following:
34-
- go to System Settings → Privacy & Security → click "Open Anyway"
14+
3. When you try to open it, macOS will show the message:
15+
*"'phenoboard' is an app downloaded from the Internet. Are you sure you want to open it?"*
16+
17+
If you confirm, the app will be installed into your `Àpplications``folder and started. From now one you can open phenoboard like any other application (e.g., using the Spotlight searchbar).
3518

3619

3720
## Installing on Windows

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phenoboard",
3-
"version": "0.5.147",
3+
"version": "0.5.148",
44
"scripts": {
55
"ng": "ng",
66
"start": "nx serve phenoboard --port 1420",

src-tauri/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "phenoboard"
3-
version = "0.5.147"
3+
version = "0.5.148"
44
description = "Curate cohorts of GA4GH Phenopackets"
55
authors = ["Peter N Robinson"]
66
edition = "2021"
@@ -35,7 +35,7 @@ tauri = { version = "2.11.2", features = [] }
3535
tauri-plugin-dialog = { version = "2", default-features = false }
3636
tauri-plugin-fs = "2.4.4"
3737
tauri-plugin-opener = "2.5.2"
38-
tokio = { version = "1.48.0", features = ["full"] }
38+
tokio = { version = "1.52.3", features = ["full"] }
3939
tracing = "0.1.44"
4040
tracing-subscriber = "0.3.22"
4141
regex = "1.12.3"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "phenoboard",
4-
"version": "0.5.147",
4+
"version": "0.5.148",
55
"identifier": "org.p2gx.phenoboard",
66
"build": {
77
"beforeDevCommand": "npx nx serve phenoboard --configuration=development --no-cloud",

src/app/addages/addage.component.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ <h2 mat-dialog-title class="dialog-title">Select Age</h2>
2727
<mat-form-field appearance="outline" class="flex-grow dense-field">
2828
<mat-label>New Age String</mat-label>
2929
<input matInput
30-
[ngModel]="customAge()"
31-
(ngModelChange)="customAge.set($event)"
32-
[matAutocomplete]="auto"
33-
(keyup.enter)="createNewAge()"
34-
placeholder="e.g. P35Y">
30+
[ngModel]="customAge()"
31+
(ngModelChange)="customAge.set($event)"
32+
[matAutocomplete]="auto"
33+
(keyup.enter)="createNewAge()"
34+
autofocus
35+
autocapitalize="none"
36+
spellcheck="false"
37+
autocomplete="off"
38+
placeholder="e.g. P35Y">
3539
</mat-form-field>
3640
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="selectExisting($event.option.value)">
3741
@for (term of filteredTerms(); track term) {

src/app/util/table-cell-editor/table-cell-editor.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>{{ columnTitle }}</h3>
2828
[class.active]="cellData.type === 'Na'"
2929
(click)="updateStatus('Na')"
3030
class="btn-toggle status-na">
31-
Excluded
31+
na
3232
</button>
3333
</div>
3434
</section>

0 commit comments

Comments
 (0)