jkutkutorg / android-cinehub Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Self explanatory. New users should enter their auth data before they can start accessing the app.
All small - non breaking features or changes to the database can be listed here. They will be implemented in the future.
This activity should prompt the user which seat they want to choose.
The "Screen" TextView should be treated as a placeholder, and it could be replaced with an ImageView on future versions. If we keep this TextView, it should use the secondary color of the app's theme.
Hi guys!
I open this issue in order to discuss among all the members of the team about the database data and the structure of this same, so we can save time!
Functionalities:
We must take into account if the movie room is available, the number of reservations of the room should not exceed the maximum number of seats available in the room.
The movies can contain a unique ID, this way we can synchronize it with the banner. What do you think?
Open debate!
The API to interact directly with Firebase using Android Studio Java.
Users should be able to authenticate against the database before making any operation. This activity should take care of that.
Here are some suggestions:
https://campus.europaeducationgroup.es/courses/33195/files/6720728?module_item_id=712297
Descripción breve del proyecto
En el marco del Proyecto integrador nos planteamos como objetivo una aplicación móvil para consultar la cartelera de un cine, simular la compra de entradas o consultar las salas libres para reservarlas para realización de eventos:
Determinar el alcance y a quién va destinada la aplicación.
Qué funcionalidades va a tener.
Qué datos se van a manipular: modelo de datos
Mediante este trabajo se pretende que los alumnos consigan:
Para el proyecto se utilizará la metodología ágil SCRUM. Un framework de desarrollo ágil de software para gestionar el desarrollo de productos. Se define como una estrategia flexible e integral de desarrollo del producto donde un equipo trabaja como unidad para alcanzar un objetivo, los retos asumen un enfoque secuencial del desarrollo de producto; se habilita a los equipos para organizarse por sí mismos animando a la colaboración presencial u online de todos los miembros del equipo, así como a una comunicación diaria cara a cara de todos los miembros y perfiles en el proyecto.
http://www.proyectosagiles.org/que-es-scrum
http://es.scribd.com/doc/134880180/SCRUM-La-guia-de-1-pagina
Is your feature request related to a problem? Please describe.
Toasts should only be used for notifying the user when the app is running in the background.
Describe the solution you'd like
Using snackbars would make our app comply with the Android dev specs.
Describe alternatives you've considered
None
Additional context
None
Currently, our issues with the Activity
tag are not well documented nor formatted. I would propose improving this by adding the following fields in the existing issues:
Having a draft of the activity would also be helpful, for getting a preview of how it would look like.
Define the initial load of the database.
Hi team ✋🏼 !
The project looks amazing, but we must not forget about the branding of the project. What do you have in mind for the logo? I have made a sketch that could be a very good option. Let me know your feedback! (proofs)
Let's discuss the features of the App.
This issue should be closed once a document in the wiki has been filled.
Activity where users can ensure they've selected what they want before they make their booking
Case:
A new user registers, tries to purchase a movie and when selecting seats selects two or more, upon checkout in the main menu he is assigned duplicate tickets.
After testing this, I have tried to purchase a single ticket of another movie, it is added duplicate but with the same name as the previous ones. Video
Please, if someone starts working on this BUG react to the issue.
Define the database_model #16 in firebase
Use the wiki of the repository as the source for all documentation.
Currently, #28 can only query all data available on DB. Specific registers will be required for implementing several activities (ex: #10 needs all the seat reservations made on the selected Room
, so the only way to do it is filtering the server result on the client, not very efficient...).
Should we keep using this way of querying the DB or should the API expose methods for specific queries?
To prevent the use of the class CinehubAPI directly
What does this method do?
Inserts a SeatReservation
, with its corresponding Reservation
onto the database.
Input
Both the SeatReservation
and the Reservation
containing the user_id
.
Output
None (at least usable data)
Additional info
It would be useful having onSuccess
and onFailiure
callbacks to handle the DB response.
We should all agree a convention for naming our branches. My proposal would be the following:
Branch type first, followed by a hyphen (-):
wip
Work in progress branchesdev
Our own branches (the ones where we could merge small changes without affecting the others)rel
Release branch, the one where everything should workFeature identifier (snake_case): What will this branch bring to the project
An example of this would be the following branch:
wip-my_buggy_feature
After closing this issue, the final convention should be merged on the project wiki.
Any ideas or suggestions are appreciated!
Our activities need a way to move their data forward until the final activity, where the booking will be made.
For easing this and making the codebase more legible, a NavActivity
base class, which will be extended by every other class in the app will provide the following functionality:
advanceActivity
: Takes a lambda, which will define the next intent about to be launched.collectData
: An abstract method, which will receive the Intent
created by advanceActivity
, and will be free to overload it with custom extras (though it's intended to put only the current activity extras).Finally, an activity based on the resulting Intent
will be started.
Edit: collectData
won't be needed anymore, as NavActivity class is able to access the current Intent
and directly copy the data onto the new Intent
Allows users to select a film before they can start the booking process
What does this method do?
Get all the room configurations given a roomId
.
Input
roomId
Output
ArrayList of RoomConfigs
Additional info
None
SeatSelectionActivity requires an "Encoded Room Layout" for working properly.
This is, a two-dimensional array containing a set of characters defining the state of the seats located on the room. The current characters are the following:
f
: Free seat, can be selected by the user, tinted with greenish coloro
: Occupied seat, cannot be selected by the user, tinted with reddish color
: Non-existent seat, used for defining the room's structureThe array should be made out of Character
objects, as they implement the Serializable
interface and can be moved between activities with ease.
An example of the layout would be the following
Encoded room | Rendered room |
---|---|
![]() |
![]() |
With that out of the way, multiple problems arise:
What does this method do?
Given a user, return a list of their reservations.
Input
User model class.
Output
ArrayList of SeatReservations
Additional info
Required by #43
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.