Skip to content

PM-16621 add explore generator card to be able to trigger coach marks#4607

Closed
dseverns-livefront wants to merge 3 commits intomainfrom
PM-16621-explore-generator-card
Closed

PM-16621 add explore generator card to be able to trigger coach marks#4607
dseverns-livefront wants to merge 3 commits intomainfrom
PM-16621-explore-generator-card

Conversation

@dseverns-livefront
Copy link
Copy Markdown
Collaborator

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

🎟️ Tracking

PM-16621

📔 Objective

  • Show the action card when necessary
  • Once card has been interacted with store that value and don't show the card anymore.

📸 Screenshots

pm16621.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
Copy Markdown
Contributor

github-actions Bot commented Jan 21, 2025

Logo
Checkmarx One – Scan Summary & Details0866e8c2-e47c-4cd0-9922-1a7b234d217a

Great job, no security vulnerabilities found in this Pull Request

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.40%. Comparing base (2787edb) to head (e2f5f94).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4607      +/-   ##
==========================================
+ Coverage   88.38%   88.40%   +0.01%     
==========================================
  Files         604      604              
  Lines       40832    40894      +62     
  Branches     5727     5735       +8     
==========================================
+ Hits        36090    36152      +62     
  Misses       2751     2751              
  Partials     1991     1991              

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

@dseverns-livefront dseverns-livefront force-pushed the PM-16621-explore-generator-card branch from 0a1b249 to e2f5f94 Compare January 22, 2025 16:41
)
}

override fun getHasSeenGeneratorCoachMark(): Boolean? =
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This could be a val

.getHasSeenGeneratorCoachMarkFlow()
.map { it ?: false }
.combine(
featureFlagManager.getFeatureFlagFlow(FlagKey.OnboardingFlow),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice

/**
* Gets the Boolean value of if the Generator CoachMark tour has been interacted with.
*/
fun getHasSeenGeneratorCoachMark(): Boolean?
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🎨 Since we are using this logic on other screens, should we make an enum for the screen and have one function in the disk source that accepts the enum type instead of making funs for each individual screen?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

might save some time for other screens if they get added but also I can see both sides so its just an idea vs a change request kinda thing. Go birds

@david-livefront david-livefront deleted the PM-16621-explore-generator-card branch April 7, 2025 14:42
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.

3 participants