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

Stage Release #2924

Merged
merged 25 commits into from
Aug 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e69736b
Enhancment/Grant app permissions to new system roles (#2863)
agalin920 Jul 22, 2024
7398833
[Content] Do not show edit template for datasets (#2870)
finnar-bin Jul 23, 2024
8d30954
Schema rules limit file type for media field (#2867)
agalin920 Jul 23, 2024
4d91e56
[Content] Do not show the model as a breadcrumb item when in multipag…
finnar-bin Jul 23, 2024
dc88b71
Fix/table sort by display date field by accounting for empty date val…
agalin920 Jul 23, 2024
b9acd99
Reference createdAt timestamp outside of history object (#2868)
agalin920 Jul 24, 2024
1727581
[Schema | Content] Currency field revamp (#2873)
finnar-bin Jul 25, 2024
bae5cea
[Schema] Currency field vqa updates (#2883)
finnar-bin Jul 26, 2024
8c0f3ac
vqa fixes media schema rules (#2890)
agalin920 Jul 29, 2024
88613eb
[Content] Show image placeholder in publish modal dialog (#2888)
finnar-bin Jul 30, 2024
f3271c2
Hide publish based on permissions on code app (#2887)
agalin920 Jul 30, 2024
361736c
[Content] Do not store pinned columns to local storage (#2892)
finnar-bin Jul 30, 2024
b88aa66
[Content] Multipage table advanced sorting (#2884)
finnar-bin Jul 31, 2024
d49cc5f
[Content] Filter button icon update & show api endpoints on hover (#2…
finnar-bin Jul 31, 2024
379c957
[Content] Only show publish actions when dropdown selection has chang…
finnar-bin Jul 31, 2024
21fc276
[Media] File replacement (#2849)
finnar-bin Aug 1, 2024
2362709
media rules vqa (#2904)
agalin920 Aug 1, 2024
4b76474
[Content] Remove replace file option for non-zesty media files (#2905)
finnar-bin Aug 1, 2024
13cf24f
[Content] Show that table is sorted in Last Saved desc when no other …
finnar-bin Aug 6, 2024
adf7fff
[Content | Schema] Do not show site-generators api options for datase…
finnar-bin Aug 13, 2024
bf53d0f
Fix/Prevent safari focus issue when manipulating cursor position on i…
agalin920 Aug 14, 2024
247ac75
Check granular role permissions for specific resources (#2899)
agalin920 Aug 14, 2024
b977c64
[Content] Enable duo mode when x-frame-options is set to either null …
finnar-bin Aug 26, 2024
ebf62ab
[Content] Resolve relational field zuids with the actual field values…
finnar-bin Aug 27, 2024
fa740c1
[Content] SEO tab revamp Phase 1 (#2927)
finnar-bin Aug 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Content] Only show publish actions when dropdown selection has chang…
finnar-bin authored Jul 31, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 379c957b078d43f6fd99b2bc876aea78635103ab
Original file line number Diff line number Diff line change
@@ -10,7 +10,14 @@ export const DropDownCell = ({ params }: { params: GridRenderCellParams }) => {
const field = params.row.fieldData[params.field];
const handleChange = (value: any) => {
setAnchorEl(null);
updateStagedChanges(params.row.id, params.field, value);

if (value !== currVal) {
updateStagedChanges(
params.row.id,
params.field,
value === "Select" ? null : value
);
}
};

const currVal =
@@ -60,7 +67,7 @@ export const DropDownCell = ({ params }: { params: GridRenderCellParams }) => {
<MenuItem
dense
onClick={() => {
handleChange(null);
handleChange("Select");
}}
sx={{
textWrap: "wrap",