Skip to content

Conversation

@andersonjeccel
Copy link
Contributor

Q A
Bug fix? (use the a.b branch) 🔴
New feature/enhancement? (use the a.x branch) 🟢
Deprecations? 🔴
BC breaks? (use the c.x branch) 🔴
Automated tests included? 🔴
Related user documentation PR URL mautic/user-documentation#...
Related developer documentation PR URL mautic/developer-documentation-new#...
Issue(s) addressed Fixes #...

Description

This PR adds 2 new dashboard templates:

  • Forms and Assets
  • Landing pages

using related widgets in each.
The first aims to show submissions, related downloaded assets and identified contacts.
The second aims to show page visits, all contacts created (including anonymous) and a bit of assets.


📋 Steps to test this PR:

  1. Open this PR on Gitpod or pull down for testing locally (see docs on testing PRs here)
  2. Open the Dashboard, click on the page actions then Select pre-defined dashboard.
  3. Check the list and test the 2 new ones.

@andersonjeccel andersonjeccel requested review from a team, Esthertests and Mike-Dropsolid July 26, 2024 12:54
@andersonjeccel andersonjeccel self-assigned this Jul 26, 2024
@andersonjeccel andersonjeccel added T1 Low difficulty to fix (issue) or test (PR) ready-to-test PR's that are ready to test code-review-needed PR's that require a code review before merging enhancement Any improvement to an existing feature or functionality dashboard Anything related to the Dashboard labels Jul 26, 2024
@andersonjeccel andersonjeccel added this to the 5.2 milestone Jul 26, 2024
@codecov
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.99%. Comparing base (18f6738) to head (483dac9).
Report is 5 commits behind head on 5.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##                5.x   #14013   +/-   ##
=========================================
  Coverage     62.99%   62.99%           
  Complexity    34433    34433           
=========================================
  Files          2266     2266           
  Lines        103019   103019           
=========================================
  Hits          64893    64893           
  Misses        38126    38126           

Copy link
Contributor

@LeonOltmanns LeonOltmanns left a comment

Choose a reason for hiding this comment

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

@andersonjeccel I just tested and found two things:

  1. Saving one of the newly added Templates doesnt actually change the dashboard. The page reloads but the old widgets stay and no new widget is being added.

image

I would change the names to include spacing instead of "_" and also add "Example" to the titles.

@andersonjeccel
Copy link
Contributor Author

@oltmanns-leuchtfeuer Good catch, thanks for testing!

@andersonjeccel andersonjeccel added pending-test-confirmation PR's that require one test before they can be merged and removed ready-to-test PR's that are ready to test labels Aug 14, 2024
@andersonjeccel
Copy link
Contributor Author

Warning

All Tier 1 PRs need only 1 code review and 1 user testing before able to merge. I'll update accordingly.

@LordRembo LordRembo requested a review from LeonOltmanns August 23, 2024 09:21
Copy link
Contributor

@LordRembo LordRembo left a comment

Choose a reason for hiding this comment

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

The code looks fine, it's just valid json.

@andersonjeccel andersonjeccel added code-review-passed PRs which have passed code review and removed code-review-needed PR's that require a code review before merging labels Aug 23, 2024
@andersonjeccel andersonjeccel reopened this Oct 7, 2024
@MojisolaaaO MojisolaaaO added the hacktoberfest Issues that would be great for Hacktoberfest participants to work on label Oct 7, 2024
Copy link

@Adedayo-Olaoluwa Adedayo-Olaoluwa left a comment

Choose a reason for hiding this comment

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

@andersonjeccel test failed. Kindly review the feedback below.

  1. Forms and Assets work as expected, with 14 widgets on display on the dashboard when previewed and saved, showing contact info.
  2. Landing pages test failed, with 18 widgets on display when previewed and saved, showing page insights. It was found that the "Downloads in time" widget was duplicated (appeared twice as the 1st widget and 7th widget from top to bottom) which accounts for the 18 widgets displayed as opposed 17 widgets expected.

Check the attached images below for more clarity.

Landing Page Dashboard Snapshot
Landing Page Dashboard View
Pre defined dashboard template view

@andersonjeccel
Copy link
Contributor Author

Hi @Adedayo-Olaoluwa

First of all, thanks for reviewing!

Some of the widgets had the same name, but their configuration was a bit different (for example, showing only new contacts that have email instead of contacts that we have IP address)

To improve that specific template, I removed some of the widgets and reordered to maybe become easier to understand
There will be 11 in total now

I'll appreciate if you could review again :)

Have a nice day!

Copy link

@Adedayo-Olaoluwa Adedayo-Olaoluwa left a comment

Choose a reason for hiding this comment

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

Great work! @andersonjeccel
I've tested the revised implementation and test passed. Here's a quick summary below;

  • Forms and Assets displayed 14 widgets, previewed and saved successfully.
  • Landing pages displayed 11 widgets, previewed and saved successfully.
  • Latest data refresh info, Edit, and Remove are functional on the dashboard.

Thank you for your contribution. Cheers!

@MojisolaaaO MojisolaaaO added user-testing-passed PRs which have been successfully tested by the required number of people. and removed pending-test-confirmation PR's that require one test before they can be merged labels Oct 9, 2024
@andersonjeccel andersonjeccel added the ready-to-commit PR's with 2 successful tests, 1 approval, automated tests and docs and is ready to be merged label Oct 9, 2024
@escopecz escopecz merged commit c3fb244 into mautic:5.x Oct 10, 2024
@andersonjeccel andersonjeccel deleted the ux-new-dashboard-templates branch October 10, 2024 16:59
@andersonjeccel andersonjeccel restored the ux-new-dashboard-templates branch October 10, 2024 16:59
@andersonjeccel andersonjeccel deleted the ux-new-dashboard-templates branch October 10, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-review-passed PRs which have passed code review dashboard Anything related to the Dashboard enhancement Any improvement to an existing feature or functionality hacktoberfest Issues that would be great for Hacktoberfest participants to work on ready-to-commit PR's with 2 successful tests, 1 approval, automated tests and docs and is ready to be merged T1 Low difficulty to fix (issue) or test (PR) user-testing-passed PRs which have been successfully tested by the required number of people.

Projects

Archived in project
Archived in project
Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants