Skip to content
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

Improve Manager Log by adding a filter for class key and item #13005

Merged
merged 5 commits into from Jan 27, 2017
Merged

Improve Manager Log by adding a filter for class key and item #13005

merged 5 commits into from Jan 27, 2017

Conversation

matdave
Copy link
Contributor

@matdave matdave commented May 5, 2016

What does it do?

Adds an option to search by Class Key or Item ID to the manager logs
image

Why is it needed?

It's incredibly hard to quickly see the history of who updated a specific element

Related issue(s)/PR(s)

Issue #13004

Working to close feature request #13004
adding the search fields to the core processor
Updating core process for feature request #13004
There wasn't a clear choice available for "Item" in the lexicon, so I originally chose "Event ID" as closest match. It seemed confusing, so I dropped it down to just ID
@sottwell
Copy link
Contributor

sottwell commented May 5, 2016

Looks good to me. +1

@pixelchutes
Copy link
Contributor

👍 Nice work! This is awesome.

@OptimusCrime
Copy link
Contributor

👍

1 similar comment
@amdbuilder
Copy link

👍

@Jako Jako added area-core proposal Proposal about improvement aka RFC. Need to be discussed before start implementation. priority-2-high labels May 9, 2016
@Jako Jako added this to the v2.6.0 milestone May 9, 2016
@Mark-H
Copy link
Collaborator

Mark-H commented May 11, 2016

Hey folks, there's a new feature on GitHub where you can 👍 on the first message (or any other message). If you don't mind, using that instead of posting separate messages for each will help keep things less cluttered, especially when there's a feature or fix that needs more discussion or back-and-forth before it is merged ;) Thanks!

If you've actually tested a pull request and verified it to be working as expected, that's a great reason to leave a comment saying that rather than just the thumbs up on the first message though. Stuff like that helps integrators to figure out if a pull request is ready to be merged or not.

@@ -69,6 +71,8 @@ public function getData() {
/* check filters */
$wa = array();
if (!empty($actionType)) { $wa['action:LIKE'] = '%'.$actionType.'%'; }
if (!empty($classKey)) { $wa['classKey:LIKE'] = '%'.$classKey.'%'; }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have to be a LIKE? Are there situations where the class key isn't exactly what was chosen?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe to search snippet instead of modSnippet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What Jako said, also just keeping with the same search standards of the other fields

@Mark-H Mark-H changed the title Closing feature request #13004 Improved Manager Log Improve Manager Log by adding a filter for class key and item May 24, 2016
@OptimusCrime
Copy link
Contributor

Any reason not to merge this? Should the LIKE be rewritten as equals instead? All in favor of merging this into the next minor release.

@matdave
Copy link
Contributor Author

matdave commented Jul 21, 2016

The reason i really prefer LIKE for both class key and action is if you want to check all "save" actions across the board or just shorthand Chunk in search

@OptimusCrime
Copy link
Contributor

I'm in favor of this too

@matdave
Copy link
Contributor Author

matdave commented Jan 24, 2017

bump

@theboxer theboxer self-assigned this Jan 27, 2017
@theboxer theboxer merged commit 6894f67 into modxcms:2.x Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants