LearnNewsExamplesServices
Frontmatter
id8590
titleRefactor Portal Blog Models and Stores to resolve ambiguity
stateClosed
labels
airefactoring
assigneestobiu
createdAtJan 13, 2026, 11:30 AM
updatedAtJan 13, 2026, 11:47 AM
githubUrlhttps://github.com/neomjs/neo/issues/8590
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 13, 2026, 11:47 AM

Refactor Portal Blog Models and Stores to resolve ambiguity

Closed v11.21.0 airefactoring
tobiu
tobiu commented on Jan 13, 2026, 11:30 AM

Rename Portal models and stores to distinguish between internal Neo blog posts and external Medium posts.

  • apps/portal/model/Blog.mjs -> apps/portal/model/BlogNeo.mjs
  • apps/portal/store/Blog.mjs -> apps/portal/store/BlogNeo.mjs
  • apps/portal/model/BlogPost.mjs -> apps/portal/model/BlogMedium.mjs
  • apps/portal/store/BlogPosts.mjs -> apps/portal/store/BlogMedium.mjs

Update all references in:

  • apps/portal/view/news/blog
  • apps/portal/view/news/medium
  • apps/portal (general search)
tobiu added the ai label on Jan 13, 2026, 11:30 AM
tobiu added the refactoring label on Jan 13, 2026, 11:30 AM
tobiu referenced in commit 6e92e66 - "refactor: Rename Portal models and stores to resolve ambiguity (#8590) on Jan 13, 2026, 11:46 AM
tobiu assigned to @tobiu on Jan 13, 2026, 11:47 AM
tobiu
tobiu Jan 13, 2026, 11:47 AM

Input from Gemini 3 Pro:

✦ Refactoring complete.

  • Renamed Blog.mjs to BlogNeo.mjs (Model and Store)
  • Renamed BlogPost.mjs to BlogMedium.mjs (Model)
  • Renamed BlogPosts.mjs to BlogMedium.mjs (Store)
  • Updated references in apps/portal/view/news/blog and apps/portal/view/news/medium.
  • Resolved name collisions in store files by aliasing model imports (NeoBlogModel, MediumBlogModel).
tobiu closed this issue on Jan 13, 2026, 11:47 AM