Coder Social home page Coder Social logo

any-block's Introduction

Any-Block

Protocol describing data structures used in Anytype software.

Description

We use Protocol Buffers to efficiently describe structured data in a binary format for network communication and storage. It offers smaller message sizes and faster serialization/deserialization than JSON or XML.

Protobuf facilitates data exchange between different systems written in different languages, while also providing automatic code generation for various programming languages.

  • models.proto describes the base data structures used to represent objects and their components.
  • changes.proto outlines CRDT-changes of objects and their blocks. Changes related to block updates are linked to events from events.proto.
  • events.proto describes the events about the changes of objects and blocks. These events are used to notify clients and also serve as CDRT changes to be stored in an object's tree.

JSON Schemas are generated automatically using protoc-gen-jsonschema.

Contribution

Thank you for your desire to develop Anytype together!

โค๏ธ This project and everyone involved in it is governed by the Code of Conduct.

๐Ÿง‘โ€๐Ÿ’ป Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.

๐Ÿซข For security findings, please email [email protected] and refer to our security guide for more information.

๐Ÿค Follow us on Github and join the Contributors Community.


Made by Any โ€” a Swiss association ๐Ÿ‡จ๐Ÿ‡ญ

Licensed under MIT.

any-block's People

Contributors

any-association avatar fuksman 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

any-block's Issues

Add auto alignment option in the Any block protocol

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

As described here me, and others want to add automatic RTL support to AnyType.

Suggested solution

Add a new alignment option:
Auto, that behaves like the HTML dir=auto.

Alternative

This could be handled by the clients just like how android is handling it correctly now.

see this

But I think the correct way is:

  • add auto to any-block
  • add an option for the user/or per space to choose default alignment
  • handle automatic alignment on every client.

Additional context

Honestly, I didn't know what exactly was the best solution, that's why I am opening an issue.

Maybe the team sees this issue as a low priority one and just handling it on every client is enough.

And maybe they see that my proposed solution is better.

Whatever it is, I just want to hear what they are thinking about this.

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.