Skip to content

Commit

Permalink
[INITIAL] Initial Commit (No code)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikRimington committed Sep 30, 2024
0 parents commit f1a4cad
Show file tree
Hide file tree
Showing 12 changed files with 547 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Contributing Guidelines

Contributions to this package are most welcome!

There is a test site in the solution to make working with this repository easier.

TODO: *instructions on how to log in to test site assuming you have committed a db with some content*
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "Bug report"
description: "File a bug report to help improve this package."
labels: "bug"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this issue as thoroughly as possible.
- type: input
id: "PackageVersion"
attributes:
label: "Which AccessibleMediaPicker version are you using?"
description: "Leave blank if you're not sure: the latest version will be assumed."
validations:
required: false
- type: input
id: "umbracoVersion"
attributes:
label: "Which Umbraco version are you using? For example: 10.4.0 - don't just write v10"
description: "Use the help icon in the Umbraco backoffice to find the version you're using."
validations:
required: true
- type: textarea
id: "summary"
attributes:
label: "Bug summary"
description: "Write a summary of the bug."
description: "Remember that you can format code and logs nicely with the `<>` button"
placeholder: >
Try to pinpoint it as much as possible.
Try to state the actual problem, and not just what you think the solution might be.
validations:
required: true
- type: textarea
attributes:
label: "Steps to reproduce"
id: "reproduction"
description: "How can we reproduce the problem on a clean AdminOnlyPackage + Umbraco install?"
placeholder: >
Please include any links, screenshots, stack-traces, etc.
validations:
required: true
- type: textarea
attributes:
label: "Expected result / actual result"
id: "result"
description: "What did you expect that would happen on your Umbraco site and what is the actual result of the above steps?"
placeholder: >
Describe the intended/desired outcome after you did the steps mentioned.
Describe the behaviour of the bug
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Feature request"
description: "Suggest an idea for this package."
labels: "enhancement"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest this feature request!
- type: textarea
id: "summary"
attributes:
label: "Feature summary"
description: "Write a brief summary of the feature"
validations:
required: true
- type: textarea
id: "details"
attributes:
label: "Additional details"
description: "Provide any additional details or comments about the feature you are suggesting"
validations:
required: false
33 changes: 33 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# AccessibleMediaPicker

![Logo](https://raw.githubusercontent.com/NikRimington/HCS.Media.AccessibleMediaPicker/develop/docs/img/logo.png)

[![Downloads](https://img.shields.io/nuget/dt/HCS.Media.AccessibleMediaPicker?color=cc9900)](https://www.nuget.org/packages/HCS.Media.AccessibleMediaPicker/)
[![NuGet](https://img.shields.io/nuget/vpre/HCS.Media.AccessibleMediaPicker?color=0273B3)](https://www.nuget.org/packages/HCS.Media.AccessibleMediaPicker)
[![GitHub license](https://img.shields.io/github/license/NikRimington/HCS.Media.AccessibleMediaPicker?color=8AB803)](../LICENSE)

This packge is an alternative to the core Umbraco v13 Media Picker (alias: MediaPicker3) which adds the ability to manage Alt Descriptions on the picked media and defined local crops.

This editor is backwards compatible with the existing property editor so it can easily be replaced in existing sites and, if no longer wanted, removed without compromising the core media data.

<!--
Including screenshots is a really good idea!
If you put images into /docs/screenshots, then you would reference them in this readme as, for example:
<img alt="..." src="https://github.com/NikRimington/HCS.Media.AccessibleMediaPicker/blob/develop/docs/screenshots/screenshot.png">
-->

## Installation

Add the package to an existing Umbraco website (v13) from nuget:

`dotnet add package HCS.Media.AccessibleMediaPicker`

## Contributing

Contributions to this package are most welcome! Please read the [Contributing Guidelines](CONTRIBUTING.md).

## Acknowledgments

Icon "Media" by M. Faisal from <a href="https://thenounproject.com/browse/icons/term/media/" target="_blank" title="Media Icons">Noun Project</a> (CC BY 3.0)
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release Package

# This action will start when a correctly formatted tag is pushed (e.g. 0.1.0)

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

jobs:
build:

runs-on: windows-latest

steps:

- name: Checkout repository
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

- name: Build project
run: dotnet build src\AccessibleMediaPicker\AccessibleMediaPicker.csproj --configuration Release

- name: Push to NuGet
run: dotnet nuget push **\*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
Loading

0 comments on commit f1a4cad

Please sign in to comment.