Skip to content
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

Feature request: Fixed lanes? #334

Open
jagthedrummer opened this issue Jan 4, 2024 · 4 comments
Open

Feature request: Fixed lanes? #334

jagthedrummer opened this issue Jan 4, 2024 · 4 comments
Labels
type: feature enhancements or new features

Comments

@jagthedrummer
Copy link

jagthedrummer commented Jan 4, 2024

Describe the feature you'd like

I'm wondering if there's an easy way to achieve "fixed lanes" for overlapping event display. My use case is that I'm showing a schedule for a music festival where there are multiple stages operating simultaneously on the same day. I'd like for all the events for Stage A to be in the first column, all the events for Stage B to be in the next column, etc...

Visual demo

Here's a rough mock up of what I have in mind.

CleanShot 2024-01-04 at 14 23 28

The stage headers would be nice to have, but primarily I'm interested in finding a way to keep all of the events for a single stage in the same lane within a day.

(optional) Is your feature request related to a specific problem?

Yes, this is related to large multi-track events like a festival or a conference.

(optional) Additional context

Looking for suggestions for other things to consider.

@jagthedrummer
Copy link
Author

Just to add a little more context, here's a specific example of the problem I'm trying to resolve.

CleanShot 2024-01-04 at 14 36 10

I'm looking for a way to keep the blue Stage A event all in the first column, and the red Stage B events all in the second column, regardless of how their start times may compare.

@jagthedrummer
Copy link
Author

I think I'm looking for some way to do a laneKey that would be analogous to the stackKey mentioned here: https://hoangnm.github.io/react-native-week-view/guides/overlap#example-using-stack-keys

@pdpino pdpino added the type: feature enhancements or new features label Jan 5, 2024
@pdpino
Copy link
Collaborator

pdpino commented Jan 5, 2024

Hi @jagthedrummer

Thanks for the feature request, looks interesting!

At first look I think is feasible, something like laneKey as you say.

Regarding the stage headers, do you want them just below the day? For example "stage A" and "stage B" below "Feb 20"? You can modify the day header with the prop DayHeaderComponent.

I've been super busy lately but I'm trying to find time for this project :)

@jagthedrummer
Copy link
Author

@pdpino ideally yeah, the stage headers would be below the day. But even if there weren't any sort of lane header, just being able to get things to sort into the right lane would be huge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

2 participants