Cartographer User and Technical Documentation
Home
User Docs
Technical Docs
Home
User Docs
Technical Docs
  • User Documentation
    • Introduction
    • Cartographer App
    • User Interface
    • Actions
  • Technical Documentation
    • Components

      • AppFooter Component
      • AppHeader Component
      • AppSidebar Component
      • ContentPreviewMdiv Component
      • Content Preview Measure
      • Content Preview Pane
      • ImageSelection Modal
      • LoadGitModal Component
      • LoadIIIFModal Component
      • LoadXMLModal Component
      • MainMenu Component
      • MeasureModal Component
      • MdivModal Component
      • OsdComponent Component
      • PageImportModal Component
      • PagesListEntry Component
      • PagesModal Component
    • Store
      • Vuex Store (src/store/index.js)
    • Tools
      • IIIF Tools (src/tools/iiif.js)
      • MEI Mapping Tools (src/tools/meimapping.js)

LoadGitModal Component

Displays a modal dialog for importing a Git repository path.


Overview

The LoadGitModal component:

  • Shows a modal dialog for the user to input a Git repository path.
  • Allows the user to trigger import actions or cancel the dialog.
  • Uses Vuex store for state management and actions.
  • (Some directory/branch selection UI is commented out for future use.)

Layout

  • Header: Modal title and close button.
  • Body: Input field for the Git repository path.
  • Footer: Cancel and Import buttons.

Props

None


Data

NameTypeDescription
selectedDirectoryStringSelected directory (future use)
inputValueStringInput value (future use)

Computed Properties

NameDescription
getRepositorysReturns available Git repositories from the store
getRepositoryReturns the selected Git repository from the store
gerBranchesReturns available Git branches from the store

Methods

NameDescription
useTestUriSets the input field to a test URI (not used)
mainTriggers import action with the given path
closeModalCloses the modal dialog

Example

<LoadGitModal />
Prev
ImageSelection Modal
Next
LoadIIIFModal Component