Skip to content

Commit 842df1d

Browse files
#26388 added issues templates, changelog, licens, dependabot, and changelog checker
1 parent bd5b336 commit 842df1d

11 files changed

+332
-222
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: "Bug report"
3+
about: Report reproducible software issues, so we can improve
4+
5+
---
6+
7+
Welcome to the Plugin for Custom links GitHub repo!
8+
9+
For questions related to the plugin creation process, please check out docs at https://flotiq.com/docs/panel/PluginsDevelopment/plugins/
10+
11+
For support, help, questions, requests and ideas use https://discord.gg/FwXcHnX
12+
13+
### Issue Summary
14+
15+
A summary of the issue and the browser/OS environment in which it occurs.
16+
17+
### To Reproduce
18+
19+
1. This is the first step
20+
2. This is the second step, etc.
21+
22+
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
23+
24+
### Technical details:
25+
26+
* Next.js Version:
27+
* Node Version:
28+
* OS:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: "Anything else"
3+
about: "For help, support, features & ideas - please use https://discord.gg/FwXcHnX"
4+
5+
---
6+
7+
Click "Preview" for a nicer view!
8+
9+
For support, help, questions, requests and ideas use https://discord.gg/FwXcHnX
10+
11+
Alternatively, check out these resources below. Thanks!
12+
13+
- [Discord](https://discord.gg/FwXcHnX)
14+
- [Plugin Docs](https://flotiq.com/docs/panel/PluginsDevelopment/plugins/)

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: '/'
5+
schedule:
6+
interval: 'monthly'

.github/workflows/changelog.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Changelog and Version
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- main
8+
9+
jobs:
10+
check-changelog:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 100
16+
- uses: flotiq/[email protected]
17+
with:
18+
changelog_file: CHANGELOG.md
19+
version_file: package.json
20+
check-changelog-plugin-manifest:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 100
26+
- uses: flotiq/[email protected]
27+
with:
28+
changelog_file: CHANGELOG.md
29+
version_file: src/plugin-manifest.json

.github/workflows/pull_requests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR workflow
2+
on: pull_request
3+
4+
permissions:
5+
pull-requests: write
6+
7+
jobs:
8+
dependabot:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
repository-projects: write
14+
if: github.actor == 'dependabot[bot]'
15+
steps:
16+
- name: Dependabot metadata
17+
id: metadata
18+
uses: dependabot/fetch-metadata@v1
19+
with:
20+
github-token: "${{ secrets.GITHUB_TOKEN }}"
21+
- name: Approve a PR
22+
run: gh pr review --approve "$PR_URL"
23+
env:
24+
PR_URL: ${{github.event.pull_request.html_url}}
25+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# CHANGELOG
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.1.0]
9+
### Added
10+
* Changelog
11+
* Issue templates
12+
* Dependabot
13+
* Collaboration section in readme
14+
* License
15+
* GitHub check actions

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2025 Flotiq team
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

Readme.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<a href="https://flotiq.com/">
2+
<img src="https://editor.flotiq.com/fonts/fq-logo.svg" alt="Flotiq logo" title="Flotiq" align="right" height="60" />
3+
</a>
4+
15
# About plugin
26

37
This plugin will display a button with a link in the content edit object. The link will be supplemented with data from the currently edited object. Thanks to this link, you will be able to easily access the preview of where the content will be used.
@@ -73,4 +77,10 @@ The plugins are built into a single `dist/index.js` file. The manifest is copied
7377

7478
1. Open Flotiq editor
7579
2. Add a new plugin and paste the URL to the hosted `plugin-manifest.json` file
76-
3. Navigate to the view that is modified by the plugin
80+
3. Navigate to the view that is modified by the plugin
81+
82+
## Collaborating
83+
84+
If you wish to talk with us about this project, feel free to hop on our [![Discord Chat](https://img.shields.io/discord/682699728454025410.svg)](https://discord.gg/FwXcHnX).
85+
86+
If you found a bug, please report it in [issues](https://github.com/flotiq/flotiq-ui-plugin-custom-links/issues).

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"type": "module",
3+
"license": "MIT",
34
"scripts": {
45
"build": "node esbuild.config.js",
56
"start": "node esbuild.config.js --watch"
@@ -9,11 +10,11 @@
910
"esbuild": "^0.20.0",
1011
"esbuild-plugin-eslint": "^0.3.7",
1112
"esbuild-plugin-inline-import": "^1.0.4",
12-
"eslint": "^8.56.0",
13-
"eslint-config-prettier": "^9.1.0",
14-
"postcss": "^8.4.35",
13+
"eslint": "^9.22.0",
14+
"eslint-config-prettier": "^10.1.1",
15+
"postcss": "^8.5.3",
1516
"postcss-url": "^10.1.3",
16-
"prettier": "^3.1.1"
17+
"prettier": "^3.5.3"
1718
},
1819
"dependencies": {
1920
"chalk": "^5.3.0",

plugin-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "flotiq.custom-links",
33
"name": "Custom Links",
4-
"version": "1.0.3",
4+
"version": "1.1.0",
55
"description": "This plugin will display a button with a link in the edit content object. The link will be supplemented with data from the currently edited object. Thanks to this link, you will be able to get easy access to the preview of where the content is used.",
66
"repository": "https://github.com/flotiq/flotiq-ui-plugins-custom-links",
77
"url": "https://localhost:3053/index.js",

0 commit comments

Comments
 (0)