-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace log_date with created_date & modified_date in advanced search #15693
Conversation
(Standard links)
|
9830a98
to
23b36aa
Compare
This is almost the last step in getting rid of an awful lot of technical debt & hard to maintain code around jcalendar & datepicker. It does change the UI a bit - the code to create the current UI is pretty tough going and from seeing users try to work with it I don't think all that code is making it more usable. OTOH we can remove a maintainability blockerr by switching over
23b36aa
to
80b5c9f
Compare
@eileenmcnaughton i agree that at least as it pertains to the filtering on who did it the form is not clear at all, however looking at https://github.com/civicrm/civicrm-core/pull/15693/files#diff-e54381bfdf51e31cab376c71ca0d66ffR3978 i think we want to in our upgrade process default to switching to filtering on the created date field as that is the default practice currently |
@eileenmcnaughton i have just pushed a 2nd commit to reflect that in my PR #15702 |
@seamuslee001 cool - that makes sense re the upgrade script. What the form actually says is 'Modified in this date range AND modified by person x ' 'Created in this date range AND modified by person x' I don't think person x is linked into the date range in any way by the query That is both before and after this change - but I think that the UI implies different - more so before this change but also after |
@seamuslee001 what about moving modifed+by to be between the other 2 fields - or to the right - that might be an easy way to be less misleading |
@eileenmcnaughton do you think we need to fix the issue where if you set one of the 2 new fields to choose date range both sets of choose date range fields show? |
@seamuslee001 oh dang - I thought that was fixed now :-( I don't know what's causing it |
is it broken markup? |
it feels like javascripty so maybe yeh that might be the case |
@eileenmcnaughton the issue is that this line in |
@seamuslee001 I also don't think they have to be on the same row TBH |
@eileenmcnaughton if we move them out of the same row then it will be fine tbh |
@seamuslee001 wanna do that then? |
…o each other and add some description onto the modified by field
Fix up display of date fields to ensure that they don't cause issue t…
@seamuslee001 I merged your change - are we there on this one now? |
@eileenmcnaughton yes i believe so from my POV |
@seamuslee001 ok - let's MOP this & also your convert script - if not done |
@seamuslee001 perhaps we should follow up by swapping the order of modified date & created date - possibly even putting 'modified date' on the same line as 'modified by' |
@eileenmcnaughton perhaps but will that invoke more confusion on the search form? |
@seamuslee001 so the modified by is tied a bit to modified date but not at all to created date - so grouping it closer to modified date makes sense IMHO |
Overview
This is almost the last step in getting rid of an awful lot of technical debt & hard to maintain code around jcalendar & datepicker.
It does change the UI a bit - the code to create the current UI is pretty tough going and from seeing users try to work with it I don't think all that code is making it more usable. OTOH we can remove a maintainability blocker by switching over
Before
After
Technical Details
@seamuslee001 I'm keen for you to take a look & see what you think
Comments
Conversion not included as yet