Skip to content

[Multiple-Profile]feat:profile name validation#20698

Open
criticalAY wants to merge 2 commits intoankidroid:mainfrom
criticalAY:mp/profile-name-validation
Open

[Multiple-Profile]feat:profile name validation#20698
criticalAY wants to merge 2 commits intoankidroid:mainfrom
criticalAY:mp/profile-name-validation

Conversation

@criticalAY
Copy link
Copy Markdown
Contributor

Purpose / Description

Profile Name validation

Fixes

Approach

NA

How Has This Been Tested?

Unit test

Learning (optional, can help others)

NA

Checklist

Please, go through these checks before submitting the PR.

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

@criticalAY criticalAY force-pushed the mp/profile-name-validation branch from 401a9ac to a909e35 Compare April 9, 2026 06:06
@criticalAY criticalAY changed the title Mp/profile name validation [Multiple-Profile]feat:profile name validation Apr 9, 2026
@criticalAY criticalAY added the Blocked by dependency Currently blocked by some other dependent / related change label Apr 9, 2026
profileRegistry.saveProfile(newProfileId, metadata)

Timber.i("Created new profile: $displayName (${newProfileId.value})")
Timber.i("Created new profile: ${displayName.value} (${newProfileId.value})")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Prefer .toString on the class

Copy link
Copy Markdown
Member

@david-allison david-allison left a comment

Choose a reason for hiding this comment

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

Looks great!

ValidationResult is a good abstraction only if you plan to expose these results, I think it's the right call here

@david-allison david-allison added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked by dependency Currently blocked by some other dependent / related change Needs Second Approval Has one approval, one more approval to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants