Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on May 22, 2024. It is now read-only.
/terra-clinicalPublic archive

Terra Clinical is a repository for terra react components used only in a clinical setting.

License

NotificationsYou must be signed in to change notification settings

cerner/terra-clinical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terra Logo

Terra Clinical

Cerner OSSLicenseBuild StatusdevDependencies statuslerna

Packages

Status

StableBetaDeprecated

Terra PackageVersionStatusDependencies
terra-clinical-data-gridNPM versionStableterra-clinical-data-grid
terra-clinical-detail-viewNPM versionStableterra-clinical-detail-view
terra-clinical-headerNPM versionStableterra-clinical-header
terra-clinical-item-displayNPM versionStableterra-clinical-item-display
terra-clinical-item-viewNPM versionStableterra-clinical-item-view
terra-clinical-label-value-viewNPM versionStableterra-clinical-label-value-view
terra-clinical-onset-pickerNPM versionStableterra-clinical-onset-picker

Deprecated

Terra PackageVersionStatus
terra-clinical-action-headerNPM versionDeprecated
terra-clinical-app-delegateNPM versionDeprecated
terra-clinical-error-viewNPM versionDeprecated
terra-clinical-item-collectionNPM versionStable
terra-clinical-modal-managerNPM versionDeprecated
terra-clinical-no-data-viewNPM versionDeprecated
terra-clinical-siteNPM versionDeprecated
terra-clinical-slide-groupNPM versionDeprecated

Internationalization (I18n)

Please reviewTerra's Internationalization documentation for more information. Included are directions on consumption and how internationalization is setup.

Contributing

Please read through ourcontributing guidelines. Included are directions for issue reporting and pull requests.

Local Development

  1. Install dockerhttps://www.docker.com/ to run browser tests.
  2. Install dependencies and run tests.
npm installnpm runtest

Local Development using Docker (Dev Containers)

  1. InstallRancher orDocker.
    • Rancher is free and open-source and is highly recommended whereas Docker may require a license for use.
  2. InstallMicrosoft VS Code.
  3. Install theDev Container extension.
    • Navigate to View -> Extension -> Search for and installDev Containers (or "ms-vscode-remote.remote-containers")
    • More information onDev Containers
  4. Build the dev container:
    • (Option 1) - Opening local workspace in dev container
      • Clone the repository (or fork) locally and open the project in Visual Studio Code
      • Navigate to View -> Command Palette and runDev Containers: Open Workspace in Container
    • (Option 2) - Recommended for Windows for hot-reloading to work during development and improved performance: Creating the dev container using dev volumes (for more information and guidance, see theOfficial Guide)
      • If you have git setup and have global config file~/.gitconfig locally, these settings should automatically be transferred to the dev container
      • Navigate to View -> Command Palette and runDev Containers: Clone Repository in Container Volume
      • Paste the GitHub URL of this repository (or fork)
      • VS Code will now reload the workspace and create/start the dev container and volume
      • Please note: changes made using this option will only update files in the Docker volume. It is recommended to commit changes often in case the volume is deleted or dev container gets removed.
  5. You're now running in a dev container. Use the terminal of the dev container in Visual Studio Code to issue any npm or bash commands.
  6. Before running any WDIO tests, make sure to perform the following steps:
    • Open a new terminal (outside the dev container) and navigate to ".devcontainer/" path in your repository.
    • Execute the command"docker compose -f docker-compose-wdio.yml up". Selenium hub should spin up. Leave this running in the background. If you see errors saying "container name already exists", run"docker container prune" command followed by pressing "y" to clear up any unused containers and try running the previous command again.
    • You can now runnpm run test:docker ornpm run wdio:docker commands to run WDIO tests from inside the Dev Container.
    • NOTE: Optionally, if you want to run other WDIO commands in the dev container, you can also edit the root package.json file WDIO scripts to include--disableSeleniumService=true flag. This will disable the selenium service from spinning up again.For example:
      "scripts": {"wdio-lowlight":"terra wdio --disableSeleniumService=true --themes clinical-lowlight-theme" }
    • If any of the compose files were to be changed, you must refresh the docker container by deleting the corresponding existing docker images, then running the following command:
        docker compose -f<changed compose file name>.yml up
  7. To terminate a dev container:
    • Use command line or Rancher/Docker Desktop OR
    • Using Visual Studio Code
      • Select the Remote Explorer icon in the Activity Bar or View -> Command Palette and runRemote Explorer: Focus on Containers View
      • Locate theterra-clinical_devcontainer or currently running dev container under "Dev Containers"
      • Right click and selectStop Container and close the workspace
        • You can also selectRebuild Container to restart the dev container
  8. To reopen a dev container:
    • Existing local workspace (for Option 1)
      • Open the project in Visual Studio Code
      • Ensure the workspace contains the .devcontainer folder
      • Navigate to View -> Command Palette and runDev Containers: Open Workspace in Container
    • Isolated dev container volume (for Option 2)
      • Open Visual Studio Code
      • Use the Remote Explorer icon in the Activity Bar or View -> Command Palette and runRemote Explorer: Focus on Containers View to view containers
      • Locate theterra-clinical_devcontainer under "Dev Containers"
      • Hover over the dev container and click the Folder icon labelledOpen Folder in Container or by right clicking and selectingOpen Folder in Container

LICENSE

Copyright 2017 - 2020 Cerner Innovation, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


[8]ページ先頭

©2009-2025 Movatter.jp