anyproto / anytype-ts Goto Github PK
View Code? Open in Web Editor NEWOfficial Anytype client for MacOS, Linux, and Windows
Home Page: https://anytype.io
License: Other
Official Anytype client for MacOS, Linux, and Windows
Home Page: https://anytype.io
License: Other
Describe the bug
It seems the app attempts to read /etc/fstab and /etc/mtab, however that's not allowed by the AppArmour enforced by the snap version. From what I can tell, this is a low priority bug since I don't see any broken functionality resulting from it.
To Reproduce
Steps to reproduce the behavior:
sudo dmesg | grep "anytype"
audit: type=1400 audit(1689972336.949:7436): apparmor="DENIED" operation="open" class="file" profile="snap.anytype.anytype" name="/etc/fstab" pid=971320 comm="anytype" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
audit: type=1400 audit(1689972336.952:7437): apparmor="DENIED" operation="open" class="file" profile="snap.anytype.anytype" name="/run/mount/utab" pid=971320 comm="anytype" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Those warnings are emitted every two to four seconds, so it somewhat floods the kernel log, but aside from that looks harmless.
Expected behavior
Anytype either stops attempting to read those files, or the profile is adjusted to allow it.
Desktop (please complete the following information):
0.32.3
The following command will always fail and the second part of the command (git add licenses.json
) will never run because there is no precommit
npm script.
Line 558 in 6d9dc0e
Either npm run precommit
is removed or the script exists.
npm run precommit
- OS: Arch Linux Rolling
- Version: 6d9dc0e4713b031fedbd9d5d8382f6db53817953
No response
Even though prettier formatter seems to be used by some developers1, usage of it does not appear to be enforced (i.e. not part of the linting process). Heck, even the prettier config file itself isn't formatted!
I would like to open some PRs listed below, but I'm not sure if that's something anytype developers are happy with. So I'm asking for confirmation here. Also, this RFC isn't concerned with non-prettifyable files such as shell scripts.
Judging by js-anytype.code-workspace
and .gitignore
file, IDEs used by anytype developers are vscode, eclipse, webstorm/intelliJ so I will open PRs based on that assumption (if confirmed).
anytype-ts/js-anytype.code-workspace
Lines 18 to 24 in ee5f69e
https://community.anytype.io/t/source-relation-for-a-custom-object-type-not-searchable/10594
Library -> custom type -> add relations by in in-page "New"
and
Library -> custom type -> Relations Menu -> add relations by "New" in this popup menu
give different result
It must be the same result because it's always "add relation to my type" for user.
Search "Source" with :
Library -> custom type -> add relations by in in-page "New"
and
Library -> custom type -> Relations Menu -> add relations by "New" in this popup menu
- OS:Windows
- Version:0.34.3
In code :
recommendedKeys.concat(systemKeys)
dbStore.getObjectRelationKeys(rootId, rootId)
example indicated in the bug ticket :
Source relation is used by bookmark, a default AT type.
... and here, it can be a team choice!
Please tell me, I haven't made a Pull Request while waiting for confirmation.
When I follow the steps to build anytype-ts from source, I run into the following error when running the npm run dist:win
step:
webpack 5.88.2 compiled with 3 warnings in 42641 ms
• electron-builder version=24.6.3 os=5.15.0-78-generic
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
[BeforeBuild] platform: windows arch: x64
[BeforeBuild] folder:
• packaging platform=win32 arch=x64 electron=22.0.0 appOutDir=dist/win-unpacked
{
path: '/home/bouwers/any-docker/anytype-clients/anytype-ts/dist/win-unpacked/Anytype.exe',
name: 'Anytype',
site: 'https://anytype.io',
options: {
sign: './electron/hook/sign.js',
target: 'nsis',
icon: 'electron/img/icon256x256.png',
publish: [ [Object] ]
},
hash: 'sha1',
isNest: false,
computeSignToolArgs: [Function: computeSignToolArgs]
}
Error: Error: Command failed: AzureSignTool.exe sign -du "https://anytype.io" -fd sha384 -td sha384 -tr http://timestamp.digicert.com --azure-key-vault-url "undefined" --azure-key-vault-client-id "undefined" --azure-key-vault-tenant-id "undefined" --azure-key-vault-client-secret "undefined" --azure-key-vault-certificate "undefined" -v "/home/bouwers/any-docker/anytype-clients/anytype-ts/dist/win-unpacked/Anytype.exe"
/bin/sh: 1: AzureSignTool.exe: not found
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Socket.<anonymous> (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:301:12) {
code: 127,
killed: false,
signal: null,
cmd: 'AzureSignTool.exe sign -du "https://anytype.io" -fd sha384 -td sha384 -tr http://timestamp.digicert.com --azure-key-vault-url "undefined" --azure-key-vault-client-id "undefined" --azure-key-vault-tenant-id "undefined" --azure-key-vault-client-secret "undefined" --azure-key-vault-certificate "undefined" -v "/home/bouwers/any-docker/anytype-clients/anytype-ts/dist/win-unpacked/Anytype.exe"'
} /bin/sh: 1: AzureSignTool.exe: not found
⨯ Command failed: AzureSignTool.exe sign -du "https://anytype.io" -fd sha384 -td sha384 -tr http://timestamp.digicert.com --azure-key-vault-url "undefined" --azure-key-vault-client-id "undefined" --azure-key-vault-tenant-id "undefined" --azure-key-vault-client-secret "undefined" --azure-key-vault-certificate "undefined" -v "/home/bouwers/any-docker/anytype-clients/anytype-ts/dist/win-unpacked/Anytype.exe"
/bin/sh: 1: AzureSignTool.exe: not found
failedTask=build stackTrace=Error: Command failed: AzureSignTool.exe sign -du "https://anytype.io" -fd sha384 -td sha384 -tr http://timestamp.digicert.com --azure-key-vault-url "undefined" --azure-key-vault-client-id "undefined" --azure-key-vault-tenant-id "undefined" --azure-key-vault-client-secret "undefined" --azure-key-vault-certificate "undefined" -v "/home/bouwers/any-docker/anytype-clients/anytype-ts/dist/win-unpacked/Anytype.exe"
/bin/sh: 1: AzureSignTool.exe: not found
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Socket.<anonymous> (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:301:12)
From previous event:
at processImmediate (node:internal/timers:466:21)
From previous event:
at WinPackager.signApp (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/winPackager.ts:384:27)
at WinPackager.doSignAfterPack (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/platformPackager.ts:332:32)
at WinPackager.doPack (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/platformPackager.ts:317:7)
at WinPackager.pack (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/platformPackager.ts:136:5)
at Packager.doBuild (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/packager.ts:442:9)
at executeFinally (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/builder-util/src/promise.ts:12:14)
at Packager._build (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/packager.ts:376:31)
at Packager.build (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/app-builder-lib/src/packager.ts:337:12)
at executeFinally (/home/bouwers/any-docker/anytype-clients/anytype-ts/node_modules/builder-util/src/promise.ts:12:14)
The build to complete successfully, or gracefully inform the user that this tool is missing (and for bonus points: instruct the user how to install it).
run npm run dist:win
,- OS: Linux Ubuntu
- Version: 22.04.2 LTS (GNU/Linux 5.15.0-78-generic x86_64)
No response
There's a link in building instructions thats should point to github releases of middleware library but does not work.
-
No response
It is advertised that Anytype is open source software, but the Any Source Available License doesn't seem to meet the common expectation of "Open Source".
It would be better if Anytype is licensed in either,
The latest main
branch (1d0c1b5) fails to run with the following error:
~/Documents/projects/anytype/anytype-ts ❯ SERVER_PORT=3000 ANYPROF=:6060 npm run start:dev
> [email protected] start:dev
> npm-run-all --parallel start:watch start:electron-wait-webpack
> [email protected] start:watch
> cross-env-shell webpack-dev-server --progress --mode=development --node-env=development --env SERVER_PORT=$SERVER_PORT --env DATA_PATH=$DATA_PATH --history-api-fallback --cache
> [email protected] start:electron-wait-webpack
> cross-env-shell wait-for-localhost $SERVER_PORT && npm run electron
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:3000/, http://[::1]:3000/
<i> [webpack-dev-server] Content not from webpack is served from '/home/pomp/Documents/projects/anytype/anytype-ts/dist' directory
<i> [webpack-dev-server] 404s will fallback to '/index.html'
<i> [webpack-dev-middleware] wait until bundle finished: /
94% sealing after seal(node:244704) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: Compilation.modules was changed from Array to Set (using Array method 'reduce' is deprecated)
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:244704) [DEP_WEBPACK_MODULE_ERRORS] DeprecationWarning: Module.errors was removed (use getErrors instead)
asset main.js 26.2 MiB [emitted] (name: main) 1 related asset
runtime modules 27.8 KiB 15 modules
orphan modules 38.7 KiB [orphan] 9 modules
modules by path ./node_modules/ 9.56 MiB 1538 modules
modules by path ./src/ 4.5 MiB
javascript modules 3.88 MiB 1117 modules
json modules 629 KiB
./src/json/constant.json 7.14 KiB [built] [code generated]
+ 9 modules
modules by path ./dist/ 9.26 MiB
modules by path ./dist/img/icon/ 37.8 KiB 34 modules
modules by path ./dist/font/ 1.94 MiB 12 modules
modules by path ./dist/lib/ 7.28 MiB 8 modules
+ 6 modules
ERROR in /home/pomp/Documents/projects/anytype/anytype-ts/src/ts/lib/api/command.ts
./src/ts/lib/api/command.ts
[tsl] ERROR in /home/pomp/Documents/projects/anytype/anytype-ts/src/ts/lib/api/command.ts(1626,33)
TS2339: Property 'ListSetObjectType' does not exist on type 'typeof Object'.
@ ./src/ts/lib/index.ts 4:0-35 55:0-301
@ ./src/ts/app.tsx 11:0-197 183:4-5 184:4-5 185:4-14 186:4-12 187:4-12 188:4-14 189:4-12 190:4-13 191:4-14 192:4-12 193:4-12 194:4-11 195:4-11 196:4-13 197:4-14 198:4-10 288:8-23 289:8-23 290:8-21 292:8-21 298:38-49 300:12-23 300:42-57 303:8-22 307:8-19 308:8-19 309:8-19 309:43-59 310:8-19 311:8-19 312:8-19 313:8-19 314:8-19 315:8-19 316:8-19 317:8-19 318:8-19 319:8-19 320:8-19 321:8-19 322:8-19 323:8-19 324:8-19 326:12-26 328:8-19 335:8-19 347:26-37 348:25-36 355:8-22 358:12-26 374:16-38 376:20-42 377:20-35 385:20-40 394:16-29 406:26-37 407:23-34 414:12-25 415:12-26 420:12-28 423:12-26 429:50-71 435:28-46 445:46-55 452:8-28 459:23-32 460:22-31 461:29-38 462:28-37 464:20-33 467:20-33 481:23-32 482:22-31 483:29-38 484:28-37 486:20-33 489:20-33 503:23-32 504:22-40 504:41-50 505:29-38 520:23-32 521:22-40 521:41-50 522:29-38 523:28-37 525:20-33 528:20-33 536:20-38 536:70-83 536:107-120 548:8-35 550:23-41 551:35-46 553:20-34 555:54-63 558:29-56 562:29-56 567:24-35 572:36-60 578:36-49 584:36-49
@ ./src/ts/entry.tsx 3:0-24 4:36-39
webpack 5.88.2 compiled with 1 error in 31206 ms
The app launches without error
- OS: Arch Linux Rolling
- Version: 1d0c1b5f511072d9856c2977bd4a01116cdee146
No response
Hi, team! Currently, the application uses a dark color scheme, which looks fantastic and is easy on the eyes. However, the scroll bar still remains light-colored
I am not good at frontend development and in particular at developing desktop applications in Electron, but I found this answer from user Timmmm, where he suggests two options. I checked only the first of them through developer tools by putting meta
tag in head
, and the scrollbar matches the selected color scheme.
No response
Not sure if this is a bug or not. Using Anytype, I have trouble knowing if clicking on something will take me elsewhere or will open something because the cursor doesn't change its form:
Change cursor when hovering a clickable element (that will open a new page for example)
No response
I installed Anytype through this package using Home Manager on NixOS so it could come from there.
But since the cursor can change , I figured it was not a bug.
I would like to propose the addition of a new feature to Anytype that enables task synchronization from GitHub Projects. Anytype is an excellent tool for organizing information and managing tasks, and with this feature, users will be able to benefit from better organizing their lives and projects.
This proposal includes creating a user interface that allows users to link their GitHub accounts with Anytype.
Upon linking their GitHub accounts, users should be able to select the GitHub projects they wish to synchronize tasks from.
After selecting the projects, users should be able to automatically update the tasks associated with each project in Anytype whenever they are changed in GitHub.
The synchronization should be performed regularly and automatically to ensure real-time task compatibility between GitHub and Anytype.
The synchronized tasks should be clearly displayed in the Anytype interface, and users should be able to modify and update them on both platforms.
Benefits of the Feature:
This proposal enables users to have a comprehensive view of tasks associated with their projects in both GitHub and Anytype, making it easier to track progress and organize work effectively.
This proposal reduces the need to switch between GitHub and Anytype to update tasks, saving time and effort.
It enhances project management and collaboration efficiency by allowing team members to share and track tasks synchronously.
Conclusion:
By adding the task synchronization feature from GitHub Projects to Anytype, users can benefit from better organizing their lives and managing projects. This feature provides convenience and efficiency in task management and promotes coordination between GitHub and Anytype platforms. I believe this addition will be valuable to many users, helping them increase their productivity and better organize their work.
I hope this proposal is helpful for you in writing your suggestion.
Windows on ARM is becoming more mature and present. It would be awesome to publish an arm64 version of Anytype.
Currently using the emulation layer works out the box, but with one issue: typing is slow and characters are swapped while typing.
Publish the app for Windows arm64.
No response
No response
Note: link to CONTRIBUTING in the issue template (text you see at the top when adding new Feature request) (https://github.com/anyproto/docs/CONTRIBUTING.md) is dead. Also, hyperlink has typo "CONTRINUTING.md"
After closing AnyType with Linux Ubuntu Unity desktop launcher > right-click on app > Quit or closing the window, I noticed that the app keeps running in the background. This is not an issue specific to this app, others like Discord have exactly the same issue. This is not what my issue is about.
However, since there is no tray icon for AnyType running in the background, it is also difficult to spot until you open the System Monitor. In my case it was 2nd highest CPU usage after Chrome, sometimes 1st, because of graphical effects, so I detected it later when trying to release CPU usage.
Add a tray icon to indicate running process, that would show on as many platforms as possible. User could also click on it to stop process (true Quit).
I haven't tested other platforms so maybe it's already implemented on Windows and macOS.
I know that the Unity desktop is getting older on Ubuntu and sometimes tray icons have some issues, so if this is not supported but a tray icon displays correctly on Gnome desktop, I will understand.
As a user, make sure to quit app with Ctrl+Q, not Dash > right-click > Quit (at least on Unity desktop).
The nice graphical effects on the welcome phase are responsible for higher CPU usage (note entry with anytype --gpu-preferences
in the screenshot below):
I expect that outside this, AnyType won't be using as much CPU and it won't be that much of an issue.
Describe the bug
Clicking to "Check for update" doesn't show any info about new version availability.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect information about new version availability or "your application is up-to-date" message.
Desktop (please complete the following information):
Not a bug of the app, I wanted to try to compile it but somehow the installed @types are invalid?
ERROR in /Users/negue/GitHub/anytype-ts/node_modules/@types/yargs/index.d.ts
[tsl] ERROR in /Users/negue/GitHub/anytype-ts/node_modules/@types/yargs/index.d.ts(855,29)
TS1005: ';' expected.
ERROR in /Users/negue/GitHub/anytype-ts/node_modules/@types/yargs/index.d.ts
[tsl] ERROR in /Users/negue/GitHub/anytype-ts/node_modules/@types/yargs/index.d.ts(925,79)
TS1005: ';' expected.
ERROR in /Users/negue/GitHub/anytype-ts/node_modules/@types/yargs/index.d.ts
[tsl] ERROR in /Users/negue/GitHub/anytype-ts/node_modules/@types/yargs/index.d.ts(945,1)
TS1160: Unterminated template literal.
webpack 5.88.2 compiled with 1050 errors in 23526 ms
Looking at those files the normal typescript highlighting / parser doesn't mark anything bad, so I wonder what is causing these issues... am I missing something? 😬
OS: Mac Ventura 13.4 M1
node -v: v16.18.1 (too old version?)
npm -v: 9.1.2
The following line appears to be importing json files that doesn't exist.
anytype-ts/src/ts/lib/index.ts
Line 45 in bad413c
Json files aren't missing.
- OS: Arch Linux Rolling
- Version: bad413c2efc6cce719aacd792b5dd89815f3eec5
No response
On the Mac app, as well as the Linux app (Fedora, AppImage), the input cursor sometimes jumps one character back while typing (e.g. a journal entry), leading to words becoming mangled up:
hello woldr
jumped back here ---^
The cursor should act normally.
- OS: MacOS, Fedora Linux
- Version: 0.34.3
No response
there is no mobile app, plus, p2p would be nice.
Would you accept a PR or consider a collaboration for moving from Electron to Socket https://github.com/socketsupply/socket. Socket means one codebase for all major OS's including desktop and mobile. There is no new language to learn like Dart or Rust (here are some examples). It also binds libuv into the javascript environment which makes it possible to do P2P everywhere. Our P2P provides comprehensive NAT traversal and even allows Alice to send messages to Bob when Bob is offline (a use case that I think applies here) We'd be happy to help you get it done.
No response
No response
When running the command npm install -D
build fails with an error
`➜ anytype-ts git:(main) ✗ npm install -D
[email protected] postinstall
npx patch-package && electron-builder install-app-deps
patch-package 6.4.7
Applying patches...
[email protected] ✔
Warning: patch-package detected a patch file version mismatch
Don't worry! This is probably fine. The patch was still applied
successfully. Here's the deets:
Patch file created for
applied to
At path
node_modules/keytar
This warning is just to give you a heads-up. There is a small chance of
breakage even though the patch was applied successfully. Make sure the package
still behaves like you expect (you wrote tests, right?) and then run
patch-package keytar
to update the version in the patch file name and make this warning go away.
patch-package finished with 1 warning(s).
• electron-builder version=24.6.3
• loaded configuration file=package.json ("build" field)
• rebuilding native dependencies [email protected] platform=linux arch=x64
⨯ cannot execute cause=exit status 1
errorOut=npm ERR! code 1
npm ERR! path /home/joker/Desktop/anytype-ts/node_modules/keytar
npm ERR! command failed
npm ERR! command sh -c -- prebuild-install || npm run build
npm ERR! > [email protected] build
npm ERR! > node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.11.4 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/joker/Desktop/anytype-ts/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/joker/Desktop/anytype-ts/node_modules/keytar/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/joker/Desktop/anytype-ts/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/joker/.electron-gyp/22.0.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/joker/.electron-gyp/22.0.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/joker/Desktop/anytype-ts/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/joker/.electron-gyp/22.0.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/joker/Desktop/anytype-ts/node_modules/keytar',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! Package libsecret-1 was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing libsecret-1.pc' npm ERR! to the PKG_CONFIG_PATH environment variable npm ERR! Package 'libsecret-1', required by 'virtual:world', not found npm ERR! gyp: Call to 'pkg-config --cflags libsecret-1' returned exit status 1 while in binding.gyp. while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error:
gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/home/joker/Desktop/anytype-ts/node_modules/node-gyp/lib/configure.js:261:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 6.4.11-200.fc38.x86_64
npm ERR! gyp ERR! command "/home/joker/.nvm/versions/node/v16.20.2/bin/node" "/home/joker/Desktop/anytype-ts/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/joker/Desktop/anytype-ts/node_modules/keytar
npm ERR! gyp ERR! node -v v16.20.2
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/joker/.npm/_logs/2023-08-31T14_37_11_154Z-debug-0.log
command=/home/joker/.nvm/versions/node/v16.20.2/bin/node /home/joker/.nvm/versions/node/v16.20.2/lib/node_modules/npm/bin/npm-cli.js rebuild [email protected]
workingDir=
npm ERR! code 1
npm ERR! path /home/joker/Desktop/anytype-ts
npm ERR! command failed
npm ERR! command sh -c -- npx patch-package && electron-builder install-app-deps
npm ERR! A complete log of this run can be found in:
npm ERR! /home/joker/.npm/_logs/2023-08-31T14_37_05_918Z-debug-0.log`
Should install node modules
- OS:Linux
- Version:Fedora 38
No response
Is your feature request related to a problem? Please describe.
Currently many controls/blocks (that are clickable) have no cursor: pointer
on it.
Describe the solution you'd like
Add cursor: pointer
to a bunch of elements 😬
Additional context
If allowed - I'd like to create a PR for it as well, so that this task not stops the other importing things to do 😬
It would be nice to add font settings in the anytype client as especially on Windows, the auto deployed system font settings (usually cannot/hard to change on Windows) when meeting CJK contents are disaster...
Add font setting menu as in Firefox for different languages.
No response
No response
If a link points to an object that is in the bin or is non-existent, it is impossible to remove the link without removing the whole text. It just shows "Object is in the bin" or "Non-existent object", but there's no option to unlink them.
Users should be able to unlink objects that are in the bin or are non-existent just like existent objects.
Currently I remove links to non-existent objects by replace them with a link to an existent object and then unlink, but this is a redundant step.
No response
When creating a new custom Type
the unfolded list box displays all current Types
available. After typing the name for a custom Type
the unfolded list box shows a loading animation. This is enough to make my Laptop's fans spin up and when looking into Task Manager, the Anytype client takes all available RAM. This causes the system to slow down severely and will take some time to revert. After the search is finished, the client still takes up a lot of RAM.
I have 64 GB of RAM installed on my system. After searching, the process anytypeHelper.exe
still takes up ~30 GB of RAM. While searching, the process takes 54 GB of RAM and produces ~70-80% of CPU usage.
I know that a bug report about a memory leak is already open, but I wasn't able to find a register function for the Anytype community forum.
The client should only take up a minimum amount of RAM and CPU usage.
Edition Windows 11 Pro
Version 22H2
Installed on 23.02.2023
OS build 22621.2134
Experience Windows Feature Experience Pack 1000.22659.1000.0
Device name DESKTOP-8P8SG47
Processor AMD Ryzen 5 5600H with Radeon Graphics 3.30 GHz
Installed RAM 64.0 GB (62.9 GB usable)
Device ID 8F896C85-ED23-417E-BC54-90FBE1EBFB70
Product ID 00330-80000-00000-AA334
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Device: DESKTOP-8P8SG47
OS version: win32 x64 10.0.22621
App version: 0.34.3
Build number: build on 2023-08-16 11:07:20 +0000 UTC from at #2815587c8afa3f81e75336226cacecb7fe105e9c(v0.27.21)
Library version: v0.27.21
Account ID: A6RddMdCq3c4yfsVSYhsVBu2FYEBoGUJze5r3LHfgoMdQdHp
Analytics ID: a614454c-efcd-4ee0-b995-6c1d38c157cd
Device ID: 12D3KooWRrC9GjVBLgAXo9x2dVHqKYKKJKE9wqwS3JAow9k8LY69
When installing the rpm the package it throws an error of conflict
It should have installed the package
- OS:Linux
- Version: Fedora 38
No response
Would be great to publish binaries for Linux ARM in releases, I see in package.json there is already a target "dist:linuxarm"
Currently, in locked pages, you cannot download pictures (no download button appearing) or copy text (no matter using right click mouse or Ctrl-C)
Per my understanding, locking a page is mainly for avoiding mis-editing, but the "read" permission (which includes download and text copy) shall be fully supported.
- OS: Windows 11 & Linux (Debian 12)
- Version:
No response
When I try to export to pdf, Anytype removes tabs. As you can see in my screenshots.
The tabs should be visible
- OS:Windows 10
- Version: 0.34.3
When you try to collapse and expand a widget before the animation is over, it will create a glitch effect and it can lead to an opened widget when it should be closed.
If the initial state of the widget is collapsed, when you double click before the animation is over, it will display you the expanded widget even if the state is "collapsed".
If the initial state of the widget is expanded, when you double click before the animation is over, it will display a glitched animation.
The animation should follow the toggle button state, if the widget is expanded then collapsed at quick speed, it should stay collapsed, not expanded. Furthermore, the animation shouldn't be glitched.
- OS: KDE neon 5.27
- Version: 0.33.3 & 0.33.12-beta
No response
Pasting URLs trigger a "Create bookmark" action, which is great as it creates a "card" that you can easily see the URL's Title and a snippet of the website itself. However, right-clicking "Turn into Object → Bookmark" doesn't create the card, only changes the font of the URL.
Describe the solution you'd like
Adapt the current "Turn URL into bookmark" logic, so it copies the behavior of pasting a URL and selecting the "Bookmark" type.
Describe alternatives you've considered
If that's somehow not viable to do automatically, then at least a "refresh" option to fetch the contents again
First off this is such a cool project and I'm surprised by all the features, this better blow up soon! I'm loving the built-in emoji-picker as well, but I feel like there could be a faster way to add emojis:
The solution I'm proposing is to just do what Discord does. In addition to their normal emoji-picker you have the option to type a colon, then the name of the emoji and another colon to quickly find and add them. You also get a preview, so when you start typing it gives you suggestions just like the normal search bar in the emoji-picker. So when you type : sob : (without the spaces) it turns into 😭. I just noticed GitHub does the same actually so this seems to be somewhat common nowadays! Here's a screenshot of what I mean:
I could also imagine some automatic suggestions for emojis based on the words you've written, but that might get a little annoying - might work well for suggestions in the actual picker, though!
Anyway, I hope I didn't miss some way to actually do this already, I'm a bit overwhelmed by the massive amount of features this project already has, so thank you very much!
When attempting to create a set of Audio
type, there is no option to add anything:
Further, when attempting to create a new instance of type Audio
, it is not possible:
The ability to add an instance of the type; either within the context of a set, or from the global creation screen.
Audio
OR
Audio
type.- OS:Linux - Fedora 38
- Version: 0.33.3
I attached images in the current behavior.
Running the AppImage (compiled on my own, and the official download) leads to the following command line output:
[1] 24938 illegal hardware instruction ./Anytype-0.34.3.AppImage
The AnyType client should start.
./Anytype-0.34.3.AppImage
- OS: Gentoo Linux
- Version: 0.34.3
No response
Is your feature request related to a problem? Please describe.
Search is only can search object, actually most of time, user want to search blocks.
Describe the solution you'd like
The user can search content, and in the result it will show context. Also we can have advance search. I'd like the search like notion.
detail -> https://community.anytype.io/t/full-document-search-and-with-context-shown-in-the-search-field/2130
Show export error as import in the menu
Second "导入“ Should be "导出"
- OS:macOS 14
- Version:0.33.9
No response
Menu bar looks weird with the app since global application menu is not always there, so it's integrated with the application window. Also Electron is far from perfect and doesn't support dark color schemes well, so I end up with following UI on my pretty default Fedora with GNOME setup:
There are a wide range of possible solutions:
No response
No response
PR #179 was reverted in PR #180 due to tsc --noEmit
erroring out on every commit. However, I was not able to replicate the issue on ca07f8b.
There shouldn't be any tsc error
tsc --noEmit
- OS: Arch Linux Rolling
- Version: ca07f8b129808c950b828885e77891893f1256b9
No response
I have a set with a log of objects inside. I want to export the site as PDF. I use the standard function provided. The final result is not showing some of the objects inside the set.
The missing objects are only visual, there is a gap between some objects.
No objects should be missing in an exported view of a set.
- OS: macOS 13.4.1
- Version: 0.33.3
No response
Flatpak is a technology for building, distributing, installing and running applications – primarily targeted at the Linux desktop and desktop applications.
Would be great (and convenient) to be able to install Anytype
from Flathub
. It would also acquire visibility in the app stores automatically.
Describe the bug
It's the common UI quirk I observe in web applications that implement image previews and dialogs. Once you're in modal mode, scrollbar vanishes, making the view shake, because scrollbar itself was an important part of layout. It reappears after closing dialog, causing layout re-render.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Layout should stay intact upon dialog opening. Scrollbar probably should stay "as is" and be besides the dialog, so user doesn't mistakenly think it's a control for scrolling inside the dialog.
Screenshots or video
Desktop (please complete the following information):
Additional context
This must be happening because you're setting overflow-y: hidden
on an entire document (body
), causing scrollbar to disappear when dialog needs to be put before a user, to avoid scrolling on the "back layer". While we're at it, a new problem might present itself if the dialog itself doesn't have scroll behavior: content might overflow and not be seen in its entirety by the user.
I'm not entirely sure if it's even a good idea to apply a global scrollbar, when such desktop SPA can simply make a scrollbar inside the designated area, the note itself. But I understand it's because of accessibility reasons. It's just a bit perplexing to see this scrollbar start in the area which should be dedicated to the top menu. But, I suppose, it's worth a separate ticket.
I'm uncertain whether this is a bug or a feature...
Initially, I designed a template for the Human object and proceeded to create multiple instances of Humans using this template. However, to my surprise, I discovered that I could create an object from the very object I was editing by simply selecting the text, right-clicking, and choosing the "turn into object" option (I'm new to this, haha).
In my specific situation, I attempted to create another Human using this method, only to realize that the template wasn't being utilized as intended.
I strongly believe that when creating objects in this manner, the template should be automatically applied, particularly in cases where the object being created originates from the same object that utilizes the template. This would ensure consistency and maintain the intended design and functionality of the template.
To reproduce the issue, please follow these steps:
By following these steps, you will encounter the situation where creating a Human object from the currently edited object does not utilize the intended template.
- OS:macOS 13.4
- AnyType Version: 0.33.3
No response
Some UI elements have no hover feedback whatsoever.
Here is a list of elements with no hover feedback that I could find:
About Anytype popup (also missing post-click feedback):
Add some sort of hover feedback.
None
None
Theme doesn't change as per system preferences in Fedora 38 with Gnome
To auto change when darkStyle is toggled on or off
- OS: Linux
- Version: Fedora 38 with Gnome
No response
Building as described in my script: https://github.com/SamBouwer/any-docker/blob/main/scripts/build_heart_client_win.sh
Result:
It looks like this file is not written to the built installer (also not to win-unpacked folder) because the SENTRY_AUTH_TOKEN
is missing (not provided in tech-docs or elsewhere AFAIK).
Relevant part of the build log:
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
webpack 5.88.2 compiled with 3 warnings in 43103 ms
• electron-builder version=24.6.3 os=5.15.0-78-generic
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
[BeforeBuild] platform: windows arch: x64
[BeforeBuild] folder:
• packaging platform=win32 arch=x64 electron=22.0.0 appOutDir=dist/win-unpacked
error: API request failed
caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.
• building target=nsis file=dist/Anytype Setup 0.33.6-alpha.exe archs=x64 oneClick=true perMachine=false
• building block map blockMapFile=dist/Anytype Setup 0.33.6-alpha.exe.blockmap
Either the build process to fail gracefully and notify the user the SENTRY_AUTH_TOKEN is required, or allow the build to complete properly without this token (and Sentry hooks disabled)
- OS: Windows
- Version:
Edition Windows 11 Home Insider Preview
Version 23H2
Installed on 7/31/2023
OS build 25915.1000
Experience Windows Feature Experience Pack 1000.25915.1000.0
No response
Upon minimizing and maximizing the app window while in gallery view for a set of items, the gallery view layout breaks, causing items to lose their intended arrangement and alignment.
The gallery view should retain the original layout and alignment
- OS: Windows 11 v22631.2262
- Version: 0.34.3
No response
Is your feature request related to a problem? Please describe.
Currently, the anytype desktop client is distributed to Linux in three formats (https://download.anytype.io): AppImage, deb, and snap.
Describe the solution you'd like
I suggest only building AppImage targetting amd64 and arm64 then making them also available as flatpaks on flathub. This can be done by using flathub/flatpak-external-data-checker
. Here is an example of it working in action.
This drastically simplifies the building, testing, debugging, and maintaining process for the Linux platform.
The Services context menu item is only relevant to MacOS and does nothing on other platform.
Only show "Services" context menu when on MacOS
No response
Relevant lines of code:
anytype-ts/electron/js/menu.js
Line 36 in bad413c
Also reported here: https://community.anytype.io/t/what-does-the-services-item-do/8952
Describe the bug
Windows defender gave me a nasty screen warning me that your windows installer may damage my system or put me at risk
To Reproduce
Have windows defender up to date and running, download and start the windows installer
Expected behavior
Install program no problems
Desktop (please complete the following information):
Describe the bug
Anytype not working on Ubuntu.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I can view and use Anytype.
Screenshots or video
That is Ubuntu, but with MacOS Theme.
Laptop:
I like the idea of locking the app with a 6-digit pin. However, I'm not the type of person who likes to set my laptop to sleep when I take water or go to the restroom while working on the computer. I'm worried that someone could accidentally or intentionally peek into my screen and see what I'm writing on Anytype. So, it would be great if a feature to manually lock the app was added instead of setting a time for the app to lock itself automatically.
I've searched through the documentation to try some shortcuts that I thought might be a way to lock manually but I couldn't find it. The most sensible way for me is to reload the app with the CTRL + R
combination but unfortunately I don't feel this is an effective way.
Add a feature/menu to manually lock the app when the user has set the pin. Using keyboard shortcuts is a good one.
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.