Skip to content

Commit

Permalink
Merge pull request #3724 from NoelDeMartin/MOBILE-3371
Browse files Browse the repository at this point in the history
MOBILE-3371: Global Search
  • Loading branch information
dpalou authored Sep 14, 2023
2 parents 23f0d07 + 254dcb3 commit cbfc866
Show file tree
Hide file tree
Showing 83 changed files with 3,917 additions and 272 deletions.
8 changes: 7 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
module.exports = {
framework: '@storybook/angular',
addons: ['@storybook/addon-controls'],
addons: [
'@storybook/addon-controls',
'@storybook/addon-viewport',
'storybook-addon-designs',
'storybook-addon-rtl-direction',
'storybook-dark-mode',
],
stories: ['../src/**/*.stories.ts'],
}
5 changes: 5 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ import '!style-loader!css-loader!sass-loader!./styles.scss';

export const parameters = {
layout: 'centered',
darkMode: {
darkClass: 'dark',
classTarget: 'html',
stylePreview: true,
},
};
4 changes: 4 additions & 0 deletions .storybook/styles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
storybook-dynamic-app-root {
color: var(--ion-text-color);
}

.core-error-info {
max-width: 300px;
}
20 changes: 19 additions & 1 deletion .vscode/moodle.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"",
"@Component({",
" selector: '$2${TM_FILENAME_BASE}',",
" templateUrl: '$2${TM_FILENAME_BASE}.html',",
" templateUrl: '${TM_FILENAME_BASE}.html',",
"})",
"export class ${1:${TM_FILENAME_BASE}}Component {",
"",
Expand Down Expand Up @@ -110,6 +110,24 @@
],
"description": "[Moodle] Create a Pure Singleton"
},
"[Moodle] Events": {
"prefix": "maeventsdeclaration",
"body": [
"declare module '@singletons/events' {",
"",
" /**",
" * Augment CoreEventsData interface with events specific to this service.",
" *",
" * @see https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation",
" */",
" export interface CoreEventsData {",
" [$1]: $2;",
" }",
"",
"}"
],
"description": ""
},
"Innherit doc": {
"prefix": "inheritdoc",
"body": [
Expand Down
Loading

0 comments on commit cbfc866

Please sign in to comment.