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
Should cover the basics for the time being
Any others?
Cannot currently be done, presence state is not supported on the plugin that is being used.
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
It looks like the name is external_id
not externalId
null-safety compatible versions do not exist for:
Still WIP in the Papercups backend, therefore blocked
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.
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.
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.
I have found quite interesting feature from https://docs.kommunicate.io/docs/flutter-pushnotification
Do you have plan to integrate the same feature?
Hello folks, seems like the issue has been resolved using https://pub.dev/packages/pointer_interceptor
source:
flutter/flutter#54027 (comment)
Currently there is no way to know if the message was delivered
Replying to certain conversations by sliding like in Telegram/Whatsapp? we could just use the quote block feature from markdown for this.
Support dark mode. Currently looks bad.
Being able to send a message to a user without having the user initiating the conversation
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
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.
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 makes more sense
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
Allows to start new conversations
Currently using a fixed id to test other features
Will be using https://pub.dev/packages/timeago asi it support many locales
Implement error catching such as internet not working or some other error
@cheeseblubber @reichert621 when should this appear?
This should happen after testing thoroughly the app, and maybe even adding unit tests.
Currently only recieving messages
Blocked by #12
Could look cool
This will be done using an IFrameElement
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
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.