Comments (7)
cc @martinbonnin 🎁🙂
from confetti.
@martinbonnin thanks for the quick fix. This is actually a very interesting issue and I hadn't thought of all the subtleties 🤔. Let's keep that in mind for future events. Surely there is something smart to do.
from confetti.
Assume some updates in back end data needed for this initially.....but I can update UI then I guess in case we still try to show some text there for those slots (in the actual Confetti apps that is....just remembered there were other apps using this same backend :) )
from confetti.
Yes Session
used to have only the room
attribute which probably forced @martinbonnin to provide a default value. But Session
's room
has since been deprecated and replaced by rooms:[Room]
which is more flexible and can be empty.
from confetti.
Btw many thanks for sharing Confetti's backend ! We're very grateful to you guys for the help provided to the DevFest Nantes!
from confetti.
So that's an interesting question... At the moment, I believe breaks indicate all the rooms they apply to:
{
"id": "day-1-pause-1",
"startInstant": "2022-10-20T07:40:00Z",
"endInstant": "2022-10-20T08:00:00Z",
"title": "Break",
"language": "fr-FR",
"tags": [],
"rooms": [
{
"id": "Belem"
},
{
"id": "Hangar"
},
{
"id": "Jules Verne"
},
{
"id": "L'Atelier"
},
{
"id": "Les Machines"
},
{
"id": "Titan"
},
{
"id": "Tour de Bretagne"
}
],
This is because not all sessions are the same duration and longer workshop do not have the same breaks as regular sessions. Having this information allows a 2D-matrix UI (like on web) to only display the breaks where they actually happen. Now I agree that when using a 1D-linear UI (like on mobile), it doesn't really make sense. So not sure what the best fix is. I would like going forward to support 2D UI moving forward. The more I'm thinking about this, the more I believe we either:
- need different "views" fields for the same underlying data
- or do this on the client (but that'd duplicate some logic)
- not support 2D UI for the Devfest Nantes and remove all rooms
My preferred solution would be 1. but I'm not super keen on changing this 2weeks from the event (+ taking into consideration Google Play review times, etc...) so I'll remove the rooms from the backend for this specific event. For other events, I'll work on adding new "views" for more use cases 🚀
PS: I'm always amazed how difficult the problem of displaying an agenda is 😅 . That could be a talk in itself lol.
from confetti.
Rooms are removed
from confetti.
Related Issues (20)
- Provide means to delete user
- [Improvement] Assist Injection in SessionsViewModel & SpeakersViewModel HOT 2
- Allow to copy/paste text from the app
- Random crash on Mac OS HOT 2
- Compose Design System
- [Android Auto] Add support for POI's (via Places template) HOT 1
- Add support for Android Automotive
- Theme toggle HOT 3
- Add Wear audio player HOT 3
- Issues handling breaks
- Android TV/Fire TV support HOT 7
- Bookmark things HOT 1
- Enabled K2 Compiler
- Add dynamic/universal links
- Touch up SessionDetails UI HOT 1
- Bookmarks Notification
- Consider adding the Hacktoberfest topic/label
- Add .ics/Google Calendar
- Show Basic Venue information HOT 1
- Add Floor plan pinch/zoom etc to iOS and Android clients
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confetti.