Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notion-like 'Formulas' (code snippets?) #642

Open
3 tasks done
nventstudios opened this issue Mar 30, 2024 · 0 comments
Open
3 tasks done

Notion-like 'Formulas' (code snippets?) #642

nventstudios opened this issue Mar 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nventstudios
Copy link

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

One of the main reasons that people use Notion (atleast in my experience) is the addition of 'formulas', as they call it, which allow you to do calculations with your various properties and such, giving you a much better insight into your data. This is what drew me to Notion at first, but Anytype is a much better, open-source solution.

I am most certainly not fluent in code, but I think this would be a great addition to Anytype. Notion Formulas are most certainly the 'killer app' and it's probably why a lot of people use it. For more boring usecases, you can use it to perhaps track your finances (credit to Thomas Frank). For something that already exists and is advertised within Anytype, a powerful habit tracker would be a more general use-case. Imagine this habit tracker: (credits to whoever took this screenshot at Anytype!)

2024 03 30 - 15 15 07 49

- but you could add a graph at the top showing your progress that dynamically updates as you check each box, or track your quality of sleep across the week or month and get an average of how it was. Seriously, possibilities are endless here.

Suggested solution

To accomplish this, Anytype could provide an integration with either an already-existing programming language or create their own for usage with the app. Now, I understand that allowing users to run unsigned code is probably a VERY bad idea, hence why you could make your own 'language' of sorts (like Notion did) which integrates nicely with your collections and notes and such.

These could be in the form of relations that give data e.g. with a habit tracker, you could add a relation that gets a boolean of tasks you've done (0/false if it's unchecked or not done, 1/true if it's checked or done) and tell you how many tasks you've completed out of the total amount of tasks there is.

Alternative

Theoretically, you could just... do it manually. You could make your own graphs or do your own calculations and add them into your notes.

Additional context

This article from the Notion team gives the basics on how their Formulas work.

@nventstudios nventstudios added the enhancement New feature or request label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant