ENG-519 Make human-readable labels for node ids - #1271
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
b761a64 to
4956cbc
Compare
4956cbc to
974bfa0
Compare
974bfa0 to
24a2c92
Compare
24a2c92 to
bb47db8
Compare
1e10a90 to
422ca86
Compare
422ca86 to
e599ea4
Compare
PR size/scope checkThis PR is over our review-size guideline.
Please split this into smaller PRs unless there is a clear reason the changes need to land together. If keeping it as one PR, please add a brief justification covering:
|
e599ea4 to
fd3f363
Compare
|
@codex review |
|
@trangdoan982 would you mind reviewing this? |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 08e80f82b6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
registerNodeTypeIdPropertyWidget previously overwrote any pre-existing widget assignment for nodeTypeId without saving it, and unload always called unsetType, silently discarding the user's prior property-type configuration. Capture the previous assignment before setType and restore it on unload instead. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
| const nodeType = getNodeTypeById(plugin, nodeTypeId); | ||
|
|
||
| const el = containerEl.createSpan({ | ||
| cls: "dg-node-type-id-value", |
| @@ -0,0 +1,102 @@ | |||
| import type { | |||
There was a problem hiding this comment.
nit: fileName in components should be CamelCase
|
@maparent can you hold off on merging to main? i'm experiencing some bugs with the |
https://linear.app/discourse-graphs/issue/ENG-519/make-human-readable-labels-for-node-ids
https://www.loom.com/share/e8b03f27c6a947fbaea0ebf416a0981b
Since the loom, I extracted the MetadataTypeManager from obsidian-types. I also unified other unofficial aspects in the obsidianUnofficialTypes.ts, and refactored a few files to use that instead of ad-hoc.