Skip to content

Add audit log extra to table and improve UX #50100

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

Merged
merged 3 commits into from
May 4, 2025

Conversation

bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented May 1, 2025

We were missing the extra field on the Audit Log, which is fairly critical. Now we will try to see if it is valid json, if so, render it as such, with the option to expand/collapse the json field.

Screenshot 2025-05-01 at 3 54 53 PM

Also, added a title to the page to reinforce that these are Audit Log Events.
Rearrange the columns to put any dag/run/task info at the end, because for many events they are blank.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@bbovenzi bbovenzi added this to the Airflow 3.0.1 milestone May 1, 2025
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label May 1, 2025
@aritra24
Copy link
Collaborator

aritra24 commented May 2, 2025

nit: Should the copy button be there for the json? Seems a bit out of place?

@bbovenzi
Copy link
Contributor Author

bbovenzi commented May 2, 2025

nit: Should the copy button be there for the json? Seems a bit out of place?

I thought about hiding it when the json is collapsed. wdyt?

@aritra24
Copy link
Collaborator

aritra24 commented May 2, 2025

Yeah, I think that would look nicer.

@jscheffl
Copy link
Contributor

jscheffl commented May 2, 2025

nit: Should the copy button be there for the json? Seems a bit out of place?

I thought about hiding it when the json is collapsed. wdyt?

+1 - good to hide it when collapsed. Less clutter on the screen and you do not see what you copy anyway. Other than this... LGTM!

@bbovenzi
Copy link
Contributor Author

bbovenzi commented May 4, 2025

Merging and will update the json rendered input component in another PR

@bbovenzi bbovenzi merged commit b7b0daf into apache:main May 4, 2025
42 checks passed
@bbovenzi bbovenzi deleted the add-audit-log-extra-to-table branch May 4, 2025 11:43
mvfc pushed a commit to mvfc/airflow that referenced this pull request May 6, 2025
* Add Audit Log events extra

* Rearrange audit log columns for readability

* Add expand/collapse all button for extra json
kaxil pushed a commit that referenced this pull request May 6, 2025
* Add Audit Log events extra

* Rearrange audit log columns for readability

* Add expand/collapse all button for extra json

(cherry picked from commit b7b0daf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants