5
11
Fork
You've already forked tomato
1

Copy user contact from shift page #104

Merged
edwardloveall merged 2 commits from el-copy-user-details into main 2026年03月02日 15:28:47 +01:00

Volunteer coordinators are constantly in contact with involved parties. Say the
coordinator needs to communicate with community contacts and volunteers because
of a change in a shift. It was time consuming to navigate away from the shift,
find the volunteer, copy the appropriate volunteer info, start contacting the
volunteer, only to navigate back to the shift to get the details that need to be
communicated. It's a lot of actions to perform and information to hold in your
head at once.

Now, admins can copy a volunteer's email or phone number (if one exists) from
the shift page directly.

I also moved the existing svgs to partials. I like erb partials over a static
svg files or inline in css because they can be styled, and have custom
accessible titles.

I think the downside is that partials in rails can sometimes be slow to render,
but I think we're not adding a million of them on any page (right now), and that
rendering is getting faster thanks to tools like
herb.

This also introduced two new phone and email SVGs.

Volunteer coordinators are constantly in contact with involved parties. Say the coordinator needs to communicate with community contacts and volunteers because of a change in a shift. It was time consuming to navigate away from the shift, find the volunteer, copy the appropriate volunteer info, start contacting the volunteer, only to navigate back to the shift to get the details that need to be communicated. It's a lot of actions to perform and information to hold in your head at once. Now, admins can copy a volunteer's email or phone number (if one exists) from the shift page directly. I also moved the existing svgs to partials. I like erb partials over a static svg files or inline in css because they can be styled, and have custom accessible titles. I think the downside is that partials in rails can sometimes be slow to render, but I think we're not adding a million of them on any page (right now), and that rendering is getting faster thanks to tools like herb. This also introduced two new phone and email SVGs.
We have an upcoming feature that needs copying, and event details was too
specific. The element is already setup for it, but the element and class naems
didn't reflect that. Now they do!
Copy user details
Some checks failed
Setup Successful
RSpec Failed
Jest Successful
Static Analysis Successful
ci/woodpecker/pr/ci Pipeline was successful
a59eb4d617
Volunteer coordinators are constantly in contact with involved parties. Say the
coordinator needs to communicate with community contacts and volunteers because
of a change in a shift. It was time consuming to navigate away from the shift,
find the volunteer, copy the appropriate volunteer info, start contacting the
volunteer, only to navigate back to the shift to get the details that need to be
communicated. It's a lot of actions to perform and information to hold in your
head at once.
Now, admins can copy a volunteer's email or phone number (if one exists) from
the shift page directly.
I also moved the existing svgs to partials. I like erb partials over a static
svg files or inline in css because they can be styled, and have custom
accessible titles.
I think the downside is that partials in rails can sometimes be slow to render,
but I think we're not adding a million of them on any page (right now), and that
rendering is getting faster thanks to tools like
[herb](https://www.herb-lang.dev/).
This also introduced two new phone and email SVGs.
Author
Owner
Copy link

Ignore the rspec failure. I removed a critical piece when I switched to codeberg's woodpecker CI so it will always fail. the rspec step passed on woodpecker.

Ignore the rspec failure. I removed a critical piece when I switched to codeberg's woodpecker CI so it will always fail. the [rspec step passed](https://ci.codeberg.org/repos/16376/pipeline/48/7) on woodpecker.
edwardloveall force-pushed el-copy-user-details from a59eb4d617
Some checks failed
Setup Successful
RSpec Failed
Jest Successful
Static Analysis Successful
ci/woodpecker/pr/ci Pipeline was successful
to 31b712d0e0
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年02月26日 15:58:21 +01:00
Compare
edwardloveall force-pushed el-copy-user-details from 31b712d0e0
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to cf75e9b9b1
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
2026年02月26日 17:30:46 +01:00
Compare
thetizzo left a comment
Copy link

I like making the copy functionality more generic so it can be used in more places easily.

I like making the copy functionality more generic so it can be used in more places easily.
edwardloveall deleted branch el-copy-user-details 2026年03月02日 15:28:49 +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!104
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-copy-user-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?