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

Update dictionary will update alias if alias is the same as previous title #1568

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

khaitruong922
Copy link

Additional change to #1553.

Since we are preserving the alias when updating dictionaries, for dictionaries which have new title for every new version, the alias does not match the title after updated. For example:

Screenshot 2024-11-05 at 11 52 33

Therefore, we want to update the alias if it is the same as the title (not yet set by the user), and preserve the alias otherwise.

@khaitruong922 khaitruong922 requested a review from a team as a code owner November 5, 2024 05:05
@khaitruong922 khaitruong922 force-pushed the update-dictionary-alias branch from f471b23 to b2f5440 Compare November 5, 2024 07:28
@jamesmaa jamesmaa added this pull request to the merge queue Nov 5, 2024
Merged via the queue into yomidevs:master with commit dc174a9 Nov 5, 2024
11 checks passed
@Kuuuube Kuuuube added kind/enhancement The issue or PR is a new feature or request area/ui-ux The issue or PR is related to UI/UX/Design labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux The issue or PR is related to UI/UX/Design kind/enhancement The issue or PR is a new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants