Coder Social home page Coder Social logo

potatoproject / leaflet Goto Github PK

View Code? Open in Web Editor NEW
342.0 22.0 53.0 13.99 MB

POSP official notes app, soon to be included

Home Page: https://potatoproject.co

License: MIT License

Java 0.48% Dart 94.04% Kotlin 0.76% Swift 0.27% Objective-C 0.01% CMake 1.45% C++ 2.09% C 0.13% Ruby 0.25% HTML 0.37% CSS 0.04% Shell 0.12%
flutter notes-app material-design posp moor cross-platform android windows macos linux

leaflet's People

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

leaflet's Issues

Copied content not showing up

Hi! Just noticed this bug while using the app (absolutely beautiful UI btw, encryption pretty please?), whenever I copy a huge paragraph on one of the notes, it doesn't show it in its entirety (more like 1/10th of the whole thing). I can't even scroll down unless I go into edit mode. It's quite inconvenient to not be able to copy stuff since I do it pretty regularly, but your notes app is the most visually pleasing alternative to Keep. So it's kinda a shame that I can't use it as a daily for now.

Appreciate the great app though! You guys rock!

I hope the image attachment works, here's a comparison between Notally and POSP Note:
IMG_20200724_181246

FAILURE: Build failed with an exception.

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/foo/Leaflet/android/app/build.gradle' line: 58

  • What went wrong:
    A problem occurred evaluating project ':app'.

path may not be null or empty string. path='null'

my key.properties
......
keyAlias=key
storeFile=key.jks

line: 58 is storeFile file(keystoreProperties['storeFile'])

project licence ??

Hey First thanks for sharing this project I wanna use part of your code on my project I don't know much about how licensing work here on GitHub usually they're a tag on project indicate the license, so can use or not and if yes what's I need to refer your code as open source and thank you again

Formatting support

What about text formatting support, like bold, italic, monospace, etc?

Markdown editor

Suggestion:
I was wondering if it was possible to implement a markdown editor in leaflet? with this feature users can customize texts and embed links and would be extremely useful. Thank you!

Can't unlock notes

Notes locked with a 4-digit pin can't be unlocked; only 3 digits can be entered before it shows "Wrong PIN".

Widget

I really like having a widget with some of my notes (e.g. shopping list, todo list) on the home screen, so I don't forget. Would be nice if this app had one

Long notes don't scroll correctly

Notes longer than 32 lines do not scroll when viewed. The only way to see the extra text is to edit the note, then use the text input cursor to scroll inside the text input box.

Device: Pixel 4 XL
OS: Android 10 (QQ1B.200205.002)
Potatonotes version: 1.5.1+13

Video demonstrating the issue:
https://youtu.be/g-DL0iISg7w

Only hiding content locks notes (and other issues)

Only hiding the notes from the main page automatically locks it with some pin, making those notes unreadable.

Also, when a note is locked by a password, it shows up to enter a pin even when an alphanumerical password is set.

Another issue I've found is that when you open a note, no matter where you tap, the cursor always jumps to the starting position, and typing anything on the keyboard replaces the first word of the note.

Translation

Please add feature to support translation to this project. This is beautiful, open source and more. God job #POSP

Invalid flutter command in Readme.md

The Readme contains following instructions for building Leaflet:

For now the required flutter channel is master, so issue those two commands before starting building:

~$ flutter channel master
~$ flutter update

When trying to run the second one, I get following output:

$ flutter update
Could not find a command named "update".


Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.

Do you mean to run flutter upgrade?

Configure Custom Sync Server in Mobile App

The sync server is open source and self-hostable, but cannot be pointed at in the mobile app's UI.

The goal of implementing this was mentioned in a comment on a closed issue but having an open issue makes tracking progress easier.

I would help with this but I don't have the requisite mobile dev knowledge at present.

Translations

there are several translation tools.
weblate
crowdin
poeditor
transifex

it would be easier than at github
I'm writing down my experiences here. But you have to decide what you want.
if you take value on opensource, you can use #weblate. otherwise i hang out a lot on #crowdin and #poeditor. poeditor is, that you can only translate if you know the link. in poeditor there is no overview of all created projects of all people. people who want to translate too, find your link only by chance. i think that's stupid.
at #transifex it can be that you are rejected or that it takes a long time until you are accepted.

Fix RTL languages display

Hi,
the problem is when I type with Arabic language the text still aligned to the Left, like english.

I don't know if its fix will be easy or not, but thanks for such a nice UI & simple app like this.

Swap/reorder checklist items

The ability to reorder checklist items would also be great.
Maybe by longpressing or via drag handles.
Though the latter wouldn't be as accessible as a long press.

flutter run error

flutter run
got
Exception: Gradle build failed to produce an .apk file. It's likely that this
file was generated under /Users/foo/PotatoNotes/build, but the
tool couldn't find it.

[Feature] Encryption

It would be quite useful if PN made it so that notes protected with a password/PIN were encrypted, especially with the existence of cloud sync

A second useful encyption feature could be to give the user the ability to lock the whole application with a password/PIN and encrypt all of its contents, like for example:
Silence
or
AndOTP

Save note when typing stops

It would be great if notes were auto saved X seconds after typing stops. Sometimes I'll start a note then get distracted and put my phone in my pocket. If the app then gets killed, when I pull my phone out and restart the app...the note i was previously typing is gone.

I think it would be pretty easy to have a workflow like:
Start new note
Start typing note
Stop typing note
Wait 5 seconds, if still not typing
Save note

Just an idea, I appreciate the app either way!

Add License file

You can use the code freely, the only thing you should do is credit me in some way (and maybe link to this repo) but that's it, for the rest you're free to do whatever you want

Originally posted by @HrX03 in #8 (comment)

A project cannot considered free and open source without a license file.

If the only thing you require is just attribution of your name, MIT License would be a good license.

I can help create a pull request if you need help with it.

Online sync

It would be extremely helpful to have some sort of online sync in this app (e.g. GDrive, WebDav)

issue with versionCode of v2.0.0

The APK attached to the v2.0.0 release has versionCode: 20, while the older ones had a 4-digit versionCode. Hence Android will refuse to accept v2.0.0 as update. Is that intended? If one wants to update from e.g. 1.5.2 (versionCode: 2015) one has to uninstall and re-install, as Android won't permit the "downgrade" (you can increase versionCode as much as you like, but you can never decrease it).

My guess is that you've now attached a universal APK only, while before you provided arch specific ones. That makes v2.0.0 exceed the size limit for my repo btw (where your app is currently listed), so I'd have to stop updates and revert back to 1.5.2 anyway. May I suggest you add the armeabi-v7 APK as well, which then would most likely fix both issues (versionCode: 2020 and size around 10M)?

[Enhancement] List: Use "Enter" for new entry

When creating a list it would make it a lot easier to be able to use the enter key to create a new entry.
Currently when creating a checklist you have to click on the "+" sign in the app for each new entry but it would be much easier and faster to just write one task, press enter and write the next task.

Allow notes moving

This app looks extremely promising getting very close to google keep as design and features.

One obvious feature that it is missing is to be able to move the notes entries (re-order them)

App crashes after setting up reminder

Add new note, press "+", select "Reminder" to add new reminder. Select time, select date. Clicking "Save" app crashes and note dissapears.
PotatoNotes version 1.5.2+15, installed from Google Play Store.

b/routes/settings_route.dart:486:65: Error:

b/routes/settings_route.dart:486:65: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/apps/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
    Theme.of(context).textTheme.headline6.color)
    ^^^^^^^^^
    lib/routes/settings_route.dart:496:65: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/apps/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
    Theme.of(context).textTheme.headline6.color)
    ^^^^^^^^^
    lib/ui/note_view.dart:36:51: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/apps/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
    Color cardColor = Theme.of(context).textTheme.headline6.color;
    ^^^^^^^^^
    lib/ui/note_view.dart:63:46: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/apps/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
    return Theme.of(context).textTheme.headline6.color;
    ^^^^^^^^^
    lib/ui/note_view.dart:168:40: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/apps/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
    .headline6
    ^^^^^^^^^
    lib/ui/note_view.dart:186:40: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/apps/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
    .headline6
    ^^^^^^^^^
    lib/ui/note_view.dart:212:48: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.

Mark urls/links

It could be really helpful if urls would be marked and callable.

Refreshing content causes note data loss

If I create a note or change a notes color, those changes aren't saved if I pull to refresh from the main page. The changed note colors revert back to their former colors and some notes have disappeared completely.

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.