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

[DRAFT] PM-16631 - CoachMark tour of adding log in item. #4548

Closed
wants to merge 2 commits into from

Conversation

dseverns-livefront
Copy link
Collaborator

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

🎟️ Tracking

PM-16631

📔 Objective

  • To build a reusable piece of code that can be used for the various coach mark "tours" for first time users.
  • To apply this to the required UI in the VaultAddEditContent content.

📸 Screenshots

What works nicely:
Static content:
progress.webm

⏰ 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

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Detailsea9defa6-538f-4849-9a1b-8447236da1fb

No New Or Fixed Issues Found

) {
private val mutex = Mutex()
private val highlights: MutableMap<T, CoachMarkHighlightState<T>?> = mutableMapOf()
private val _currentHighlight = mutableStateOf(initialCoachMarkHighlight)
Copy link
Collaborator

Choose a reason for hiding this comment

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

The underscores is not really a pattern in the app, can we call this mutableCurrentHighlight. Same for all the others

toolTipState: TooltipState,
shape: CoachMarkHighlightShape = CoachMarkHighlightShape.SQUARE,
) {
mutex.withLock {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we got rid of this mutex?

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