Git Product home page Git Product logo

mdprofiles's Introduction

mdProfiles

This repository contains the core profiles for use in the mdEditor.

Resources - resources/

The schema definition for a profile is resources/profile-schema.json

The mapping for the schema is resources/full-map.json

The manifest file is resources/manifest.json which is a list of the core profiles and their urls'

The file profiles-list.json is used with mdEditor v1.0.x and will be removed when updated to v1.1.x

Profiles - resources/profiles/

There are 4 core profiles

  • basic
  • full
  • product
  • project

mdprofiles's People

Contributors

dependabot[bot] avatar hmaier-fws avatar jlblcc avatar jwaspin avatar timothypage avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mdprofiles's Issues

Split Profiles List into Core and Others

Recent changes have caused mdEditor to be specific to the NGGDPP environment, rather than being a general tool. This issue is about splitting the core profiles from the extra profiles that will be part of the NGGDPP environment.

The end result of this should be 2 files: coreProfiles.json and nggdppProfiles.json

They should be formatted the same as profiles-list.json.

This is an intermediate step in the process of removing NGGDPP from the core/default mdEditor environment.

This issue will require changes to the mdEditor to support a secondary url for the NGGDPP profiles to be loaded.

Add version numbers to default profiles

The current default profiles (basic, full, project, product) do not have version numbers. They are all currently listed as "VERSION". Prior to next merge to master set all versions to 1.0.0 (or whatever is appropriate).

Preventing extent from displaying

I have a profile and would like to prevent the extent (and keywords) tabs from showing up. I am trying to make this work with the extent first. I have

  1. removed extent from the nav section and
  2. set the extent section to false in the json, i.e. "extent": false,

but the tab still shows up. Also, if you select the tab, the whole extent section shows up in the editor...

I seem to be missing something very simple...

The profile is at https://raw.githubusercontent.com/tedhabermann/NDC_Profiles/main/BOEM_Template.json

Deprecate creation of NPM mdprofiles package

There may no longer be a need for the NPM mdprofiles package. The new workflow is evaluating the use of jsDelivr which will cache the information from some authoritative source (e.g. GitHub repository). The last NPM package created was mdProfiles version 0.2.5-rc1

mdProfiles has been removed as an npm module dependency from mdEditor in the version using dynamic/custom profiles. I'm pretty sure that the only change in this commit that will actually do anything is to the file /resources/profiles/full.json. Unless this module is being used outside of mdEditor, then the files related to packing this as an npm module can be removed.

I just wanted to point that out, it's not a concern and will not cause any issues.

Originally posted by @jwaspin in #29 (comment)

Remove NGGDPP Profiles

Reverting back to having mdProfiles only supporting the core profiles, so NGGDPP profiles need to be removed.

Add Version Numbers to Default Profiles

The current default profiles do not have version numbers. They are all currently listed as "VERSION". Update version numbers for:

  • basic
  • full
  • product
  • project

Use version 1.0.0

Update GitHub Pages Documentation

The current documentation references an older version of the schema.

There may be other details that need updating but the existing profiles are still the same ones, not sure if they changed internally.

Create configuration file to define default profiles

Create a configuration file that can be used by the mdEditor to specify the default set of profiles (profiles-list.json?)

This will be required to support adiwg/mdEditor#550.

The documentation should be updated to describe the format of the configuration file and how to configure the mdEditor to use the file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.