Skip to content

chore: embed audit log in deployment settings page #14023

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 6 commits into from
Jul 26, 2024
Merged

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Jul 26, 2024

The first thing is moving the audit log from /audit to /deployment/audit when multi-org is enabled. Although we have a redirect in place for the old URL, I changed the deployment dropdown link to go directly to the new spot (I also tweak the users link while I was there to do the same).

The second thing is making the per-org auditing links go to the main audit log with a pre-filled organization. Note this conflicts with the description in #13958 but fulfills #13913. I think we will probably want to revisit and decide what exactly we want to do here. I have many thoughts. :D

The third thing is to make the filters wrap immediately when on the settings page because the text input is too small otherwise. For comparison:

unwrapped

wrapped

And fourth, the information is now in a tooltip while under multi-org. This is to compensate for the sidebar and for the extra organization information.

tooltips

There should be no changes without multi-org enabled (except the flex-grow making the filter menus expand when on smaller screens).

Part 1 of #13958
Part 3 of and closes #13913

The existing link remains but will redirect to the new URL.
Otherwise the input is teeny tiny and barely fits a few characters.
@code-asher code-asher changed the title chore: move audit log to deployment settings with multi-org chore: embed audit log in deployment settings page Jul 26, 2024
@code-asher code-asher requested review from a team and bcpeinhardt and removed request for a team July 26, 2024 00:39
@code-asher
Copy link
Member Author

code-asher commented Jul 26, 2024

@bcpeinhardt it auto-assigned you when I selected the ts group but no pressure (unless you want to review); I am going to reassign to someone on 🍌

@code-asher code-asher requested review from aslilac and removed request for bcpeinhardt July 26, 2024 00:41
Only for multi-org; single-org setups remain unaffected.
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

Finishing #13958 should be pretty easy (only needs some changes in Sidebar.tsx)

I'd also like to tweak the styles a little before closing that ticket, but this is a great step forward. 😄

Comment on lines +5 to +7
export function withFilter(path: string, filter: string) {
return path + (filter ? `?filter=${encodeURIComponent(filter)}` : "");
}
Copy link
Member

Choose a reason for hiding this comment

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

:chefskiss:

@code-asher code-asher merged commit 712662d into main Jul 26, 2024
30 checks passed
@code-asher code-asher deleted the asher/move-audit branch July 26, 2024 22:12
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add auditing to the organization page
2 participants