Skip to content

Moves :legacy:ui:account to core:ui:account #9067

Merged
kewisch merged 2 commits into
thunderbird:mainfrom
shamim-emon:fix-issue-9066
Apr 24, 2025
Merged

Moves :legacy:ui:account to core:ui:account #9067
kewisch merged 2 commits into
thunderbird:mainfrom
shamim-emon:fix-issue-9066

Conversation

@shamim-emon

Copy link
Copy Markdown
Collaborator

@kewisch

kewisch commented Apr 15, 2025

Copy link
Copy Markdown
Member

@shamim-emon for my own sake, can you explain a bit more on this one? I recall that our account model is very complex and we want to reduce dependencies, so every time I hear account I am a bit wary.

Did Wolf share any guidelines on moving these modules to core?

@shamim-emon

Copy link
Copy Markdown
Collaborator Author

@shamim-emon for my own sake, can you explain a bit more on this one? I recall that our account model is very complex and we want to reduce dependencies, so every time I hear account I am a bit wary.

Did Wolf share any guidelines on moving these modules to core?

@kewisch I haven't had a discussion particularly on :legacy:account but the idea is to move stuff from legacy module to core/feature module and some cases app-common module. That's the general guideline from discussion with @wmontwe .

@kewisch kewisch self-assigned this Apr 23, 2025
@kewisch

kewisch commented Apr 23, 2025

Copy link
Copy Markdown
Member

Are there any steps we need to take care of when moving things over or simply move code over? Such as renaming/refactoring some of the code contained, removing depdendencies into legacy, etc? How would I know if app-common or core/feature?

@shamim-emon

Copy link
Copy Markdown
Collaborator Author

Are there any steps we need to take care of when moving things over or simply move code over? Such as renaming/refactoring some of the code contained, removing depdendencies into legacy, etc? How would I know if app-common or core/feature?

@kewisch yes, there are steps, such as:

  1. You may need to create new sub-module if existing sub-modules are not specific enough to contain your changes.
  2. We may need to dependencies both in legacy & destination module.

And it varies based on what you're moving.

Regarding figuring out if changes are to be moved in app-common or core or feature is based on observation. While working on previous legacy refactoring tasks, some cases I discussed with @wmontwe and other cases I was able to figure-out, based on my code-base investigation. In-case you find anything that seems like a wrong move(eg: whether to move in core or in feature ), please let me know.

@kewisch kewisch merged commit 8308d33 into thunderbird:main Apr 24, 2025
@thunderbird-botmobile thunderbird-botmobile Bot added this to the Thunderbird 11 milestone Apr 24, 2025
@shamim-emon shamim-emon deleted the fix-issue-9066 branch April 24, 2025 22:05
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.

Moves :legacy:ui:account to core:ui:account

2 participants