Enhancement: Add local_git as framework #377

Open
opened 2026-10-05 02:43:57 +02:00 by adam · 0 comments
Owner

Is your feature request related to a problem? Please describe.
The ´Front Matter` extension suits markdown files in plain git as well, but it has to many settings and views that confuses non-CMS users.

Describe the solution you'd like
Add a framework that hides all features not needed when only working with git called local_git

When local_git is used hide the following:
FRONT MATTER generic view

  • GLOBAL SETTINGS: Local preview
  • GLOBAL SETTINGS: Local server command

FRONT MATTER file view

  • GLOBAL SETTINGS: Local preview
  • GLOBAL SETTINGS: Local server command
  • SEO STATUS: *
  • ACTIONS: Optimize slug

FrontMatter Dashboard
Se other request about git status. In the mean time

  • Contents: Published
  • Contents: In draft
  • Contents: STATUS

When local_git is used disable the following:
Accounts

  • Sign in requested
    This option only supports GitHub accounts anyway

Function
Front Matter: New article from template

  • Slug conversion
  • File name prefix

When local_git is used change the following:

  • Relabel Front Matter: New article from template to Front Matter: New content from template
    This could be a generic change as well.

Describe alternatives you've considered
The Contents tab could be reworked to display content of all available local git branches and the current git status of all files (requires a lot of work)

Additional context
Add any other context or screenshots about the feature request here.

**Is your feature request related to a problem? Please describe.** The ´Front Matter` extension suits markdown files in plain git as well, but it has to many settings and views that confuses non-CMS users. **Describe the solution you'd like** Add a framework that hides all features not needed when only working with git called `local_git` When `local_git` is used hide the following: FRONT MATTER generic view - GLOBAL SETTINGS: Local preview - GLOBAL SETTINGS: Local server command FRONT MATTER file view - GLOBAL SETTINGS: Local preview - GLOBAL SETTINGS: Local server command - SEO STATUS: * - ACTIONS: Optimize slug FrontMatter Dashboard Se other request about git status. In the mean time - Contents: Published - Contents: In draft - Contents: STATUS When `local_git` is used disable the following: Accounts - Sign in requested This option only supports GitHub accounts anyway Function Front Matter: New article from template - Slug conversion - File name prefix When `local_git` is used change the following: - Relabel `Front Matter: New article from template` to `Front Matter: New content from template` This could be a generic change as well. **Describe alternatives you've considered** The `Contents` tab could be reworked to display content of all available local git branches and the current git status of all files (requires a lot of work) **Additional context** Add any other context or screenshots about the feature request here. <!-- github-sync-id:1470104680 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#377