papercups-io / papercups_flutter Goto Github PK
View Code? Open in Web Editor NEWPapercups.io Flutter chat widget
Home Page: https://papercups-demo.eduardom.dev
License: MIT License
Papercups.io Flutter chat widget
Home Page: https://papercups-demo.eduardom.dev
License: MIT License
We will be using Hive for this. Stops the few seconds of requesting data and loading it up. Will still be requested and updated, but should first load the local version for speed
Having the ability to have multiple, concurrent conversations.
@phr34k started modularizing the package and adding the ability to do it but there is still a lot of work to be done
null-safety compatible versions do not exist for:
It looks like the name is external_id
not externalId
Problem
If a user has a lighter shade color for the chat widget the text is not legible
Solution
We should auto change the color of the text to black when the shade is too light (need to figure out how to detect the shades and brightness)
Describe alternatives you've considered
We could let them change the color of the text themselves but it could be too ugly if they choose some mismatch colors.
https://papercups.aguilaair.vercel.app/#/ - Does not recieve messages. The rest works fine but I'm unsure of why it doesn't work as debugging isn't really a possibility with dart2js
This should happen after testing thoroughly the app, and maybe even adding unit tests.
Papercups currently uses 1 and 0 instead of true and false so the code will need to be adapted to do this, the current behavior is jut turning the bool into a string.
Currently there is no way to know if the message was delivered
Allows to start new conversations
Currently using a fixed id to test other features
Should cover the basics for the time being
Any others?
Support dark mode. Currently looks bad.
Cannot currently be done, presence state is not supported on the plugin that is being used.
Still WIP in the Papercups backend, therefore blocked
Replying to certain conversations by sliding like in Telegram/Whatsapp? we could just use the quote block feature from markdown for this.
Implement error catching such as internet not working or some other error
Hello folks, seems like the issue has been resolved using https://pub.dev/packages/pointer_interceptor
source:
flutter/flutter#54027 (comment)
Being able to send a message to a user without having the user initiating the conversation
Could look cool
I have found quite interesting feature from https://docs.kommunicate.io/docs/flutter-pushnotification
Do you have plan to integrate the same feature?
This should allow the genIframeUrl function to be much more compact, as the we can just pass the URI generation very easily:
https://api.dart.dev/stable/2.0.0/dart-core/Uri/Uri.https.html
Will be using https://pub.dev/packages/timeago asi it support many locales
This will be done using an IFrameElement
This makes more sense
Currently only recieving messages
Blocked by #12
The animation may be called to soon, causing errors.
To address this we must make sure that the ScrollController has clients and the WidgetBindings is not null.
Currently markdown is not supported.
I'd like to keep dependencies minimal to avoid dependency issues (e.g. not including provider, get, etc), so I am not a fan of adding more deps. However, markdown is pretty complex and I don't have the time to implement a custom renderer, especially having flutter_markdown, which we might be able to use https://pub.dev/packages/flutter_markdown
@cheeseblubber @reichert621 when should this appear?
Caused because of reversing the listview and shrinkwrapping it, causes werid behaviour.
Introduced in 4804591
Investigate allowing functions being passed to onPageStarted, onPageFinished, onWebViewCreated, etc,
This could be used for controlling the loading and show a loading spinner while it loads.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.