-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event detail view #52
Open
Monterius
wants to merge
9
commits into
master
Choose a base branch
from
event_detail_view
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Essentially copied the picture Justin drew for the event detail view screen. The notification button and back button works. The sign up button works (no functionality). Those are the only buttons so far. We may want to be able to click on all the profile pictures to open that user's profile.
Gave most things a rounded edge. Moved the sign up button to be on the bottom bar where you can send messages. Changed the participants list to be horizontal instead of vertical. You can also click on any participant to open their profile, the event creator image is clickable, and the map image is clickable (no functionality). I Put shadows on things becaused it looked kinda neat. Separted some of the code into separate functions. Currently in the same page, but most likely will be moved so that they can be used anywhere.
Added stuff to get all the registered users. The event detail example auto fills the participants with all registered users. Also added functionality to the participant buttons. It will show the profile of whatever user was clicked on. I made the classes and functions to be able to create an event. I haven't used it yet because I have been having trouble trying to store lists to firebase.
Event detail screen now takes an event argument and shows the details of that event. Currently, the events are hardcoded. Allowing a user to create an event should not be too difficult. The problem is trying to store the data to firebase.
After many painful hours, I can now save event data to Firestore and retrieve it.
The ability to create events is here! It uses an alert dialog widget that can be used anywhere in the app. You can customize it to contain whatever you want. Also added a DateTimePicker widget that can also be used anywhere.
You can now sign up for an event. Currently you can sign up for your own event. Also you can't un-sign up for an event yet.
Updated colors to reflect the colors in the master branch. Still not definitive, of course, as it just uses the colors and not gradients.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Because of Firebase issues, I couldn't access the profiles and the event detail screen. however, There wasn't really anything else I saw to do for the event detail screen.