DARIAEngineering / dcaf_case_management

Rails-based case management system for abortion funds
MIT License
87 stars 245 forks source link

UI cleanup work on Config index page #1559

Open colinxfleming opened 5 years ago

colinxfleming commented 5 years ago

Config improvements via an excellent flag by @lomky in https://github.com/DCAFEngineering/dcaf_case_management/pull/1503#pullrequestreview-185419523 --

As I was poking around in the GUI, I found myself wanting some visual clarity in the Current Options list for hard coded base options vs custom options. There's also some weirdness in the languages display. Ultimately I think those are nice-to-have and probably things to put to a general 'cleanup the configs page' issue. Thoughts?

this is an excellent flag and we should do it!

colinxfleming commented 5 years ago

marking future features since there isn't an obvious Next Step to this / there's a little hashing out to do yet

colinxfleming commented 3 years ago

@emtot22 is taking a design look at this; @colinxfleming owes notes about how configs work with written examples on sandbox

colinxfleming commented 3 years ago

How configs work:

The /configs page is a series of global configurations a fund's case management team director can apply. These generally fall into three categories:

There are a few other one-off things but generally things fall into these buckets.

Team Directors look at these relatively rarely and edit them even less. Still, it's important to have this be a relatively safe, validated page, because bad configuration values can potentially break parts of DARIA.

Things I don't like about this page:

emtot22 commented 3 years ago

Awesome, thanks @colinxfleming! This is helpful. I'll dig into it this week and let you know if I have any questions

emtot22 commented 3 years ago

Hey @colinxfleming, I took a stab at the Configs page. You can see the new design here: https://www.figma.com/proto/xqY0RFbj86P4dLXiFO0CHw/DCAF?page-id=0%3A1&node-id=1%3A5&viewport=241%2C48%2C0.3&scaling=scale-down-width&starting-point-node-id=1%3A5 The prototype is interactive so you can see how I envision some of the elements working. Hit "R" on your keyboard to go to the "home" screen at any time and hit "z" multiple times to resize.

A couple of notes:

Let me know what you think! We can chat about this tomorrow during the Virtual Project night too. Looking forward to it!

emtot22 commented 3 years ago

@elimbaum

colinxfleming commented 3 years ago

oh man this is SICK. Outstanding work @emtot22 ! This goes way beyond what I was hoping for and is really thoughtful, and I think does a great job of making this much less of a blorb of options and text and forms.

I will say that the frontend implementation of the dropdown options potentially has a high level of complexity - I think a second opinion on the programming lift there might be good for me, as I'm not much of a frontend-er. But I think we can also push that to the end, since there are so many good ideas in this design.

A few points of feedback:

And the stuff I really love:

If this sounds good to you, I'll probably break this up into sub-tickets, since I think it's 3-4 components and some of them can be independent of each other. Let me know and thanks much again!

colinxfleming commented 3 years ago

I got a good night of sleep! So if I were gonna break this out into pieces, in rough order of priority, I think I'd do this:

@emtot22 does that seem right to you? If so, I'll write up some tickets for it and start distributing them.

emtot22 commented 3 years ago

Hey @colinxfleming - glad to hear you like it! To respond to some of your comments...

Your ticket breakdown sounds good to me! Let me know if I can help with any of that or if anyone needs me to walk them through the Figma file. I'll be out of town the rest of this week but back next week. And - if there are any other tickets you need help on, feel free to send them my way :) This was a lot of fun to work on.

colinxfleming commented 3 years ago

@emtot22 yeah, let's hide the ability to reorder for now.

@DarthHater I'm tagging you in! The designs we're going off are here: https://www.figma.com/file/xqY0RFbj86P4dLXiFO0CHw/DCAF---Configs-Page?node-id=48%3A2629

Specifically, please rack the following:

That should be a good initial chunk and we'll go from there.

image

Nubbify commented 1 year ago

Hi hi, I'm gonna take a stab at implementing these designs