5
11
Fork
You've already forked tomato
1

Add ability to copy event details #42

Merged
edwardloveall merged 1 commit from el-copy-shift-details into main 2025年10月29日 15:53:54 +01:00

A main role for volunteer coordinators is to ask volunteers to cover
shifts. Part of this recruitment is sending the information about the
shift. It saves the coordinator time if the volunteer can sign up for
the shift themselves, without having to do it for them. Additionally,
coordinators might remind a volunteer to enter the log data for a
shift. In Rootable, there are a few barriers to sharing shifts between
admins and volunteers. The first barrier is that a single shift list
text can not be copied/pasted. The second is that the url for a shift
is different between the volunteer and coordinator screens.

This adds a button that lets an admin copy details (name, time,
volunteer url) for that shift to the clipboard. They can then send
these details to volunteers.

This covers both plaintext and html formats. The plaintext is just the
day/time with a link to the volunteer page for that shift at that time.
The html has the name of the event which is a link to the same URL.

I made this from a web component. I've made a couple before and they
fit in well with the html/css/plain js that I'm aiming for.

A main role for volunteer coordinators is to ask volunteers to cover shifts. Part of this recruitment is sending the information about the shift. It saves the coordinator time if the volunteer can sign up for the shift themselves, without having to do it for them. Additionally, coordinators might remind a volunteer to enter the log data for a shift. In Rootable, there are a few barriers to sharing shifts between admins and volunteers. The first barrier is that a single shift list text can not be copied/pasted. The second is that the url for a shift is different between the volunteer and coordinator screens. This adds a button that lets an admin copy details (name, time, volunteer url) for that shift to the clipboard. They can then send these details to volunteers. This covers both plaintext and html formats. The plaintext is just the day/time with a link to the volunteer page for that shift at that time. The html has the name of the event which is a link to the same URL. I made this from a web component. I've made a couple before and they fit in well with the html/css/plain js that I'm aiming for. <video src="/attachments/2fbd1902-cca6-4112-b3df-412b8f8b49c8" title="Waterfox" controls></video>
edwardloveall force-pushed el-copy-shift-details from bd7f9e6aec
Some checks failed
Setup Successful
Jest Successful
Static Analysis Successful
RSpec Failed
to 1621c36cae
Some checks failed
Setup Successful
Jest Successful
Static Analysis Successful
RSpec Failed
2025年10月28日 21:46:08 +01:00
Compare
thetizzo left a comment
Copy link

Looks good!

Looks good!
Author
Owner
Copy link

Tests were passing for a while (maybe just out of luck?) but they continue to flake and I continue to verify that they are only flaky and not failing.

Tests were passing for a while (maybe just out of luck?) but they continue to flake and I continue to verify that they are only flaky and not failing.
edwardloveall deleted branch el-copy-shift-details 2025年10月29日 15:53:54 +01:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!42
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-copy-shift-details"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?