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

Feature: Media title bar #2241

Merged
merged 67 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
6137360
Common breadcrumbs
agalin920 Aug 16, 2023
a6bea65
content layout rework
agalin920 Aug 16, 2023
aa61c16
Full item edit header swap
agalin920 Aug 21, 2023
69f3f48
Version and language selector
agalin920 Aug 21, 2023
64cf529
move files
agalin920 Aug 21, 2023
c0900a2
re-org and permissions
agalin920 Aug 21, 2023
ac51b83
duo mode toggle
agalin920 Aug 21, 2023
f7340a5
disabled fix
agalin920 Aug 21, 2023
80a798f
Add duplicate item dialog
agalin920 Aug 21, 2023
4f1c909
duplicate content item
agalin920 Aug 21, 2023
4cc5582
Add preview button and urls
agalin920 Aug 22, 2023
eb4f378
Hide Schedule unpublish
agalin920 Aug 22, 2023
60a1359
Resolve vqa changes
agalin920 Aug 23, 2023
d4e0585
vqa changes
agalin920 Aug 24, 2023
ed2dcb8
min width update
agalin920 Aug 24, 2023
71285e9
tabs regression on other apps and update pages of other content tabs
agalin920 Aug 24, 2023
9dba452
remove comments
agalin920 Aug 24, 2023
3f7e7e8
merge master
agalin920 Aug 24, 2023
c7ef351
icon colors on schema tabs
agalin920 Aug 24, 2023
6c5e49d
typing fix
agalin920 Aug 24, 2023
6d3f3e3
task: update spacing
finnar-bin Aug 24, 2023
11b5b9e
task: package version
finnar-bin Aug 24, 2023
2a9002d
task: spacing and color updates
finnar-bin Aug 24, 2023
ce4f149
Center analytics metrics and update padding
agalin920 Aug 24, 2023
33d118b
task: updated insights page
finnar-bin Aug 24, 2023
078bee5
task: update header layout
finnar-bin Aug 25, 2023
33757f1
task: center align separator
finnar-bin Aug 25, 2023
5282674
task: title vertical clamp
finnar-bin Aug 25, 2023
b961492
task: show breadcrumbs in folder view
finnar-bin Aug 25, 2023
33b8f54
task: create media breadcrumbs component
finnar-bin Aug 25, 2023
e251ad6
cypress updates
agalin920 Aug 25, 2023
e8350bd
remove local package
agalin920 Aug 25, 2023
f4ef780
task: folder bg color and media list spacing
finnar-bin Aug 25, 2023
1e286bc
task: changed font variant
finnar-bin Aug 25, 2023
bfbc05f
Merge branch 'feature/content-title-bar' of github.com:zesty-io/manag…
finnar-bin Aug 29, 2023
fb5f337
fix: remove duplicate buttons
finnar-bin Aug 29, 2023
25d297e
task: cypress tests
finnar-bin Aug 29, 2023
ccaa35f
Responsive content title bar
agalin920 Aug 29, 2023
0cbecce
task: moved to theme
finnar-bin Aug 30, 2023
e5c47ff
task: remove local package
finnar-bin Aug 30, 2023
16b468a
task: filter button update
finnar-bin Aug 30, 2023
3694479
task: spacing update
finnar-bin Aug 30, 2023
a849ba7
task: select item header spacing
finnar-bin Aug 30, 2023
3df2309
only wrap below 900
agalin920 Aug 30, 2023
a850a79
task: replace upload files image
finnar-bin Aug 30, 2023
07dace7
task: change maxwidth and fontweight
finnar-bin Aug 30, 2023
965d680
task: preview model file name font weight
finnar-bin Aug 30, 2023
f5ec390
task: only show term when searching
finnar-bin Aug 30, 2023
634af9a
Merge branch 'feature/content-title-bar' of github.com:zesty-io/manag…
finnar-bin Aug 30, 2023
3507f5d
task: breadcrumb alignment
finnar-bin Aug 30, 2023
9079e0a
task: use filter button component
finnar-bin Aug 31, 2023
f4fcc9a
task: grammar correction
finnar-bin Aug 31, 2023
55647e5
task: remove checkbox background color
finnar-bin Aug 31, 2023
45b26aa
task: change check icon
finnar-bin Aug 31, 2023
b84d876
task: add breadcrumb tooltip
finnar-bin Aug 31, 2023
31ecae9
task: update app error screen
finnar-bin Aug 31, 2023
99ae31d
task: change to named export
finnar-bin Aug 31, 2023
e702f5f
Merge branch 'master' into feature/content-title-bar
shrunyan Aug 31, 2023
46e8627
Merge branch 'feature/content-title-bar' of github.com:zesty-io/manag…
finnar-bin Aug 31, 2023
c50ea5d
task: table font update
finnar-bin Aug 31, 2023
2753fb8
test fixes
agalin920 Sep 5, 2023
fb9029e
Bump dependency
agalin920 Sep 5, 2023
3443460
Merge branch 'feature/content-title-bar' of github.com:zesty-io/manag…
finnar-bin Sep 6, 2023
91315a5
Merge branch 'master' into feature/media-title-bar
shrunyan Sep 6, 2023
aad237c
Merge branch 'master' into feature/media-title-bar
shrunyan Sep 6, 2023
d960311
fix: updated cypress tests
finnar-bin Sep 7, 2023
96a9694
task: update cypress test
finnar-bin Sep 7, 2023
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
18 changes: 10 additions & 8 deletions cypress/e2e/content/actions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ describe("Actions in content editor", () => {
it.skip("Schedules a Publish for an item", () => {
// TODO: remove reload when UI state is consistent
cy.reload();
cy.get("#PublishScheduleButton").click();
cy.getBySelector("PublishMenuButton").click();
cy.getBySelector("PublishScheduleButton").click();
// select date and time
cy.get(".form-control").first().click();
cy.get(".flatpickr-calendar.open .flatpickr-next-month").click();
Expand All @@ -102,10 +103,12 @@ describe("Actions in content editor", () => {
cy.visit("/content/6-556370-8sh47g/7-82a5c7ffb0-07vj1c");
});

cy.get("#PublishScheduleButton").click();
cy.get(
".ModalAligner--ptdt- .MuiOutlinedInput-root .MuiInputAdornment-root .MuiButtonBase-root"
).click();
cy.getBySelector("PublishMenuButton").click();
cy.getBySelector("PublishScheduleButton").click();
// cy.get(
// ".ModalAligner--ptdt- .MuiOutlinedInput-root .MuiInputAdornment-root .MuiButtonBase-root"
// ).click();
cy.getBySelector("SchedulePublishDate").find("button").click();

cy.get(
'.MuiCalendarPicker-root .MuiPickersArrowSwitcher-root button[aria-label="Previous month"]'
Expand All @@ -116,8 +119,8 @@ describe("Actions in content editor", () => {
});

it.skip("Unschedules a Publish for an item", () => {
cy.get("#PublishScheduleButton").click();
cy.get("[data-cy=UnschedulePublishButton]").click();
cy.getBySelector("PublishMenuButton").click();
cy.getBySelector("PublishScheduleButton").click();
cy.get("#SchedulePublishClose").click();
});

Expand All @@ -134,7 +137,6 @@ describe("Actions in content editor", () => {

it("Saved item becomes publishable", () => {
cy.get("#PublishButton").should("exist");
cy.get("#PublishButton").should("contain", "1");
});

it("Displays a new item in the list", () => {
Expand Down
19 changes: 9 additions & 10 deletions cypress/e2e/content/content.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,15 @@ describe("Content Specs", () => {
});

it("Check Duo Mode Collapsed functionality", () => {
cy.get("main header button span").then((el) => {
// el[1] === ON(desktop icon)
const classList = Array.from(el[1].classList);
if (classList.includes("Selected--3_F85")) {
console.log("Selected");
cy.get("[data-cy=DuoModeContainer] iframe").should("be.visible");
} else {
console.log("Not Selected");
}
});
cy.getBySelector("DuoModeToggle")
.invoke("hasClass", "Mui-checked")
.then((hasClass) => {
if (hasClass) {
cy.get("[data-cy=DuoModeContainer] iframe").should("be.visible");
} else {
cy.log("Not Selected");
}
});
});
});

Expand Down
6 changes: 6 additions & 0 deletions cypress/e2e/media/folders.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ describe("Media Folders", () => {
.contains("CYPRESS TEST NEW FOLDER")
.should("exist");
});
it("Navigates folders via breadcrumbs", () => {
cy.get(".MuiTreeView-root").contains("CYPRESS TEST NEW FOLDER").click();

cy.getBySelector("breadcrumbs").find(".MuiBreadcrumbs-li").first().click();
cy.location("pathname").should("eq", "/media/folder/1-6c9618c-r26pt");
});
it("Renames folder", () => {
cy.get(".MuiTreeView-root").contains("CYPRESS TEST NEW FOLDER").click();

Expand Down
Loading