rubyforgood / casa

Volunteer management system for nonprofit CASA, which serves foster youth in counties across America.
https://casavolunteertracking.org/
MIT License
302 stars 471 forks source link

Add anchor links to Edit Org page for faster navigation and nest them in sidebar #5887

Closed elasticspoon closed 1 month ago

elasticspoon commented 2 months ago

What type(s) of user does this feature affect?

Description

If you look at the page to make changes to an organization (/casa_org/:id/edit) it is suuuuuper long.

Image

If you want to make changes to something at the very end it is a lot of scrolling, even worse if you make a change then have to scroll all the way back down.

We had the idea of breaking the page up into smaller pages BUT after discussion we think that we can achieve a similar effect with much less work by simply making the headers of each section anchors.

For example:

On the page https://github.com/rubyforgood/casa/wiki/Components

Form validation components can be linked to directly via https://github.com/rubyforgood/casa/wiki/Components#form-validation-components

Criteria for Completion

Lets break this page up into reasonable sections and nest them in a menu.

Image

How to access the QA site

Login Details:
Link to QA site

Login Emails:

password for all users: 12345678

Questions? Join Slack!

We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.

MclPio commented 2 months ago

Hello, can I address this after some clarification in slack? I already sent my question.

elasticspoon commented 2 months ago

@MclPio to answer your questions

What I understood from the issue: Take out 'Edit Organization' from the collapsible 'Group Actions' and make it its own item in the sidebar that is now also collapsible with links to requested pages as per issue description.

Correct. Edit Organization could potentially be a link to the base page and then nest links to anchor tags (you should try both ways and see how the UX makes more sense)

Change most of the partials to actual pages in the app/views/casa_org folder.

No longer applies

I will need to also edit the routes and make nested URLs for the edit pages; not sure how to approach this right now. What I am thinking is have each page with links like this: http://localhost:3000/casa_org/1/edit/contact_types

No longer applies. The links will be in the form /casa_org/1/edit#contact_types

What about the link in the profile drop-down?

No longer applies (I think?) I would keep as is.

MclPio commented 2 months ago

will begin working on it tomorrow. Thanks for clarification!

github-actions[bot] commented 1 month ago

This issue has been inactive for 240 hours (10.00 days) and will be unassigned after 120 more hours (5.00 days). If you have questions, please

If you are still working on this, comment here to tell the bot to give you more time

MclPio commented 1 month ago

Work In Progress