Comments (4)
![Screenshot 2024-03-09 at 14 14 31](https://private-user-images.githubusercontent.com/2546622/311439915-afcaa00e-df1c-4b11-9576-4bb31f6256fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyOTc5NDIsIm5iZiI6MTcyMTI5NzY0MiwicGF0aCI6Ii8yNTQ2NjIyLzMxMTQzOTkxNS1hZmNhYTAwZS1kZjFjLTRiMTEtOTU3Ni00YmIzMWY2MjU2ZmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMTAxNDAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmQ1ZDU5NDI3OGJmYjE0YjgxNGY5ZjlmNjUzM2RkMTk0NzVkMmZkZGVkZGNiNWNjZTcxYzE1MTdiNTQ5NzcxOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Ff8gbDj63ZHwNbZqdsmfoAAHhoLZC7nMw5dbsJP0E8k)
Maybe as inspiration: This is the layout we used for our last Christmas party.
from ephios.
Export as it is currently:
We have two different layouts. One for events with only one shift:
And one for events with multiple shifts:
While they are quite ugly, I don't think that they will become what you posted. This is mainly due to the fact that the export is only for one event at a time, while your view is more like the grid view optimised for printing.
We already have a similar case: a client of ours has events with uniform shifts every weekend. We also built a custom PDF export for them, which layouts the whole year on a single page. This is realised by using the bulk action on the event list and implementing a custom action in a plugin. This way, you can select all the events you want to include in your export. Have a look here: https://github.com/ephios-dev/ephios-signup-beachguard/blob/main/ephios_signup_beachguard/views.py#L49
I would limit this issue to the event-specific export. @lukasrad02 and @dasGoogle also had opinions on that IIRC
from ephios.
Would have been smart if I had taken notes when we had this discussion... 😅 But this is what I remember:
- Shift participants should be sorted in some predictable way (i.e. by role type, then name) as the sign-up order is not really useful for anything.
- Regarding the Layout, the default should be A4 paper since A5 is rather untypical and does not really fit that much info
- A shift participant table should be on the same page as the shift information. I.e., rather leave some whitespace and start the whole shift on a new page
- If the table does not fit on a single page, make that obvious, since currently, it is easy to overlook a single line that overflowed to the next page
- Page number and total pages
- Some meta-information, especially when the PDF was generated would be nice. Maybe there is some more info that might be useful in a page header or so
- A checkbox in each participant line to tick whether the person arrived or not
- If one wanted to make thes PDFs a little more pretty (and I don't know how painful this is using your library)
- Replace the Table borders with a striped background
- Add a logo in the top left
- Print the names in the table bold to emphasize them more
- Totally crazy and probably unnecessary: A QR code to get to the corresponding shift, but I don't really see a use case
If I understand @felixrindt correctly, he wants to also add special features for different shift signup types. I also see why this would be pretty useful since there is some info missing in the export. For example, I resorted to printing out screenshots instead of the PDF export as the feature where users can request a certain position was very chaotic in the PDF and I would have wanted a view more similar to the web page. While working on this, one could also replace the "Can select own starting and end time" field with the actual times that people chose in the table and move the meeting point time to the header for Multi-Export to save quite a lot of space on the page.
from ephios.
Regarding @BenBals Use-Case: I think that a basic CSV export of all shifts in a certain range would do the job perfectly as he could then use the data in his Excel PivotTable (is that what this comes from?) directly. In modern excel, he could even integrate this as a dynamic data source iirc, so that one can update it with a single click.
IIRC, you also wanted to implement an API route for searching for shift participations. Maybe, this would be a feature to integrate there by just offering a CSV download format via an additional GET parameter.
from ephios.
Related Issues (20)
- Guest registration doesn't work HOT 7
- Remove django_dynamic_preferences
- Filter working hours by type
- Remove push subscription if delivery fails
- NotificationType missing
- Unsupported characters lead to errors HOT 5
- Internal participation comment for planners
- Event Title is not Clickable HOT 1
- Share event
- sortable.js for positions and subblocks in the complex editor
- Shift State Rendering Followups
- Filter events by "help wanted"
- Mobile view for calendar day
- Make Participation API Consistent and Use Fewer Calls HOT 4
- API: `/api/users/by_email` returns 404 error for email addresses with dots before the @ HOT 1
- Participation API Permissions Might be Wrong
- Copying events with overnight shifts creates broken copies HOT 1
- Also show responsible groups in the "visible for" list HOT 1
- Allow creating groups without members
- Allow changing password of local users if local login is disabled
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 ephios.