rflett / jui Goto Github PK
View Code? Open in Web Editor NEWProbably the best app of all time, right here.
Home Page: https://delegator.com.au
Probably the best app of all time, right here.
Home Page: https://delegator.com.au
Move join group QR stuff to its own component and add it to the fab
There's a million different conditions for the different buttons on when to show / disable them.
Pls refactor cos it's a bit gross.
The buttons are implemented and the links work but it needs to work end to end with call back URLs and all that fancy stuff.
Join a group
The setup group invite page has the contents required for this. It will be best to split this into its own component and share it. It's the first few children here.
Create a group
Same deal as join but it's just 1 field which is the group name. The field is here.
Nominate a new group member
Open issue in Jaypi for the API work.
TODO
The pages need to actually refresh when the refresh events are sent, currently the data is updated but the page is not refreshed. Probably due to the map of pages.
You should be able to:
It's because the _selectedGroupId is null for some reason, the map that loops through the users groups after login isn't setting it properly.
Or, we need to not render the select group drop down until the _selectedGroup is not null
This fails to decode when the QR is received from the API. If _groupQRController.text
is set manually to the API response it works...
In both instances the QR response is exactly the same and I'm pretty certain both are of type String
. It's got me stumped.
If you are the only member of the group AND you are the owner then delete the group.
We just tell the user to nominate someone else if there's other members so no need to prompt for this.
TODO
Allow a user to join an existing group
This can be done by:
Allow a user to create a new group
There needs to be clear validation on this page as there is one next
button for both actions. I.e. if the code field isn't empty then validate it, and if the group field isn't empty then validate it. If both are empty then that's an error too. If both fields have content then favour the group code field over the create group field.
A nice to have would be to validate the group code before next
is pressed - a green tick or red cross if the group code exists. We can start this with basic code validation (6 chars [a-z0-9]).
After pressing next
a toast should appear with the a completion of the appropriate action and then moved to the next screen.
This screen should only be presented after sign in if the user's groups
field is null
.
Currently it just grabs the first in the list. Maybe this should hook in to the primary group ID stored in local disk.
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.