Difference in presentation from @object and /link object

Describe the bug
There is a difference in the UI when we reference an object with @ and /link. It seems that @ is missing a space (or the other way around /link has extra space). See attached picture for visual example:

Screen Shot 2022-02-26 at 2.19.11 PM

To Reproduce
Steps to reproduce the behavior:

  1. Create an object and add an icon, here it’s a custom one
  2. Go in any other document/note where there is a text field
  3. Reference the previously created object with @objectname
  4. On the next line reference it again with /link and search for objectname
  5. One should see a visual difference between the two lines in alignment

Expected behavior
Both ways of referencing the object should result in the same behavior and alignment.

System Information:

  • OS: MacOS & iOS
  • Device Manufacturer/Model: M1 Macbook & iPhone
  • Anytype Version: e.g. 0.24 & 0.9.0

Additional context
N/A

Thanks!

4 Likes

Hello!

The Bug
Linked objects with the “Action” layout type, are spaced differently depending on whether the @ linking shortcut or /link (Link to Object) is used:
image

To Reproduce

  1. Create an object with the “Action” layout type
  2. Open another (or the same) object
  3. Create a text block and using the “Link to Object” command, select the object
  4. Create another text block and using @, select the object
  5. Notice the (slight) difference in spacing

Expected behavior
For the spacing to remain the same (regardless of whether @ or the “Link to Object” command is used)

System Information
OS: Microsoft Windows 10 Home (Version 10.0.19042)
Anytype Version 0.24.0

Thank you for reading, hope you have a great day!

3 Likes

Thanks for the report. I can confirm this behaviour on Linux.

1 Like

Seems like it is not OS dependent as we have reports for MacOS, Windows and Linux. I also confirm that it repro on Mobile (iOS)

1 Like

Still happening in 0.27.0

1 Like

Hi there,
vertical alignment issue for mention was fixed.

But mention and link to still has slightly different design and I’m not sure that it should be the same.
I will highlight this to our designers but for now it is expected behaviour.

Screenshot 2022-08-22 at 16.38.18

Not sure to understand why would this bug be closed.
This bug is about the difference between mention and links, not an issue purely with mentions. The fix is to unify the design or the concepts as it looks clunky the way it is.

Am I missing something with regards to what was fixed?

Thanks

I stopped the auto close timer for now.

1 Like