Open mikaelacaron opened 1 year ago
@harryheres wanted to work on this, can you comment on this and I'll assign it to you
@mikaelacaron Yes, Iām done with the #7 for now, so I can work on this :)
Notice on dev
I created the Widget extension now, to hopefully cut down on merge conflicts
Oh okay, thank you for the update!
Sorry! This task isn't ready to be worked on right now, because I haven't connected the models together, feel free to choose another issue and I'll leave you as an assignee and let you know when you can come back to work on this issue
Okay, will stop working for the time being. Will be happy to continue once you've done the necessary features. Also, what models in particular are you referring to? Might be able to help out?
MaintenanceEvent
and Vehhicle
aren't connected, I would, but it might require how I am passing the models around, also I still need to change some Firebase rules
@mikaelacaron How are we doing with this?
Once #141 is done, you're ready! Thanks for your patience! I was going to do it myself, but kinda got caught up, so I created an issue for someone else to work on this
Once #141 is done, you're ready! Thanks for your patience! I was going to do it myself, but kinda got caught up, so I created an issue for someone else to work on this
Awesome, will be looking forward to it!
This can be worked on now! Thanks so much for the patience
Awesome, will get to it ASAP!
@mikaelacaron Do you want me to create new separate class for the medium widget or just modify the sample BasicCarMaintenanceWidget
source file?
Also, the widgets as provided at the moment, appear blank. I checked the code and it seems to me that it should be filled with couple of Simple Entries, each an hour apart (or a single entry as a placeholder). Or is there something I'm missing?
UPDATE: When migrated to StaticConfiguration and TimelineProvider, the widgets show their contents. Seems like a bug inside the WidgetKit. Any ideas if there's a solution to this?
UPDATE: When migrated to StaticConfiguration and TimelineProvider, the widgets show their contents. Seems like a bug inside the WidgetKit. Any ideas if there's a solution to this?
I'm not sure, it worked by default with the current code on my machine.
And yes go ahead and make a new class for the size
Have you tested in on a real device or in a simulator?
Both, for the default widget, they work for me
Hmm, okay, will try to inspect a bit more then.
Unfortunately I think I'm going to need to put this on hold again, because it's not going to filter properly, by vehicle, the way it's being saved right now
I thought it was, but looking at it closer I don't think it is
Okay, let me know when it gets resolved :)
Sorry š I just noticed it last night, will post more soon
Sorry š I just noticed it last night, will post more soon
No worries, take your time :)
Thanks for your patience! I'm going to hold off on all the widget tasks for right now because I'm going to change how the vehicles and maintenance events are connected. But because it's so close to the end of Hacktoberfest I don't want to break everything for everyone, so I'll open this issue again after Hacktoberfest and you're welcome to contribute to it for fun if you'd like
Opening this back up for Hacktoberfest 2024!
@mikaelacaron Can I work on this? It'll be fun trying out working with widgets.
@aking618 you got this! š„
Describe the feature you want the app to have that it currently doesn't
Describe alternatives you've considered
N/A
Additional context
Only make the medium widget (I'll create new issues for adding different widget sizes later