AJamesPhillips / DataCurator

DataCurator enables you to map and understand complex systems before helping you plan, communicate and navigate successful interventions in them.
https://DataCurator.org
8 stars 1 forks source link

UI polish #144

Closed AJamesPhillips closed 3 years ago

AJamesPhillips commented 3 years ago

https://user-images.githubusercontent.com/526509/132747614-aee14ced-a367-4f86-921e-e61436e48df0.mov

pegnott commented 3 years ago

If you put a datetime into the datetime edit box and then click the copy/paste button it doesn’t seem to show anything. Is this intentional?

Yes.

pegnott commented 3 years ago

For the WComponent's the invariant date should be set to the created_at date (and this should not be editable).

This is part of the source of my confusion about invariant date. why are non-editable values being put within a ui for editing values?

pegnott commented 3 years ago

Hide minutes when set to Hours time resolution

I am checking to see if this is possible via various means. if it is not, is showing this value as 00 a reasonable solution? if not, a datetime input isn't going to work.

pegnott commented 3 years ago

Hide minutes when set to Hours time resolution

I am checking to see if this is possible via various means. if it is not, is showing this value as 00 a reasonable solution? if not, a datetime input isn't going to work.

Note: I can def hide hours and minutes by way of using a date vs datetime element, not a problem. i am checking on my ability to either change the display format or otherwise meet the desire to hide minutes when time res is set to hour, and checking if showing 00 values there is a reasonable alternative if we can't.

pegnott commented 3 years ago

When in presentation mode, do not show the placeholder text for an empty datetime input field: the datetime input field does not honor placeholder values. i am looking into ways to get around this, however I don't think it should be done addressed within the datetime component.

AJamesPhillips commented 3 years ago

https://github.com/centerofci/data-curator2/issues/144#issuecomment-916907077

Ok thanks. Can we add value it is current set to (using logic of: value || invariant_value) so that a user can select and copy and then paste into another datetime field. When clicking into the field it should also selected all the text in the text box like this:

https://user-images.githubusercontent.com/526509/132867498-04445261-53bd-4575-899d-e3e607bebb44.mov

AJamesPhillips commented 3 years ago

I'm happy we've found a solution to these.