Giter Club home page Giter Club logo

anytype-ts's People

Contributors

anthonyakentiev avatar any-association avatar charlotte-chiang avatar cmars avatar d-brox avatar d1eselboy avatar danshank avatar developomp avatar dragosrotaru avatar enkogu avatar flyga-m avatar fuksman avatar ihan1004 avatar jmetrikat avatar kira-bruneau avatar kmordan avatar l2dy avatar langtind avatar lavacxx avatar mhlv avatar msd-11 avatar negue avatar oreoxmt avatar ra3orblade avatar requilence avatar sambouwer avatar seanytype avatar shampra avatar soleone avatar timopheym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anytype-ts's Issues

AppArmour profile issues

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:

  1. Open Anytype (snap version)
  2. Run sudo dmesg | grep "anytype"
  3. Observe the warnings below:
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):

  • OS: ArchLinux (haven't tested other environments)
  • Version: Anytype version 0.32.3

There is no "precommit" npm script

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

"pre-commit": "npm run precommit && git add licenses.json"

Expected Behavior

Either npm run precommit is removed or the script exists.

Steps To Reproduce

  1. Clone the repository
  2. Run npm run precommit
  3. See it failing

Environment

- OS: Arch Linux Rolling
- Version: 6d9dc0e4713b031fedbd9d5d8382f6db53817953

Anything else?

No response

[RFC] Adopt code formatters?

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).

PR 1 : Add prettier formatter

  • update documentations for setting up formatters for different IDEs
  • add eslint husky hook
  • remove following lines
    "prettier.enable": true,
    "editor.formatOnSave": false,
    "editor.codeActionsOnSave": {
    "source.fixAll": false,
    "source.organizeImports": false
    },
    "prettier.documentSelectors": ["**/*.svg"],

PR 2 : Format files affected by prettier

  • Simply apply prettier formatting to affected files
  • Is done to make diffs more managable and no malicious code slips through the review process
  • Anytype developers can verify that no other alterations has been made

Footnotes

  1. https://github.com/anyproto/anytype-ts/blob/ee5f69e7d062b0dac1c0d9807183171bc08e838b/.prettierrc.json

Search Relation result different between : on type object and on relation menu => request for a "political" decision

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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

Expected Behavior

It must be the same result because it's always "add relation to my type" for user.

Steps To Reproduce

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

Environment

- OS:Windows
- Version:0.34.3

Anything else?

In code :

  • type.tsx (in-page "add") -> onRelationAdd is filtered by recommendedKeys.concat(systemKeys)
    And many relation are excluded.
  • view.tsx ("add in relation popup") -> onAdd is filtered by dbStore.getObjectRelationKeys(rootId, rootId)
    So everything except what is already used by the

example indicated in the bug ticket :
Source relation is used by bookmark, a default AT type.

... and here, it can be a team choice!

  • either relations linked to types at the heart of AT must not be used elsewhere
  • or it must be possible to do so (even if it means hijacking them, "Source" used for purposes other than a Bookmark will have other uses... and we'll potentially have to take this into account during development)

Please tell me, I haven't made a Pull Request while waiting for confirmation.

Error when running "npm run dist:win": AzureSignTool.exe not found

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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)

Expected Behavior

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).

Steps To Reproduce

  1. Follow the instructions as written in the README.md file in this repository,
  2. At some point, you need to run npm run dist:win,
  3. Get the error as posted in this bug report.

Environment

- OS: Linux Ubuntu
- Version: 22.04.2 LTS (GNU/Linux 5.15.0-78-generic x86_64)

Anything else?

No response

Invalid link in README

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

There's a link in building instructions thats should point to github releases of middleware library but does not work.

Expected Behavior

Steps To Reproduce

Environment

-

Anything else?

No response

The latest main branch fails to run

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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

Expected Behavior

The app launches without error

Steps To Reproduce

  1. Follow the steps in Building From Source
  2. Observe error

Environment

- OS: Arch Linux Rolling
- Version: 1d0c1b5f511072d9856c2977bd4a01116cdee146

Anything else?

No response

Light scrollbar on dark theme

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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

Suggested solution

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.

Alternative

No response

Additional context

Before and after
imageimageimageimage

Give clickable elements a pointer cursor

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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:
image

Suggested solution

Change cursor when hovering a clickable element (that will open a new page for example)

Alternative

No response

Additional context

I installed Anytype through this package using Home Manager on NixOS so it could come from there.
But since the cursor can change image, I figured it was not a bug.

Adding Task Synchronization Feature from GitHub Projects to Anytype

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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.

Proposal Details:

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.

Publish arm64 windows executables

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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.

Suggested solution

Publish the app for Windows arm64.

Alternative

No response

Additional context

No response

Add tray icon for AnyType process running in background

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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.

Suggested solution

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.

Alternative

As a user, make sure to quit app with Ctrl+Q, not Dash > right-click > Quit (at least on Unity desktop).

Additional context

The nice graphical effects on the welcome phase are responsible for higher CPU usage (note entry with anytype --gpu-preferences in the screenshot below):

image

I expect that outside this, AnyType won't be using as much CPU and it won't be that much of an issue.

Check for update doesn't do anything

Describe the bug
Clicking to "Check for update" doesn't show any info about new version availability.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Anytype > Check for updates'
  2. Click on 'Check for updates'
  3. Nothing happens

Expected behavior
I would expect information about new version availability or "your application is up-to-date" message.

Desktop (please complete the following information):

  • OS: Ubuntu 23.04
  • Version: 0.33.3 (manual .deb installation)

npm run start:dev lists @types typescript issues

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

AnyType imports json file that doesn't exist

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

The following line appears to be importing json files that doesn't exist.

try { data = require(`lib/json/lang/${lang}.json`); } catch(e) {};

Expected Behavior

Json files aren't missing.

Steps To Reproduce

  1. Clone this repository
  2. Follow the "Running" steps (https://github.com/anyproto/anytype-ts#running)
  3. Encounter error

Environment

- OS: Arch Linux Rolling
- Version: bad413c2efc6cce719aacd792b5dd89815f3eec5

Anything else?

No response

Input cursor sometimes jumps one character back while typing

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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 ---^

Expected Behavior

The cursor should act normally.

Steps To Reproduce

  1. Create a new page
  2. Write a long text

Environment

- OS: MacOS, Fedora Linux
- Version: 0.34.3

Anything else?

No response

Add mobile and P2P for mobile and desktop

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

there is no mobile app, plus, p2p would be nice.

Suggested solution

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.

Alternative

No response

Additional context

No response

Building project as per ReadME.md failed

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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`

Expected Behavior

Should install node modules

Steps To Reproduce

  1. Just clone the project
  2. Run the command as per README.md

Environment

- OS:Linux
- Version:Fedora 38

Anything else?

No response

cursor: pointer

Description

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 😬

Request to add font settings in client

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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...

Suggested solution

Add font setting menu as in Firefox for different languages.

Alternative

No response

Additional context

No response

Allow to unlink an object that is in the bin

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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.

Suggested solution

Users should be able to unlink objects that are in the bin or are non-existent just like existent objects.

Alternative

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.

Additional context

No response

Severe Memory Leak: Anytype client fills RAM completely

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

Expected Behavior

The client should only take up a minimum amount of RAM and CPU usage.

Steps To Reproduce

  1. Open Anytype client
  2. Click Library
  3. Focus the search field
  4. Enter a name

Environment

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

Anything else?

Profile-20230819T135233.zip

Conflict issue with anytype rpm release

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When installing the rpm the package it throws an error of conflict

image

Expected Behavior

It should have installed the package

Steps To Reproduce

  1. Download the rpm package
  2. Install using terminal to get the error

Environment

- OS:Linux
- Version: Fedora 38

Anything else?

No response

Publish linux ARM binaries

Would be great to publish binaries for Linux ARM in releases, I see in package.json there is already a target "dist:linuxarm"

Picture download and text copy in Locked Pages

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Currently, in locked pages, you cannot download pictures (no download button appearing) or copy text (no matter using right click mouse or Ctrl-C)

Expected Behavior

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.

Steps To Reproduce

  1. Create a page with text and pictures uploaded.
  2. Lock the page.
  3. No download button appears when mouse hovering on the picture or right clicking.
  4. Select text, Ctrl-C and Ctrl-V (at some other app) doesn't work. (No text copy menu when right clicking the mouse either.)
  5. Unlock the page, and you can download and copy text.

Environment

- OS: Windows 11 & Linux (Debian 12)
- Version:

Anything else?

No response

Exporting to pdf removes tabs

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When I try to export to pdf, Anytype removes tabs. As you can see in my screenshots.

Expected Behavior

The tabs should be visible

Steps To Reproduce

  1. Create new page
  2. Indent line with Tab key
  3. Export page (printing does also remove indentation)

Environment

- OS:Windows 10
- Version: 0.34.3

Anything else?

Screenshot from Anytype:
image

Screenshot from pdf viewer:
image

Widget toggle animation

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

anytype_bug

Expected Behavior

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.

Like this :
anytype_expected

Steps To Reproduce

  1. Create a page containing multiple pages or create a set with data.
  2. Add a new widget with your page / set as the source, set the appearance to compact list.
  3. Double click on the toggle button in your widget, before the animation is over.
  4. You will see either a glitched animation or the widget list expanded when it should be collapsed.

Environment

- OS: KDE neon 5.27
- Version: 0.33.3 & 0.33.12-beta

Anything else?

No response

Improved conversion from URL → Bookmark

Description

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

Inline emoji-markup

Description

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:
image

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!

Unable to create Audio Object

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When attempting to create a set of Audio type, there is no option to add anything:

anytype-audio-issue

Further, when attempting to create a new instance of type Audio, it is not possible:

anytype-audio-issue-2

Expected Behavior

The ability to add an instance of the type; either within the context of a set, or from the global creation screen.

Steps To Reproduce

  1. Create a new set of Object type: Audio

OR

  1. Create a new Object and attempt to select the Audio type.

Environment

- OS:Linux - Fedora 38 
- Version: 0.33.3

Anything else?

I attached images in the current behavior.

Allow inline collections/sets to have editable fields

In inline collection/set views like this:

image

it is impossible to change fields 'as you would in excel' by just clicking into a field. Instead, clicking a field opens the item in a popup. It would be preferable to have the fields editable inline - or at least have that as an option.

AppImage: `illegal hardware instruction`

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

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

Expected Behavior

The AnyType client should start.

Steps To Reproduce

  1. Download the official AppImage or build it using the instructions given here
  2. Run ./Anytype-0.34.3.AppImage

Environment

- OS: Gentoo Linux
- Version: 0.34.3

Anything else?

No response

Translation issues

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Show export error as import in the menu
SCR-20230809-bvcx

Expected Behavior

Second "导入“ Should be "导出"

Steps To Reproduce

  1. File menu
  2. export

Environment

- OS:macOS 14
- Version:0.33.9

Anything else?

No response

Menu bar looks weird on non-macOS

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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:

image

Suggested solution

There are a wide range of possible solutions:

  1. Remove menu bar at all on non-macOS platforms. Seriously. Menu bar is an ancient UI pattern that is thrown away everythere. On macOS it's replaced with global menu bar, but on other platforms it looks like a part of your application is from 1990th. Use different UI elements on non-macOS. I know, the main feature of cross-platform UI engines like Electron is the ability not to do different UI for different platforms, but now it looks good only on one platform.
  2. Do something to make Electron follow your dark theme. It's a hack and partial solution, but this will make menu bar look at least not so ugly.
  3. Allow to disable menu bar. It won't make it less ugly, but at least will allow user not to see it most of time.

Alternative

No response

Additional context

No response

Can not replicate error on `tsc --noEmit`

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

Expected Behavior

There shouldn't be any tsc error

Steps To Reproduce

  1. Go to ca07f8b
  2. Run tsc --noEmit

Environment

- OS: Arch Linux Rolling
- Version: ca07f8b129808c950b828885e77891893f1256b9

Anything else?

No response

Export function does not work properly

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

Expected Behavior

No objects should be missing in an exported view of a set.

Steps To Reproduce

  1. Create Set with arbitrary object
  2. Create a lot of objects in set so that there is more than one pdf page when exported
  3. Export set as pdf

Environment

- OS: macOS 13.4.1
- Version: 0.33.3

Anything else?

No response

Provide a Flatpak as software package — for Linux systems

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.

Layout is re-adapting to scrollbar or lack thereof upon modal dialog opening

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:

  1. Click on any image in the note or trigger an "Export" dialog.
  2. Observe the scrollar on the right disappear, making the entire layout adapt to this.
  3. Close the dialog and observe scrollbar reappearing, causing reverse adaptiveness.

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

image
image

Desktop (please complete the following information):

  • OS: Manjaro, XFCE
  • Version: anytype-bin 0.33.3-1 (AUR)

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.

Object template not applied when creating an object from within the same object

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

Expected Behavior

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.

Steps To Reproduce

To reproduce the issue, please follow these steps:

  1. Begin by creating a template for the Human object.
  2. Proceed to create multiple instances of Humans using this template.
  3. Next, while editing one of the Human objects, select the desired text and right-click on it.
  4. From the context menu, choose the "turn into object" option.
  5. Upon creating the object in this manner, you will notice that it does not adhere to the template as expected.

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.

Environment

- OS:macOS 13.4
- AnyType Version: 0.33.3

Anything else?

No response

Add more hover feedback

Is your feature request related to a problem? Please describe

Some UI elements have no hover feedback whatsoever.

Here is a list of elements with no hover feedback that I could find:

Page icon:
image

Sidebar:
image

Sidebar:
image

Sidebar:
image

Sidebar (edit mode):
image

Space popup:
image

Bin:
image

Appearance Settings:
image

Toggle Button:
image

About Anytype popup (also missing post-click feedback):
image

Describe the solution you'd like

Add some sort of hover feedback.

Describe alternatives you've considered

None

Additional context

Dependencies

None


  • I have checked feature requests and upvoted existing ones instead of creating a new one (check this article if you don't know how to join the community)
  • I have considered creating a pull request with a new feature instead of a feature request and want to proceed

Theme doesn't change as per system

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Theme doesn't change as per system preferences in Fedora 38 with Gnome

Expected Behavior

To auto change when darkStyle is toggled on or off

Steps To Reproduce

  1. Change the setting to system under appearance
  2. Toggle on or off the darkStyle in Gnome Appearance
  3. Check the effect to the app

Environment

- OS: Linux
- Version: Fedora 38 with Gnome

Anything else?

No response

Anytype for Windows built from source fails to open: util.js not found

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Building as described in my script: https://github.com/SamBouwer/any-docker/blob/main/scripts/build_heart_client_win.sh

Result:

image

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

Expected Behavior

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)

Steps To Reproduce

  1. Build Anytype for Windows as per instructions in Anytype tech-docs
  2. Take the installer that is the result of the build process
  3. Install the file on a Windows machine
  4. See the error as shared above

Environment

- 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

Anything else?

No response

minimizing and maximizing app window causes gallery view distortion

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

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.

Expected Behavior

The gallery view should retain the original layout and alignment

Steps To Reproduce

  1. Open the app and navigate to any set.
  2. Set the view to Gallery mode.
  3. Minimize the app window or Maximize it.

Environment

- OS: Windows 11 v22631.2262
- Version: 0.34.3

Anything else?

No response

Limit Linux app distribution methods to AppImage and flatpak

Description

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.

  • deb
    • is a format specific to debian-based distributions (e.g. ubuntu and pop-os).
    • the anytype team has to rely on random people repackaging the app for different distros. Creationg many different points of failure.
  • snaps
    • flatpak is a far more favored option in the Linux community.
    • Can't build for ARM64 on AMD64 (#83)

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.

Hide "services" menu

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

The Services context menu item is only relevant to MacOS and does nothing on other platform.

image

Suggested solution

Only show "Services" context menu when on MacOS

Alternative

No response

Additional context

Relevant lines of code:

{ role: 'services' },

Also reported here: https://community.anytype.io/t/what-does-the-services-item-do/8952

FYI Microsoft Defender warning

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):

  • OS: Windows 10
  • Version: latest windows installer downloadable now

Anytype not working on Ubuntu

Describe the bug
Anytype not working on Ubuntu.

To Reproduce
Steps to reproduce the behavior:

  1. Download the app
  2. Enter the recovery phrase
  3. Login success, but there is just a blank page

Expected behavior
I can view and use Anytype.

Screenshots or video
That is Ubuntu, but with MacOS Theme.
Screenshot from 2023-07-23 00-39-47

Laptop:

Manually lock the app

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

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.

Suggested solution

Add a feature/menu to manually lock the app when the user has set the pin. Using keyboard shortcuts is a good one.

Alternative

No response

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.