Skip to content

Commit

Permalink
Small updates (#715)
Browse files Browse the repository at this point in the history
* chore: Remove unused npmrc file and update FormSectionStatusIcon component

* docs: add conventional commit to readme
  • Loading branch information
vincentauger authored Aug 9, 2024
1 parent 42a388b commit f3144a0
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,38 @@ Some helper libraries of note here:
- [PHP 8.3](https://www.php.net/)
- [Laravel](https://laravel.com/) (framework)
- [Laravel Sanctum](https://laravel.com/docs/9.x/sanctum) (auth)

## Contributions

All changes must be done via a PR to the `main` branch. PR should be descriptive and provide
reference to any issues as required.

For commits, messages, use [Coventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)

The commit message should be structured as follows:

```text
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```

### Commit Types

```js
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
```
6 changes: 6 additions & 0 deletions resources/src/components/FormSectionStatusIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const icon = computed(() => {
return 'mdi-checkbox-blank-circle-outline'
case 'error':
return 'mdi-alert-circle-outline'
default:
return 'mdi-checkbox-blank-circle-outline'
}
})
Expand All @@ -26,6 +28,8 @@ const color = computed(() => {
return 'primary'
case 'error':
return 'red'
default:
return 'primary'
}
})
Expand All @@ -37,6 +41,8 @@ const tooltip = computed(() => {
return t('form-section-status.section-incomplete')
case 'error':
return t('form-section-status.section-error')
default:
return ''
}
})
</script>
Expand Down

0 comments on commit f3144a0

Please sign in to comment.