Skip to content

PM-16630 Add action card to start add login coachmarks#4596

Closed
dseverns-livefront wants to merge 2 commits intomainfrom
PM-16630-new-login-coachmark-card
Closed

PM-16630 Add action card to start add login coachmarks#4596
dseverns-livefront wants to merge 2 commits intomainfrom
PM-16630-new-login-coachmark-card

Conversation

@dseverns-livefront
Copy link
Collaborator

@dseverns-livefront dseverns-livefront commented Jan 20, 2025

🎟️ Tracking

PM-16630

📔 Objective

  • If the user has not seen the tour in the current install/storage instance, the "Onboarding flow" feature flag is on, they are in "add item" mode, and adding a "LoginType" item: we show the action card.
  • The card is dismissed when the user interacts with it.

📸 Screenshots

pm16630.mp4

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2025

Logo
Checkmarx One – Scan Summary & Detailsa6dd2b53-13b8-4316-9ba1-84510616a093

Great job, no security vulnerabilities found in this Pull Request

@codecov
Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.38%. Comparing base (d573ce6) to head (45062df).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4596      +/-   ##
==========================================
+ Coverage   88.35%   88.38%   +0.02%     
==========================================
  Files         603      603              
  Lines       40746    40815      +69     
  Branches     5738     5746       +8     
==========================================
+ Hits        36003    36074      +71     
  Misses       2742     2742              
+ Partials     2001     1999       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dseverns-livefront dseverns-livefront force-pushed the PM-16630-new-login-coachmark-card branch from a326c0e to 49bf973 Compare January 21, 2025 17:45
@dseverns-livefront
Copy link
Collaborator Author

pm16630.mp4

actionText = stringResource(R.string.get_started),
onActionClick = loginItemTypeHandlers.onStartLoginCoachMarkTour,
onDismissClick = loginItemTypeHandlers.onDismissLearnAboutLoginsCard,
modifier = Modifier.standardHorizontalMargin(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wanna add the fillMaxWidth modifier too

firstTimeActionManager
.hasSeenAddLoginCoachMarkFlow
.combine(
featureFlagManager.getFeatureFlagFlow(key = FlagKey.OnboardingFlow),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could this feature flag logic be done in the firstTimeActionManager?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

* The value for the hasSeenAddLoginCoachMark has changed.
*/
data class HasSeenAddLoginCoachMarkValueChangeReceive(
val newValue: Boolean,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of newValue could we be hasSeenCoachMark or something along those lines

@dseverns-livefront dseverns-livefront force-pushed the PM-16630-new-login-coachmark-card branch from bd56862 to 45062df Compare January 23, 2025 19:02
@dseverns-livefront dseverns-livefront deleted the PM-16630-new-login-coachmark-card branch February 7, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants