Skip to content

Implement getSettingDefinitions for declarative settings API - #27

Merged
nilsandrey merged 2 commits into
mainfrom
bug/26-getSettingDefinitions
Aug 16, 2026
Merged

Implement getSettingDefinitions for declarative settings API#27
nilsandrey merged 2 commits into
mainfrom
bug/26-getSettingDefinitions

Conversation

@nilsandrey

@nilsandrey nilsandrey commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Description

Implement getSettingDefinitions() on the settings tab so the plugin's settings appear in Obsidian's global settings search on Obsidian 1.13.0 and later.

Related Issues

Type of Change

  • Major - Breaking change (requires a new major version bump)
  • Minor - New feature, backward-compatible (requires a new minor version bump)
  • Patch - Bug fix or internal improvement, backward-compatible (requires a new patch version bump)

Checklist

  • I have read CONTRIBUTING.md
  • The build passes locally (npm run build)
  • All tests pass locally (npm test)
  • New or modified transforms have unit tests
  • The README.md Features table is updated (if a new command was added)
  • CHANGELOG.md entry is not required here - the pipeline generates it automatically
  • I have tested the change manually inside Obsidian

Screenshots / Recordings

Add getSettingDefinitions() to TextToolsSettingTab so settings are
searchable in Obsidian's global settings search on 1.13.0+. Keep
display() as a fallback for Obsidian < 1.13.0 since minAppVersion is
1.11.0. Update the lockfile to obsidian 1.13.1 for the new API types.

Closes #26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a13c99caa

ℹ️ 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".

Comment thread src/settings-tab.ts
@nilsandrey
nilsandrey force-pushed the bug/26-getSettingDefinitions branch from 2a13c99 to 5e38579 Compare August 16, 2026 00:35
@nilsandrey nilsandrey self-assigned this Aug 16, 2026
@nilsandrey nilsandrey added the enhancement New feature or request label Aug 16, 2026
@nilsandrey
nilsandrey merged commit e2f564a into main Aug 16, 2026
@nilsandrey
nilsandrey deleted the bug/26-getSettingDefinitions branch August 16, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] PluginSettingTab does not implement getSettingDefinitions

1 participant