<commit_before>import { MenuedContextType } from './menued-context-type';
import { Injectable } from '@angular/core';
import { MenuItem } from './../models/menu-item';
import { ContextType, Contexts, ContextTypes, Context } from 'ngx-fabric8-wit';
import { cloneDeep } from 'lodash';

@Injectable()
export class MenusService {

  readonly menus: Map<ContextType, MenuItem[]>;

  constructor() {
    this.menus = new Map<ContextType, MenuItem[]>([
      [
        ContextTypes.BUILTIN.get('space'),
        [
          {
            name: '',
            path: 'settings',
            icon: 'pficon pficon-settings',
            menus: [
              {
                name: 'Areas',
                path: '',
                icon: '',
                menus: []
              },
              {
                name: 'Collaborators',
                path: 'collaborators'
              }
            ]
          }, {
            name: 'Analyze',
            path: ''
          }, {
            name: 'Plan',
            path: 'plan',
            menus: [
              {
                name: 'Backlog',
                path: ''
              }, {
                name: 'Board',
                path: 'board'
              }
            ]
          }, {
            name: 'Create',
            path: 'create',
            menus: [
              {
                name: 'Codebases',
                path: ''
              },
              {
                name: 'Pipelines',
                path: 'pipelines'
              }
            ]<commit_msg>fix(environments): bring it back<commit_after>import { MenuedContextType } from './menued-context-type';
import { Injectable } from '@angular/core';
import { MenuItem } from './../models/menu-item';
import { ContextType, Contexts, ContextTypes, Context } from 'ngx-fabric8-wit';
import { cloneDeep } from 'lodash';

@Injectable()
export class MenusService {

  readonly menus: Map<ContextType, MenuItem[]>;

  constructor() {
    this.menus = new Map<ContextType, MenuItem[]>([
      [
        ContextTypes.BUILTIN.get('space'),
        [
          {
            name: '',
            path: 'settings',
            icon: 'pficon pficon-settings',
            menus: [
              {
                name: 'Areas',
                path: '',
                icon: '',
                menus: []
              },
              {
                name: 'Collaborators',
                path: 'collaborators'
              }
            ]
          }, {
            name: 'Analyze',
            path: ''
          }, {
            name: 'Plan',
            path: 'plan',
            menus: [
              {
                name: 'Backlog',
                path: ''
              }, {
                name: 'Board',
                path: 'board'
              }
            ]
          }, {
            name: 'Create',
            path: 'create',
            menus: [
              {
                name: 'Codebases',
                path: ''
              },
              {
                name: 'Pipelines',
                path: 'pipelines'
              },
              {
                name: 'Environments',
                path: 'environments'
              }
            ]
{'fraction_non_alphanumeric': 0.1267431050511311, 'fraction_numerical': 0.0006197706848466068, 'mean_word_length': 0.9925925925925926, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2207670', 'n_tokens_mistral': 873, 'n_tokens_neox': 830, 'n_words': 167}