-
Notifications
You must be signed in to change notification settings - Fork 163
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 series and event Fragment redesign #265
Conversation
Description is moved to header of the list.
Logos are keyline 1 Title is keyline 2
Const.START_TIME_IOEXTENDED, | ||
Const.END_TIME_IOEXTENDED)); | ||
} | ||
|
||
private void addTaggedEventSeriesIfDateFits(@NonNull TaggedEventSeries taggedEventSeries) { | ||
DateTime now = DateTime.now(); | ||
if (now.isAfter(taggedEventSeries.getStartDateInMillis()) | ||
&& now.isBefore(taggedEventSeries.getEndDateInMillis())) { | ||
if (BuildConfig.DEBUG || (now.isAfter(taggedEventSeries.getStartDateInMillis()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Really good work you've done. I agree with @friedger comments. |
Thanks @HenriqueRocha |
Do you pull those colors using the Hub API. The notion of having a color attribute for event tags is something that is not supported based on the data we get from the Devsite. The Hub provides an optional color field for some tags (see: https://hub.gdgx.io/api/v1/tags/android) A UI for Admins to add/edit Tag Metadata is pending with gdg-x/hub#18 |
@tasomaniac The Hub does not have any cover photo information since this is not part of the data supplied by Devsite and there is no G+ API specific to retrieving Event data. |
@mauimauer The colors are hardcoded. Actually these are not colors for events, but colors for event series. |
@tasomaniac with a67c0e7 the event series are now correct and the popup are more readable. Still could be a different font color I guess. |
Add CardView to the description.
@friedger Thank you. With that commit, the background of the items in the Toolbar is also fixed. |
@tasomaniac Event Series are just events with special tags. (ie. every event that has the WTM tag, is part of the WTM event series), thats how the Devsite (and thus the Hub) handles it. |
@mauimauer In the app or mabye on the website we would probably like to promote a tag for a period of time. That would require an API that returns the (tag, start date, end date, promo graphic) |
@mauimauer @friedger That's what I was talking about. Promoting a event tag for a time and querying the current promoted tags. |
Comment about colors: |
Looks good. LGTM |
Great effort! |
Event series and event Fragment redesign
Gdg.NoActionbar
renamed toTheme.GDG.NoActionBar
Note: After the last rebase, the backgrounds of the items in the Toolbar become blue. We should fix that.